Search code examples
pythoneclipseresourcesliclipse

Renaming file I got this error: !MESSAGE Variable references non-existent resource


I'm making a game in Python (with Pygame) using LiClipse (based on Eclipse). My main file which executes everything is called "prueba.py". I've renamed it to "Main.py" and then trying to run the project I've got this error:

!MESSAGE Variable references non-existent resource : ${workspace_loc:MyGame/prueba.py}

Is there any file where I can change the file or something like that? Anyway, how can I solve it? I've tried many solutions from google and stackoverflow (such as this Variable references non-existent resource Build.xml) but they didn't work or didn't apply to my problem.


Solution

  • This is probably the Run Configuration for the project.

    Look in 'Run > Run Configurations' for your project and check the variables.