Python Linux Debugging in Eclipse (Indego 3.8 + Ubuntu 17) - pydev

I'm trying to setup the Python 2.7 Eclipse debugger on a fresh install of Ubuntu Linux 17.
For some reason it doesn't show up in the tool chain even after installing python in eclipse?
This is a fresh install of Eclipse on Ubuntu 17 and python seems to be working from the command line however, I did notice that pydb wasn't installed if that is required?
My error logs say this...
!ENTRY org.eclipse.equinox.p2.operations 4 0 2017-12-28 22:49:15.104
!MESSAGE Operation details
!SUBENTRY 1 org.eclipse.equinox.p2.operations 4 10050 2017-12-28 22:49:15.104
!MESSAGE Cannot complete the request. See the error log for details.
!SUBENTRY 1 org.eclipse.equinox.p2.operations 2 10005 2017-12-28 22:49:15.104
!MESSAGE "PyDev for Eclipse" will be ignored because it is already installed.
!SUBENTRY 1 org.eclipse.equinox.p2.operations 2 10005 2017-12-28 22:49:15.104
!MESSAGE "PyDev for Eclipse Developer Resources" will be ignored because it is already installed.

The usual culprit is having an old java vm there.
Make sure you take a look at http://www.pydev.org/manual_101_install.html to help you troubleshoot the issue.

There are a lot of settings that make it difficult to install eclipse as root user.
It maybe that the problem has to do with the Ubuntu Software Center not working good with the old version of Eclipse which it tries to install (Eclipse 3.8 and PyDev). The other point is one maybe needs to install PyDev as root user if you install it through the software center? For some reason PyDev wasn't able to find the correct version to install or that there was a root/local user conflict problem during install. So I just installed everything manually and it worked using the latest version of Eclipse rather then the Ubuntu Software Center configuration.
There maybe is a way to install it as root using the software center?

Related

Problem with installing plugins in Eclipse (installed requirements)

i´ve some trouble with installing a plugin in Eclipse. I´m using Quartus Prime Lite Edition (v. 18.1) NIOS II EDS (Eclipse Mars.2 Release (4.5.2)). This is a customized version from Intel for fpga programming.
My Problem:
When I try to install the plugin, it fails, because it could not find the installed requirements.
When I tried to install via "Install New Software" or via command line, i get the following message:
C:\Users\maemeba>"C:\intelFPGA_lite\18.1\nios2eds\bin\eclipse_nios2\eclipsec.exe" -nosplash -application org.eclipse.equinox.p2.director -repository http://welding1.wittag.net:9090/axivion/axivion-eclipse-plugin/repository -installIU com.axivion.aclipse.feature.feature.group
Installing com.axivion.aclipse.feature.feature.group 6.9.13.02186.
Installation failed.
Cannot complete the install because one or more required items could not be found. Software being installed: Axivion Eclipse Feature 6.9.13.02186 (com.axivion.aclipse.feature.feature.group 6.9.13.02186)
Missing requirement: Axivion Eclipse Feature 6.9.13.02186 (com.axivion.aclipse.feature.feature.group 6.9.13.02186) requires 'org.eclipse.equinox.p2.operations 2.1.0' but it could not be found
Application failed, log file location: C:\Users\maemeba\.altera.sbt4e\18.1.0.625-windows64\configuration\1579076958115.log
Logfile
I´ve checked, if the missing requirements are aviable, and they are there. See Eclipse Installed Details
The support for the Quartus product can't help me.
Do you know any solutions?
Many thanks,
kind regards
bastian7032

Cannot launch CDT: java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter

