#826 JythonInterpreterManager error in a non-Jython project

closed-works-for-me
nobody
None
5
2009-01-12
2009-01-08
No

When hitting F3 on certain tokens to navigate to their definition, I'm getting an error dialog saying:

-----------------------------
Unable to do requested action

Reason:
org.python.pydev.ui.interpreters.JythonInterpreterManager:Interpreter is not properly configured!

Please go to window->preferences->PyDev->Jython Interpreters and configure it.

If this is not supposed to be a Jython project, change the project type on the

project properties to the project you want (e.g.: Python project).
-----------------------------

But my project is already a Python project, not a Jython project.

Below is what I find in the workspace .metadata/.log file:

!ENTRY org.python.pydev 4 4 2009-01-08 16:58:17.470
!MESSAGE org.python.pydev.ui.interpreters.JythonInterpreterManager:Interpreter is not properly configured!
Please go to window->preferences->PyDev->Jython Interpreters and configure it.
If this is not supposed to be a Jython project, change the project type on the
project properties to the project you want (e.g.: Python project).
!STACK 0
org.python.pydev.ui.NotConfiguredInterpreterException: org.python.pydev.ui.interpreters.JythonInterpreterManager:Interpreter is not properly configured
!
Please go to window->preferences->PyDev->Jython Interpreters and configure it.
If this is not supposed to be a Jython project, change the project type on the
project properties to the project you want (e.g.: Python project).
at org.python.pydev.ui.interpreters.AbstractInterpreterManager.getDefaultInterpreter(AbstractInterpreterManager.java:123)
at org.python.pydev.ui.interpreters.AbstractInterpreterManager.getDefaultInterpreterInfo(AbstractInterpreterManager.java:179)
at org.python.pydev.ui.interpreters.AbstractInterpreterManager.getDefaultInterpreterInfo(AbstractInterpreterManager.java:1)
at org.python.pydev.plugin.nature.SystemPythonNature.<init>(SystemPythonNature.java:26)
at org.python.pydev.plugin.PydevPlugin.getInfoForFile(PydevPlugin.java:486)
at org.python.pydev.editor.refactoring.RefactoringRequest.<init>(RefactoringRequest.java:109)
at org.python.pydev.editor.actions.refactoring.PyRefactorAction.createRefactoringRequest(PyRefactorAction.java:167)
at org.python.pydev.editor.actions.refactoring.PyRefactorAction.getRefactoringRequest(PyRefactorAction.java:153)
at org.python.pydev.editor.actions.refactoring.PyRefactorAction.getRefactoringRequest(PyRefactorAction.java:135)
at org.python.pydev.editor.actions.PyGoToDefinition.findDefinitionsAndOpen(PyGoToDefinition.java:96)
at org.python.pydev.editor.actions.PyGoToDefinition.run(PyGoToDefinition.java:86)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
[... rest of stack trace is all org.eclipse and sun/java stuff]

Discussion

  • Fabio Zadrozny

    Fabio Zadrozny - 2009-01-12

    That means that you configured your project to be jython without having a jython interpreter. Use the project properties to set your project as python if you have a python interpreter ( http://fabioz.com/pydev/manual_101_project_conf2.html )

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2009-01-12
    • status: open --> closed-works-for-me
     
  • Gunnlaugur Thor Briem

    I wasn't clear enough, sorry: the project type was definitely python, not jython. Confirmed also by looking inside the project file, plus the project was running and debugging just fine with no Jython ever installed on the machine. So it definitely was not a jython project. Yet Pydev reported that it was. That was the bug I was reporting.

    I can't reproduce it right now, will comment here again if/when I can.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks