Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » Cannot import (local) Git repository
Cannot import (local) Git repository [message #1725445] Thu, 03 March 2016 09:47 Go to next message
Eclipse UserFriend
Hello,

I am using Linux Ubuntu 15.04, Eclipse 4.5.2 (Mars.2) and EGit 4.1.1.

I don't succeed to clone a Python repository from EGit through SSH.

Here are the steps :

1. Import...
2. Git / Projects from Git
3. Existing local repository
4. Import using the New Project wizard
5. Finish
6. PyDev Project
7. Setting project name, interpreter...
8. Next -> Finish

Then I get an error Windows :
Connecting Git team provider failed. See log for details.
org.eclipse.core.runtime.CoreException


Here is the log from .metadata/.log :

!ENTRY org.eclipse.egit.ui 4 0 2016-03-03 15:22:37.832
!MESSAGE Connecting Git team provider failed. See log for details.
!STACK 1
org.eclipse.core.runtime.CoreException: Connecting Git team provider failed. See log for details.
	at org.eclipse.egit.core.op.ConnectProviderOperation.execute(ConnectProviderOperation.java:111)
	at org.eclipse.egit.ui.internal.clone.GitImportWizard$8.run(GitImportWizard.java:286)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2225)
	at org.eclipse.egit.ui.internal.clone.GitImportWizard.importProjects(GitImportWizard.java:291)
	at org.eclipse.egit.ui.internal.clone.GitImportWizard.access$2(GitImportWizard.java:235)
	at org.eclipse.egit.ui.internal.clone.GitImportWizard$4.run(GitImportWizard.java:205)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Contains: Error connecting project DevTools, no Git repositories found
!SUBENTRY 1 org.eclipse.egit.core 4 0 2016-03-03 15:22:37.832
!MESSAGE Connecting Git team provider failed. See log for details.
!SUBENTRY 2 org.eclipse.egit.core 4 0 2016-03-03 15:22:37.834
!MESSAGE Error connecting project DevTools, no Git repositories found


When I import as a General Project (instead of a PyDev project), it does work...


[Updated on: Thu, 03 March 2016 09:48] by Moderator

Re: Cannot import (local) Git repository [message #1725452 is a reply to message #1725445] Thu, 03 March 2016 10:16 Go to previous messageGo to next message
Eclipse UserFriend
This could have been caused by corrupt workspace metadata, can you try the same using a fresh new workspace ?
Re: Cannot import (local) Git repository [message #1725457 is a reply to message #1725452] Thu, 03 March 2016 10:35 Go to previous messageGo to next message
Eclipse UserFriend
Just did it.
Same result.
Re: Cannot import (local) Git repository [message #1727044 is a reply to message #1725457] Fri, 18 March 2016 08:34 Go to previous messageGo to next message
Eclipse UserFriend
Which Eclipse package are you using (JEE, Java, PyDev ...) ?
Is this repository public so that I can try to reproduce your problem ?
Re: Cannot import (local) Git repository [message #1727570 is a reply to message #1727044] Thu, 24 March 2016 00:03 Go to previous messageGo to next message
Eclipse UserFriend
Matthias Sohn wrote on Fri, 18 March 2016 12:34
Which Eclipse package are you using (JEE, Java, PyDev ...) ?
Is this repository public so that I can try to reproduce your problem ?


I'm getting this same issue. I'm using the Java package and Eclipse Version: Mars.2 Release (4.5.2).

Just like OP, it's a local repository on my computer.

Re: Cannot import (local) Git repository [message #1727849 is a reply to message #1725445] Mon, 28 March 2016 10:25 Go to previous messageGo to next message
Eclipse UserFriend
I got the same problem, I am using pydev, and repository is private
Re: Cannot import (local) Git repository [message #1728285 is a reply to message #1725445] Fri, 01 April 2016 11:55 Go to previous messageGo to next message
Eclipse UserFriend
I have this problem and the repository is public.
Re: Cannot import (local) Git repository [message #1729142 is a reply to message #1728285] Mon, 11 April 2016 09:54 Go to previous messageGo to next message
Eclipse UserFriend
the same problem, PHP-Eclips: Eclipse 4.5.2 (Mars.2)
Re: Cannot import (local) Git repository [message #1729411 is a reply to message #1729142] Wed, 13 April 2016 18:33 Go to previous messageGo to next message
Eclipse UserFriend
I installed pydev into Eclipse Committer package 4.5.2 and could reproduce the problem.
Will try to debug this
Re: Cannot import (local) Git repository [message #1733773 is a reply to message #1729411] Tue, 31 May 2016 11:51 Go to previous messageGo to next message
Eclipse UserFriend
Has there been any progress with this? I am trying to do with with C++ projects in Mars 2. If I check in the .project files everything works correctly, but I would rather not check in the .project files into GIT.
Re: Cannot import (local) Git repository [message #1740487 is a reply to message #1733773] Sun, 14 August 2016 15:22 Go to previous messageGo to next message
Eclipse UserFriend
Found a work around that did the trick for me. In a StackOverflow post called "Importing a GitHub project into Eclipse" Last answer. (Sorry my first time posting so the URL was blocked)

"1. Add or create git repository in git view.
2. Click new java project menu, uncheck "use default location", select the git repo location, click finish."

That person was onMars.2 Release (4.5.2). I am on Version: Neon Release (4.6.0) Build id: 20160613-1800 and I am using PyDev and the project is a Google App Engine project.

The project runs now from within Eclipse under the GAE local host and the git functionality via Eclipse is working.
Re: Cannot import (local) Git repository [message #1764009 is a reply to message #1725445] Tue, 23 May 2017 18:04 Go to previous messageGo to next message
Eclipse UserFriend
Looks like it is still an issue in Neon (Neon / Scala IDE)
Re: Cannot import (local) Git repository [message #1764011 is a reply to message #1740487] Tue, 23 May 2017 18:30 Go to previous message
Eclipse UserFriend
the workaround still works in neon. Someone really needs to fix this though, Its been broken for a long time now!
Previous Topic:How to replace local branch with remote branch
Next Topic:EGit crash after update Eclipse Mars
Goto Forum:
  


Current Time: Sun Jul 13 15:41:20 EDT 2025

Powered by FUDForum. Page generated in 0.21325 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top