I am trying to use Eclipse CDT under Ubuntu 18.04 LTS.
I get the same error as many others, but I could not find a solution in what I read.
I try to launch with
$ eclipse &
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
and I get
/home/user1/.eclipse/org.eclipse.platform_3.8_155965261/configuration/1551271296090.log
When checking /usr/lib/eclipse/configuration/config.ini (as per this) I found the following lines (among others)
osgi.framework=file\:plugins/org.eclipse.osgi_3.8.1.dist.jar
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.301.dist.jar#1\:start
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.info
As for the first two lines, I have files
$ locate eclipse.osgi_
/usr/share/java/org.eclipse.osgi_3.8.1.dist.jar
$ locate simpleconfigurator_1
/usr/lib/eclipse/plugins/org.eclipse.equinox.simpleconfigurator_1.0.301.dist.jar
Nevertheless:
/usr/share/java/org.eclipse.osgi_3.8.1.dist.jar seems to belong to no package (a remnant of some old package?), since
$ apt-file search /usr/share/java/org.eclipse.osgi_3.8.1.dist.jar
gives no results.
I have ver 3.9.1
$ dpkg -l | grep libequinox-osgi-java
ii libequinox-osgi-java 3.9.1-1 all Equinox OSGi framework
$ dpkg -L libequinox-osgi-java
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libequinox-osgi-java
/usr/share/doc/libequinox-osgi-java/changelog.Debian.gz
/usr/share/doc/libequinox-osgi-java/copyright
/usr/share/java
/usr/share/java/org.eclipse.osgi-3.9.1.jar
/usr/share/maven-repo
/usr/share/maven-repo/org
/usr/share/maven-repo/org/eclipse
/usr/share/maven-repo/org/eclipse/osgi
/usr/share/maven-repo/org/eclipse/osgi/org.eclipse.osgi
/usr/share/maven-repo/org/eclipse/osgi/org.eclipse.osgi/3.9.1
/usr/share/maven-repo/org/eclipse/osgi/org.eclipse.osgi/3.9.1/org.eclipse.osgi-3.9.1.pom
/usr/share/maven-repo/org/eclipse/osgi/org.eclipse.osgi/debian
/usr/share/maven-repo/org/eclipse/osgi/org.eclipse.osgi/debian/org.eclipse.osgi-debian.pom
/usr/share/java/org.eclipse.osgi.jar
/usr/share/maven-repo/org/eclipse/osgi/org.eclipse.osgi/3.9.1/org.eclipse.osgi-3.9.1.jar
/usr/share/maven-repo/org/eclipse/osgi/org.eclipse.osgi/debian/org.eclipse.osgi-debian.jar
So I do not know if the problem is here.
How can I solve this?
Could not find an answer here
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891956
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898086
https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/1754886
https://ubuntu.pkgs.org/16.04/ubuntu-universe-i386/libequinox-osgi-java_3.8.1-8_all.deb.html
https://askubuntu.com/questions/1031171/eclipse-doesnt-start-on-ubuntu-18-04
You are probably using an older Eclipse version that does not work with Java 9 or higher:
If using Java 9 or newer please use Eclipse 4.7.1a or newer as it contains fixes in Eclipse launcher to add all JVM modules.
Do one of the following to solve the problem:
Use Java 8 to run Eclipse (a JRE/JDK can be put in the subfolder jre of your Eclipse installation or be specified in the eclipse.ini file)
Upgrade Eclipse (recommended).

Missing requirements installing software in Eclipse

I can successfully install the software in one PC but the other PC, I get this error
Cannot complete the install because one or more required items could
not be found. Software being installed: xxxxxxx() Missing requirement:
xxxxxx requires 'org.eclipse.equinox.p2.iu; org.eclipse.pde.ui 0.0.0'
but it could not be found.
I can't seem to point out the difference between the two environment.
Both are using Photon Release (4.8.0) with Java 8.

How to install VMware Workbench IS on eclipse

