Has problem in Installing PyDev into Eclipse - eclipse

I tried to install PyDev into Eclipse, when I tried to install new software with this site : http://www.pydev.org/update, it complains unable to read repository. I tried to go the page
http://www.pydev.org/update and click the links on this page, it returns 404 page error. Does anybody why? How can I install PyDev into Eclipse?
Thanks,
Josephine

https://github.com/fabioz/Pydev/releases/download/pydev_8_3_0/ is where it links today, and that link goes to a 404 error page...

I get the same issue - fails trying in install via Marketplace. The links all 404 error. In the PyDev installation troubleshooting (https://www.pydev.org/manual_101_install.html), it mentions:
Unable to load repository
While most times things work as explained, some users may have messages such as:
Unable to load the repository http://pydev.org/updates
Unknown Host: http://pydev.org/updates/content.xml
This means there's some issue accessing the update site in your current connection.
In that case, you can try using a direct URL for the download (all the http://pydev.org/updates/ URLs are actually redirects to the final location). Currently, those redirects point to links on http://bintray.com, so, you can visit the related update site page (such as http://pydev.org/updates) in a browser and see to where it's being redirected (you may want to try that direct link with http or https to see if it makes a difference in your use case).
If they ARE redirecting to Bintray, it has been sunset according to JFrog: https://bintray.com
That said, I was able to install PyDev manually using the ZIP on SourceForge: https://sourceforge.net/projects/pydev/files/pydev/
Download and extract the zip, then copy the entire folder to the Eclipse 'dropins' dir (not 'plugins'). On Mac OS, open the Eclipse.app package contents, then copy the unzipped dir, and you should end up with:
Eclipse.app
Contents
Eclipse
dropins
PyDev
features
plugins
Then launch Eclipse. Rather than using Finder, I launched it from Terminal w/ the -clean option to try to refresh the installed plugins:
/Applications/Eclipse.app/Contents/MacOS/eclipse -clean
I didn't see "PyDev" in the toolbar like I'm used to, but PyDev is in Eclipse Preferences, so I set PyDev > Debug > Remote debugger server activation="Start when the plugins is started", and relaunched Eclipse. So far, so good...

Related

Unable to download the groovy eclipse plugin

Unfortunately I am not able to download the groovy eclipse plugin via the URL http://dist.springsource.org/snapshot/GRECLIPSE/e4.5/. The download will be executed without error but the file downloaded has always 0 Bytes as result. The name of the file downloaded is e4 or very cryptic. It occurrs on different accounts, with different providers and different PCs.
That is an eclipse update site. I guess you are trying to put that URL in the browser. They are not supposed to be used in the browser, but rather through eclipse.
Open eclipse, go to Help > Install New Software... and paste that URL in the Work with: field.
More info update sites can be found here.

plug-in org.eclipse.m2e.core.ui was unable to load class

I had made an maven project and it worked fine.
Then I installed plugins
EclEmma Java Code Coverage,
PHP Development Tools (PDT),
Eclipse.orgSonarQube
Then I worked on some other project. When I again wanted to create an maven project,it threw the following error window which said
The selected wizard could not be started
reason
plug-in org.eclipse.m2e.core.ui was unable to load class
org.eclipse.m2e.core.ui.internal wizards.MavenProjectWizard
Removed SonarQube plugin .This solved the issue.
Now it works all fine.
But is there any other solution to this problem since I have to use sonar.
Click on eclipse help tab and open installation details search sonar and remove all related plugins.
That's not quite the right characterization of what it says on the page,Please check your .log file /path/workspace/.metadata/
Find the correct plugin which is causing this problem and update to compatible version of the plugin with eclipse version.
To find the hidden files in the workspace use Ctrl+H
I had the same problem, and I've tried so many solutions. But what I did to solve the problem, is that I just upgraded my Eclipse IDE (2019-06 to 2020-03) by following these steps (from https://wiki.eclipse.org/FAQ_How_do_I_upgrade_Eclipse_IDE%3F) :
You first need to add the new release's repository as follows:
1-1. Window > Preferences > Install/Update > Available Software Sites
1-2. Click 'Add'
1-3. Enter the URL https://download.eclipse.org/releases/2020-03/
1-4. Click 'Ok'
Help > Check for Updates
If updates are found, proceed through the install wizard and restart the IDE when
prompted. Otherwise, read carefully the error message to find out which component
is conflicting and establish your resolution strategy.
Note that the start splash screen may be cached and will not necessarily be
updated to the latest version after the IDE is restarted. Performing a full
relaunch should display the new version number.

Unable to read repository at http://beust.com/eclipse

Eclipse for Testers
Version: Indigo Release
Build id: 20110615-0604
I try to install TestNG but below error appeared.
"
Unable to read repository at http://beust.com/eclipse.
http://beust.com/eclipse is not a valid repository location.
"
Kindly Resolve the problems
This is because http://beust.com/eclipse is redirecting to http://dl.bintray.com/testng-team/ and Eclipse software seems to be not handling this URL redirection as intended.
If you add the URL as http://dl.bintray.com/testng-team/testng-eclipse-release/ then this will work OK.
I added one "/" to the end: http://beust.com/eclipse/, then it works. If you use RAD 8+, navigate from Windows -> Preferences -> General -> Network Connections, make sure you have correct settings here, for me I have to change the setting from Native to Direct.
Disconnect from your company's intranet network and connect to your network (Like mobile hotspot or home wifi). Try install then. Worked for me.
You can try below link
https://www.techbeamers.com/install-testng-in-eclipse-ide/
The URL for downloading the Zip file is for version 6.11 in the above link. If you need a higher version try
http://dl.bintray.com/testng-team/testng-eclipse-release/zipped/
It doesn't work for Eclipse Neon at all. You can try to download the zipped archive file and add the 'update site' as an archive file from the file system.
> Install TestNG In Eclipse IDE Via Offline Jar Files
Download the latest TestNG Jar files from the link TestNg Jars
Go to the eclipse installation directory and look for the “dropins” folder there.
Create a folder inside the dropins folder and name it as “testng-eclipse-6.11“
Extract the “site_assembly.zip” file and copy its contents to the newly created “testng-eclipse-6.11” directory.
Restart Eclipse
source: techbeamers
Make sure you don't have a space character before or after the entry in the "Work with" field as you try to add the software site.
Other than that, the software site is perfectly valid. Perhaps the server was just down at the time you tried it. You could also check to verify that there is no proxy or firewall filtering on your end. Try pinging the site or accessing it in some other way. If Eclipse can't talk to the site, it has no way of knowing that it is valid.
Make sure you are connected to the Internet
Key in the exact URL - http://beust.com/eclipse/
I tried Network connections -> Change native to manual -> Selected Socks and clicked on clear then I tried to install the TestNG plugin from install new software and add the URL. while installing eclipse was asking to sign in but I clicked on ok every time and installation were completed.
I tried many steps editing the eclipse.ini file etc and changing native to direct. None of those steps worked for me
Try below steps:-
Ping the URL in CMD to check if there are any loss of data packets.
So you will get clarity it is problem with your network or not ,try with different network.
Many times your antivirus or firewall block the incoming network so disable them temporarily and try.
To resolve this issue.
GO to Eclipse installed folder
Edit eclipse.ini file and insert
-Djava.net.preferIPv4Stack=true
at the end of that file. Restart the eclipse.
The given link is https://beust.com/eclipse
remove "s" from https & try with link http://beust.com/eclipse
I was using "http://beust.com/eclipse/" but unable to download TestNG jar it is showing no contents.
If you will use this URL "http://dl.bintray.com/testng-team/testng-eclipse-release/" then you will able to download, it worked for me.
Just install TestNG from below URL and no such issue will occur at latest eclipse releases:
http://dl.bintray.com/testng-team/testng-eclipse-release/
The above link didn't work it means you need a higher version of TestNG for the eclipse. Before that check TestNG is installed or not in order to know that press CTRL+N in the wizard you can see TestNG class file name.
If it is not displaying then try installing TestNG In Eclipse IDE Via Offline Jar Files:
1)Download the latest TestNG Jar files from the link TestNg Jars ("https://github.com/cbeust/testng-eclipse")
2)Download TestNG 6.11, Clicking on the link will download the “site_assembly.zip” file for the TestNG version 6.11. This file contains two folders named as “features” and “plugins“.Go to the eclipse installation directory and look for the “dropins” folder there.
3)Create a folder inside the dropins folder and name it as “testng-eclipse-6.11“
4)Extract the “site_assembly.zip” file and copy its contents to the newly created “testng-eclipse-6.11” directory.
5)Restart Eclipse
OR
Go click on Help> Install new Software> Under Available software> Work with textbox paste this "2019-06 - http://download.eclipse.org/releases/2019-06" and then click on ADD. You will now see the files like TestNG and a lot many others. Select TestNG click on Next> Next> Accept the condtions> Finish. It will restart the eclipse. Inorder to know the installation is successful Press CTRL+N.

