"selection cannot be started and there are no new starts" when using pydev / eclipse

I get the above error when running a python file that worked in the past. I think I know how this happened, but I don’t know how to fix it. I have 2 dual boot computers of different os and using dropbox to sync between them. I used to sync my eclipse workspace with my Mac and Windows computers this way and everything worked fine (except that I would have to change the location of the python interpreter depending on which system I used).

I started getting the above message after adding Linux (fedora) to share Dropbox files. But my problem now, when I try to update my python interpreter (in windows), it does not save my settings. I can hit autoconfig and it will find the path to python and all the files, and I click apply / ok, but when I return it all is empty. I am pretty sure that the linux machine loaded my settings, but I need to develop on all three boxes, so I need them to be kind of synchronized.

I wonder how to fix it, and if there is another way to do this, so that I do not have this problem in the future?

update: this def. has something to do with my work area. When I change the default workspace to a new folder and install the python interpreter, it works. Still not sure how to do this for long (no need to copy the code back and forth across new workspaces.

+8
eclipse pydev
source share
4 answers

I think the answer on how to split the workspace between other environments is still very useful, but if someone has a problem with simlair and just need to fix it to work quickly here:

  • go to the file, go to workspaces and find where your workspace is.
  • Go to this folder and rename the .metadata folder and restart eclipse
  • Everything will be absent in eclipse, so go to the file β†’ import and import a folder with all your projects (create a root folder for all projects so that you do not have to import them separately).
  • configure any settings that you had before

This is not the best solution, but it works. Hopefully someone has a way to prevent this problem in multiple environments.

+3
source share

It seems to be the preferred way through F9: http://pydev.org/manual_adv_launch.html

+1
source share

Starting eclipse is the same as last time. then the first time it starts in this way. in the package explorer (left). doubleclick res, then menu. then right-click on the main menu (name.xml). The frmo menu, select run, then run as an application. and you can execute by default next time (from the menu or shortcut).

0
source share

This problem can often be solved by exiting the eclipse and restarting (if it is convenient for you). Changing mid-level workflows can often confuse Eclipse, even if PyDev is configured correctly.

0
source share

All Articles