Eclipse and Pydev plugin - eclipse

After installing and configuring PyDev plugin on Eclipse it works fine.
BUT when I close Eclipse IDE and open it again and want to run python program I cannot because there is no Python Run.
What should I do, is there anyone who has encountered such type of error ?
Thanks

I found the problem, I do not know why but the eclipse always changes the default workspace and this is creating a problem.
When I set my workspace back to a needed location the error gone and I was able to compile and run the python program.

Related

Eclipse Java IDE restore

I was developing a plugin, using Eclipse IDE for java developers (Version: 2021-09 (4.21.0)
Build id: 20210910-1417)
During development, when I run it as an eclipse application, it opens a runtime-Eclipse application where the plug-in is present. In my setup this new runtime-eclips app opened from a folder next to the workspace, where C codes were present. (and my progrem would get the tests run in C , and get the results from it's exe)
Then I downloaded the Eclipse IDE for committers, which is a newer version. I downloaded it as a zip and after unpacking I run the eclipse.exe. My program had problems opening the runtime-Eclipse application in C there, so i went back to the older one which is installed on my computer.
After opening the original eclipse, on which I was working and had no problems, I was hoping everything will be fine. It opens the IDE for java developers (same version, same build) but I have the same problems with the runtime-eclipse application as the one I run as an eclipse.exe , (not recognising the C code?? I don't understand).
When i try to run the plug-in I get this error.
And when the runtime-app opens i get this error.
I cannot create C projects anymore on the runtime-app. I don't know the reason behind this.
Also I have billion of these
["java.net.UnknownHostException: downdload.eclipse.ort"]
[" org.eclipse.equinox.p2.core.ProvisionException: Unknown Host: http://downdload.eclipse.ort/eclipse/updates/4.2/content.xml "]
Thank you in advance!
I don't know if it is possible or not, since seemingly it did not update the older eclipse IDE. If it can be restored the way it was before i run the eclipse.exe, I would be happy.
eclipse.ort is obviously a typo, it should be eclipse.org, I don't know where it is coming from - but its possible you enter it yourself as update site
the runtime error means eclipse cannot resolve all dependencies, which means it could not load bunch of plugins including yours, you need to figure out why on your own, its not possible to debug this remotely, its best to start from the scratch in the new workspace
The solution was easier than expected. The run configuration was modified by the other eclipse version. It was not launched with every plugin. only a selected handful

Eclipse IDE suddenly gone after installation?

I tried installing the Eclipse IDE, installation is successful. After installation, it runs and I successfully run a simple Hello World program.
I closed the IDE, and later I tried to open it but I couldn't find the application either on my startup menu and desktop. I tried to open my Control Panel but I couldn't find it there too.
I reinstall the IDE and the same thing happened. Am I missing something here? I'm using Windows 10.

Eclipse doesn't save the previous settings like workspace & Plug-ins

I am using Eclipse Neon on my MacBook & every time I start Eclipse it prompts me for my workspace again and again even though I set it as my default one.
Same goes for the plug-ins I have installed , I need to install eclipse decompiler every time I load eclipse.
I get an error like : "This wizard helps you to import and reinstall previously installed plug-ins. It is triggered because
either you are launching eclipse for the first time or your Eclipse has been updated."
Can someone please assist me with this issue ?
I had the same problem after updating my Mac to Sierra: Eclipse would not remember the default workspace. After moving Eclipse into the Application folder, the problem disappeared.
The issue seems to come from a Mac OSX Sierra feature called 'path randomization' (see eclipse bug 507328). The actual solution to avoid the path randomization seems to be for eclipse to provide signed .dmg images (bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=461670).
Two workarounds that I can suggest are:
Start from the eclipse oomph installer when installing eclipse (see https://www.eclipse.org/forums/index.php?t=rview&goto=1754574#msg_1754574)
Start the actual eclipse executable file instead of opening the .App container

Eclipse Mars 1.0 Build Path Missing From Properties Menu

I have just reinstalled my OS and made a clean install of Eclipse.
I want to import my previous projects made on a previous version of Eclipse and that is no problem. However when I try to run it then it says: "The selection cannot be run on any server".
I read around I need to go into Properties => Build Path and do something there.
Only problem is my Properties menu does not have a Build Path option. I have searched around Eclipse for a long time now to find Build Path but stil no luck.
Does anyone now where og why my Build Path is no where to be found?
By Chance i found the solution myself.
I originally installed the Eclipse Php Mars version of Eclipse which i still can't get to work. But install the Eclipse Jee Mars (Java EE IDE) version instead solves the problem.
First time you run the code though you might have to run it through the main menu in the top and not by the convenient Run icon botton.
I have no clue why this is but now i can continue my work.

Can't install a Grails plugin

I'm trying to install the ws-client plugin for grails. When I run grails install-plugin ws-client, however, it gets to
Resolving plugin ws-client. Please wait...
and then it just appears to complete with no further information. I've tried deleting the plugin in the application.properties file (it is appearing there) but it doesn't help.
I know the plugin wasn't successfully installed either because I get an error when trying to import the ws-client.
Unable to resolve class groovyx.net.ws.WSClient
Does anyone know why it's not properly installing?
Thanks!
Update: When I run grails list-plugins -installed ws-client DOES show up, so perhaps it is being installed? But if so, why would the import statement be throwing the resolve error?
Update: It was definitely a problem with the installation. I don't know what the problem was, but I have managed to work around it. Posting an answer with the process.
Well I can't post an answer to myself because I need 100 Rep to answer myself in under 8 hours, and I of course only have 99... :)
The answer wound up being to right click "plugins" under the project in STS' Project Explorer window and manually locating the ws-client plugin and marking for installation. I'll post this as an actual answer in 5 hours.
So for some reason using the
grails install-plugin ws-client
command wasn't working correctly. I ran it from both the command line and STS's built in terminal. Both gave me the problem of it not completing installation, but not giving an error either.
Anyway, I finally managed to get the plugin installed by right clicking on "plugins" under my project in the STS Project Explorer window. From there you can open "Grails Plugin Manager" and search for ws-client. I selected it for installation and it wound up installing without a hitch.
Still don't know why I couldn't do it from regular command line, but this method worked and got it installed, so hopefully it helps someone else out in the future!
Another way that did work for me (I'm using STS) is to run grails install-plugin ws-client by accessing grails command-line through Ctrl+Alt+Shift+G (Cmd+Alt+Shift+G on Mac)
Also it helps to just "Refresh" the project after installing the plugin and rebuilding it (if you're Automatic Built is turned off)