An error occurred while collecting items to be installed (Access is denied)

I'm getting the error given below when I try to install the upgrade from Eclipse and it goes like half way and then throw the error.
An error occurred while collecting items to be installed
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to write to repository: file:/C:/Program%20Files/eclipse/.
C:\Program Files\eclipse\plugins\org.jboss.netty_3.2.4.Final-201112281337.jar (Access is denied)
Kindly provide the solution.
Thanks
If you have problems using the location: http://dl-ssl.google.com/android/eclipse/,
try editing the location by replacing "http" with "https" or the other way round.
On Windows 7, the Program Files directory is protected so apps can't automatically write there. The simplest solution I've heard is just to install Eclipse into a user-writable location instead. For example, C:\Java\Eclipse
You should be able to just move your entire eclipse directory, there's no registry entries or anything else that ties Eclipse to the place where you extracted it.
[Edit]
Have you checked that the directory it is complaining about i actually writable? Other than that, I really don't have any ideas. I haven't worked on Windows in several years and never with Win7. My only other suggestion is to just download the latest Eclipse, install it to a new location (do NOT intall it over top of your existing Eclipse), and point it to your existing workspace.
I just solved this problem by unchecking Read only checkbox of the Program Files/eclipse folder on win7.
Apply to all files and folders.
I had also the ADT Bundle that had the HTTP as update url.
Changing it to HTTPS solved the problem for me.
None of the above worked for me.
Instead, I tried installing the plugins I needed via the Eclipse Market Place, and that worked without issue.
Click "Help" Menu.
Click "Eclipse Marketplace..." menu item.
Enter the name of the plugin you want.
Click "Install" when the plugin appears in the Marketplace List.
Restart Eclipse.
if you do not wish to change the eclipse directory, then start eclipse as administrator (right click run as administrator) and install the feature again. it worked for me.
I got this error on my ubuntu box until I ran eclipse as root and installed from there:
$ gksudo eclipse
Eclipse was trying to download the packages to /usr/lib/* where I don't have write permissions
Changing from https:// to http:// worked for me
Installig Eclispe ADT from market place solved this problem for me.
I solved the problem very easily.
Go to Control Panel -> Network and Sharing Center -> Windows Firewall -> Turn off Windows Firewall
And try to install again and see the magic :)
In my case I entered:
Error Log - found "An error occurred while collecting items to be installed" - right click and select "Open Log". From there I know what goues wrong(in my case PMD). I solve the problem in one project and all works ok.
If there are any proxy networks are configured remove them till plugins are installed

Cannot "Install New Software" in Eclipse 3.5

I have just installed Eclipse 3.5 for Java EE developers ("Galileo").
I need to add an extra plugin, but when I select the "Install New Software ..." menu item, nothing happens. Literally nothing - no dialog opens, no error message is displayed. If I have the Debug window open, no message are displayed.
If I go to Preferences -> Install/Update -> Available Software Sites, that dialog opens OK, I can manage the list of update sites, and test the connections, and they all appear OK. But I cannot get to use them to actually install anything.
Is it just broken, or could there be something more subtle wrong?
Thanks.
Start by checking you error log under Window -> Show View -> Error Log. See if you're getting any exception while trying to install new software.
You can also install by downloading the plugin and unzipping it in the dropins folder.
I ran into the same problem. There seems to be a bug related to the finish button (I am assuming this is the same problem you are experiencing). The way I got around it is by clicking on the finish button (or next, or whichever button is not working for you) and press the 'Enter' key. It's annoying. Seems to be an issue with how Eclipse is integrating with GTK.
I had the same problem, took a look at the error log and changed the launcher from "/usr/bin/eclipse" to "sudo /usr/bin/eclipse", it was a permissions thing...
GDK_NATIVE_WINDOWS=true also solved the non-clickable button problem for me running gnome 2.28.1 with Ubuntu Karmic (9.10) x64 with kernel 2.6.31-14-generic
To resolve this problem, I did the following:
Placed my copy of Eclipse in the trash
Emptied my trash
Rebooted my computer
Downloaded the latest version of Eclipse (which was Indigo at the time of writing)
Placed the .zip file in my applications folder
Double-clicked on the compressed zip to open it (I'm using Mac OS X.6)
The problem disappeared. I am now able to do Help/Install new software....
I suggest to use Eclipse Indigo (Eclipse 3.7) which contains EGit already.
Something you can try:
Delete (rename/move) your workspace and try again. Be sure to backup all your projects and settings.
Download the plugin "manually" and use Eclipse>Window>Preferences>Install/Update>Available Software Sites to add it locally.
Download the plugin "manually" and use Eclipse>Window>Help>Software Updates>Available Software>Add site>Archive, find the directory on your HDD and add it.
I had the same problem in windows... and spent couple of hours to "somehow" install the new softwares.
Anyway I will explain you how I managed to install it after trying many options..
Start a fresh copy of eclipse
First tick two check boxes(Show only latest version & Contact all update sites). Make sure the check box of group items is untick.
Try to add software...
If not showing the list of plugins/Next buttons.
Delete the copy of eclipse.
Start a fresh copy of eclipse
Tick only the check box for Contact all update sites.
Now try to add plugins. It worked for me...
Even if it sounds crap... it worked for me..
If none of the solutions above work for you, simply change the workspace to another location. If the list of items appears properly then there's probably something screwed up in the workspace and not Eclipse. Hope this helps.
I actually just had a similar problem and wanted to offer the solution that worked for me. This was not a permissions thing. To solve that I always install eclipse as my user in my local directory (e.g. /home/[user]/local/eclipse-3.7.2) and then you never have permission issues.
Setup: Go to Help -> Install New software -> Available Software Sites (to add new site)
Symptom: Try to add a new site. After hitting enter or clicking finish the site shows up in the list of available sites. Click Okay to go back to the install new software and the site is not available in the drop down. Go back to Available sites and the site is gone.
Fix: After adding the site click on the reload button while the new site is highlighted (before clicking Ok to go back to the "Install new software screen"
This was occurring on Indigo SR2 (and has been happening for a while). I am running this on Linux Gtk -- but I don't see why this would be related.
Hope this helps!
Delete your ~/.eclipse folder and restart eclipse. This is the only thing that worked for me.
I had the exact the same problem. What I found out is that I installed the eclipse as root user. Therefore, I need to be a root user in order to launch "Install New Software".
just press enter after entering URL in "Install new software" window
I faced similar issue. To troubleshoot this issue follow these steps:
Go to windows -> show view -> error.
Check the error logs. In my case error was java.lang.IllegalStateException: Registry Directory not available. at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.restore
I checked my config.ini which is under eclipse -> configuration folder.
I found eclipse.p2.data.area has incorrect path set.
I set the correct path for above key and restarted eclipse. It started working.
Hope it helps
I have faced the same issue. To solve the problem, follow the following steps:
Window (Eclipse Menu) -> Show View -> Error Log
if Error Log is not there, then:
Window (Menu) -> Show View -> Other -> General -> Error Log
Once the Error log is shown, Go to Help (Eclipse Menu) -> Install New Software
Check the Error log, most probable you will see an exception there.
Check the exception, most probable it's caused by java.lang.IllegalStateException
Check the path mentioned in the exception, if you see ".Lock" in the path, close the eclipse then go to the path in windows machine and delete that folder.
now go to the eclipse "exe" file that you're using and open it as an administrator, then try, most probably this will solve the issue.
I`m wondering if this help you.
Let me know if you have any queries.