Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Cannot import (local) Git repository
Cannot import (local) Git repository [message #1725445] Thu, 03 March 2016 14:47 Go to next message
Harry Houdini is currently offline Harry HoudiniFriend
Messages: 142
Registered: February 2010
Senior Member
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 14:48]

Report message to a moderator

Re: Cannot import (local) Git repository [message #1725452 is a reply to message #1725445] Thu, 03 March 2016 15:16 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1026
Registered: July 2009
Senior Member
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 15:35 Go to previous messageGo to next message
Harry Houdini is currently offline Harry HoudiniFriend
Messages: 142
Registered: February 2010
Senior Member
Just did it.
Same result.
Re: Cannot import (local) Git repository [message #1727044 is a reply to message #1725457] Fri, 18 March 2016 12:34 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1026
Registered: July 2009
Senior Member
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 04:03 Go to previous messageGo to next message
Don Rhummy is currently offline Don RhummyFriend
Messages: 1
Registered: March 2016
Junior Member
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 14:25 Go to previous messageGo to next message
yuan xin is currently offline yuan xinFriend
Messages: 1
Registered: March 2016
Junior Member
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 15:55 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 6
Registered: April 2010
Junior Member
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 13:54 Go to previous messageGo to next message
Eugene Krylov is currently offline Eugene KrylovFriend
Messages: 2
Registered: March 2016
Junior Member
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 22:33 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1026
Registered: July 2009
Senior Member
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 15:51 Go to previous messageGo to next message
mtthws lastName is currently offline mtthws lastNameFriend
Messages: 3
Registered: May 2016
Junior Member
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 19:22 Go to previous messageGo to next message
John Delaney is currently offline John DelaneyFriend
Messages: 1
Registered: August 2016
Junior Member
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 22:04 Go to previous messageGo to next message
Andrew Norman is currently offline Andrew NormanFriend
Messages: 7
Registered: May 2017
Junior Member
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 22:30 Go to previous message
Andrew Norman is currently offline Andrew NormanFriend
Messages: 7
Registered: May 2017
Junior Member
the workaround still works in neon. Someone really needs to fix this though, Its been broken for a long time now!
Previous Topic:Modify commit message from Eclipse plugin
Next Topic:EGit crash after update Eclipse Mars
Goto Forum:
  


Current Time: Fri Jun 22 11:39:54 GMT 2018

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

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

Back to the top