Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to load the repository(PyDev for eclipse)

I encountered the problem. When i am trying to create new PyDev project, an error occurs:

Error:

Unable to load the repository http://pydev.org/updates 

Unknown Host: http://pydev.org/updates/content.xml 

When I open this link(http://pydev.org/updates) in my browser, it redirects me here - http://pydev.org/updates/content.xml

So i understand Eclipse cannot find the repository because there's nothing to look at this link... Does anybody know how to solve this problem?

Update:
I installed PyDev as described at PyDev Manual (Help-Install New software-and so on...)

like image 783
Zbot Avatar asked Apr 19 '11 10:04

Zbot


People also ask

Why is PyDev not showing in Eclipse?

it seems that you installed pydev with wrong version. remember check your java version(by typing java -version in console). if it says 1.6. X, then you should NOT check "Show only the latest versions of available softerware" option in the first popup window after "Help->Install New Software" clicked.

How do I open PyDev project in Eclipse?

Go to Window → Open Perspective → Other and choose PyDev, then click OK. If you look at the upper right corner you will see that the perspective has changed from "Java" to "PyDev".

How do I know if PyDev is installed?

You can verify if it is correctly installed going to the menu 'window > preferences' and checking if there is a PyDev item under that.


3 Answers

If the url doesn't work directly, you may visit the update site in the browser (i.e.: http://www.pydev.org/updates/) and check the note to where it does redirect.

The current url it redirects to is http://dl.bintray.com/fabioz/pydev/5.8.0/ but it changes at each release, so, you may want to check the current release and update the version accordingly.

For older versions, it's possible to visit (in the browser) http://www.pydev.org/update_sites/ and check the existing update site urls (again, you may visit the update site url to see where it does redirect to and use that directly).

Notes:

  • the redirects are to https, but some users seem to experience issues with it, so, using http may be an option.
  • check your firewall to see if it's not blocking eclipse.
  • if you're under a vpn, you may want to check if it's blocking something (i.e.: maybe try without the vpn).
like image 59
Shams Avatar answered Oct 31 '22 18:10

Shams


Now http://www.pydev.org/updates points to current version of Pyded: https://dl.bintray.com/fabioz/pydev/5.3.1/

But this link won't work unless you change the protocol to http instead of https. So, the working link is:

http://dl.bintray.com/fabioz/pydev/5.3.1/

like image 23
Hunting Avatar answered Oct 31 '22 20:10

Hunting


i had the same problem. I was behind a proxy and once i set the proxy (as described here: http://www.mkyong.com/web-development/how-to-configure-proxy-settings-in-eclipse/) it worked. Not sure if you have the same problem though.

like image 35
matze999 Avatar answered Oct 31 '22 19:10

matze999