On one source file, pydev triggers an exception very often and so Eclipse pops up a "Problem Occurred" alert box very often.
The text of the alert box is:
An internal error occurred during: "".
org.python.pydev.core.ICodeCompletionASTManager.getCompletionsForWildImport(Lorg/python/pydev/core/ICompletionState;Lorg/python/pydev/core/IModule;Ljava/util/List;Lorg/python/pydev/core/IToken;)Ljava/util/List;
And the full stack trace is:
java.lang.NoSuchMethodError: org.python.pydev.core.ICodeCompletionASTManager.getCompletionsForWildImport(Lorg/python/pydev/core/ICompletionState;Lorg/python/pydev/core/IModule;Ljava/util/List;Lorg/python/pydev/core/IToken;)Ljava/util/List;
at com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.visitImportFrom(AbstractScopeAnalyzerVisitor.java:368)
at org.python.pydev.parser.jython.ast.ImportFrom.accept(ImportFrom.java:47)
at org.python.pydev.parser.jython.ast.Module.traverse(Module.java:41)
at com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.traverse(AbstractScopeAnalyzerVisitor.java:171)
at com.python.pydev.analysis.visitors.OccurrencesVisitor.traverse(OccurrencesVisitor.java:214)
at org.python.pydev.parser.jython.ast.VisitorBase.visitModule(VisitorBase.java:8)
at org.python.pydev.parser.jython.ast.Module.accept(Module.java:34)
at com.python.pydev.analysis.OccurrencesAnalyzer.analyzeDocument(OccurrencesAnalyzer.java:47)
at com.python.pydev.analysis.OccurrencesAnalyzer.analyzeDocument(OccurrencesAnalyzer.java:37)
at com.python.pydev.analysis.builder.AnalysisBuilderRunnable.doAnalysis(AnalysisBuilderRunnable.java:185)
at com.python.pydev.analysis.builder.AnalysisBuilderRunnable.run(AnalysisBuilderRunnable.java:130)
at com.python.pydev.analysis.builder.AnalysisBuilderVisitor$1.run(AnalysisBuilderVisitor.java:103)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Is there a simple fix?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This usually denotes that you have conflicting versions of Pydev and Pydev Extensions... To fix it, try updating them to gather the same version for both.
Cheers,
Fabio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm using the latest pydev with eclipse 3.4.
On one source file, pydev triggers an exception very often and so Eclipse pops up a "Problem Occurred" alert box very often.
The text of the alert box is:
An internal error occurred during: "".
org.python.pydev.core.ICodeCompletionASTManager.getCompletionsForWildImport(Lorg/python/pydev/core/ICompletionState;Lorg/python/pydev/core/IModule;Ljava/util/List;Lorg/python/pydev/core/IToken;)Ljava/util/List;
And the full stack trace is:
java.lang.NoSuchMethodError: org.python.pydev.core.ICodeCompletionASTManager.getCompletionsForWildImport(Lorg/python/pydev/core/ICompletionState;Lorg/python/pydev/core/IModule;Ljava/util/List;Lorg/python/pydev/core/IToken;)Ljava/util/List;
at com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.visitImportFrom(AbstractScopeAnalyzerVisitor.java:368)
at org.python.pydev.parser.jython.ast.ImportFrom.accept(ImportFrom.java:47)
at org.python.pydev.parser.jython.ast.Module.traverse(Module.java:41)
at com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.traverse(AbstractScopeAnalyzerVisitor.java:171)
at com.python.pydev.analysis.visitors.OccurrencesVisitor.traverse(OccurrencesVisitor.java:214)
at org.python.pydev.parser.jython.ast.VisitorBase.visitModule(VisitorBase.java:8)
at org.python.pydev.parser.jython.ast.Module.accept(Module.java:34)
at com.python.pydev.analysis.OccurrencesAnalyzer.analyzeDocument(OccurrencesAnalyzer.java:47)
at com.python.pydev.analysis.OccurrencesAnalyzer.analyzeDocument(OccurrencesAnalyzer.java:37)
at com.python.pydev.analysis.builder.AnalysisBuilderRunnable.doAnalysis(AnalysisBuilderRunnable.java:185)
at com.python.pydev.analysis.builder.AnalysisBuilderRunnable.run(AnalysisBuilderRunnable.java:130)
at com.python.pydev.analysis.builder.AnalysisBuilderVisitor$1.run(AnalysisBuilderVisitor.java:103)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Is there a simple fix?
Thanks
This usually denotes that you have conflicting versions of Pydev and Pydev Extensions... To fix it, try updating them to gather the same version for both.
Cheers,
Fabio
Yes, you're right
I'm using the eclipse update manager
At the site http://www.fabioz.com/pydev/updates, it can find Pydev and Pydev Extensions 3.22
At the site http://pydev.sourceforge.net/updates, it can't fin Pydev 3.24
So I have PyDev 3.24 and Pydev Extensions 3.22.
Is it normal that the update manager can't find Pydev Extensions 3.24 on your site (I'm using eclipse 3.4.1)?
Serge
Actually, that's normal... the Extensions version is not available at sourceforge (as it's not open source).
Cheers,
Fabio
Fabio,
I'm a regular customer and I have already paid twice a year subscription for your extension. The latest one will expires the 1st March
I was using before without problem the Eclipse update manager. Is it the right way for updating pydev extension?
Serge
For getting the update on the extensions, the 'recommended' way is updating through http://www.fabioz.com/pydev/updates (or getting the zips... simple instructions can be found at http://fabioz.com/pydev/download.html and a more step-by-step tutorial at http://fabioz.com/pydev/manual_101_install.html )
Cheers,
Fabio