I have tried unsucessfully to install VMware Workbench IS 3.5.7 [3.5.7.4238219] from https://code.vmware.com/web/workbench/wbis/3.5 . I tried (Help => Install new software) with two different versions of eclipse, having two different errors:
1) eclipse package from Ubuntu
I installed eclipse package for Ubuntu 16.04.2 LTS (Version: 3.8.1 , Build id: debbuild) and installed latest updates. When I tried to add the repository I got this error:
Cannot complete the install because one or more required items could not be found.
Software being installed: VMware Workbench CIM Tools 3.5.7.4236111 (com.vmware.vide.cimtools.feature.feature.group 3.5.7.4236111)
Missing requirement: Action Plug-in 3.5.7.4236111 (com.vmware.vide.p2action 3.5.7.4236111) requires 'package org.eclipse.equinox.p2.repository.artifact 2.3.0' but it could not be found
Missing requirement: Action Plug-in 3.5.7.4249275 (com.vmware.vide.p2action 3.5.7.4249275) requires 'package org.eclipse.equinox.p2.repository.artifact 2.3.0' but it could not be found
Cannot satisfy dependency:
From: VMware Workbench CIM Tools 3.5.7.4236111 (com.vmware.vide.cimtools.feature.feature.group 3.5.7.4236111)
To: com.vmware.vide.feature.feature.group [3.5.5,4.0.0)
Cannot satisfy dependency:
From: VMware Workbench Core 3.5.7.4236111 (com.vmware.vide.feature.feature.group 3.5.7.4236111)
To: com.vmware.vide.p2action [3.5.7.4236111]
Cannot satisfy dependency:
From: VMware Workbench Core 3.5.7.4249275 (com.vmware.vide.feature.feature.group 3.5.7.4249275)
To: com.vmware.vide.p2action [3.5.7.4249275]
I looked for that package org.eclipse.equinox.p2.repository.artifact 2.3.0 but I don't know how to satisfy it.
2) Latest eclipse from eclipse.org
I downloaded and executed the fresh eclipse installer for Linux 64 bits (again Ubuntu 16.04.2 LTS). It's Version: Neon.3 Release (4.6.3) and Build id: 20170314-1500. Again I installed latest updates and tried to install that VMware Workbench IS repository and I got this error:
An error occurred while configuring the installed items
session context was:(profile=_home_test_eclipse_java-neon_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null --> [R]com.vmware.vide.vlogbrowser.cli.feature.feature.group 3.5.7.4236111, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.ChmodAction).
The action chmod failed - file /home/test/eclipse/java-neon/eclipse/features/com.vmware.vide.vlogbrowser.cli.feature_3.5.7.4236111/app/vmwb-server does not exist
Can anybody help me to install VMware Workbench IS?
Thanks in advance!
/Angel
I realized that ubuntu's eclipse already provides the plugin org.eclipse.equinox.p2.repository, but it's version 2.2 and VMware Workbench IS requires 2.3. I don't know if it can be installed.
Finally I could install the workbench on a fresh eclipse Neon.3 Release (4.6.3) but just after installing the components one by one, in a common sense order and reading carefully the errors: missing folders that the installer is not creating for you, like $INSTALL_PATH/eclipse/java-neon/eclipse/features/com.vmware.vide.vlogbrowser.cli.feature_3.5.7.4236111/app/vmwb-server
Thanks and best regards
/Angel

Eclipse Marketplace error - Unexpected exception: org/apache/http/client/fluent/Executor

I'm on Fedora 24 and installed Eclipse Neon via the software shop. The Eclipse version is 4.6. build id: Z20160714-1910.
When trying to start the Marketplace, I get the following error after the Marketplace window pops up:
Unexpected exception: org/apache/http/client/fluent/Executor
org/apache/http/client/fluent/Executor
org/apache/http/client/fluent/Executor
org/apache/http/client/fluent/Executor
The only other thing installed is PyDev.
Any idea what might cause this?
Try installing the "Fedora Eclipse" group via dnf:
sudo dnf group install 'Fedora Eclipse'
I was getting the same error as you, and using the above fixed it for me. It must be that the rpm for Eclipse by itself (which is what the Software app would install) is missing some Fedora-related dependencies.