#743 my code completion and syntax checking is broken with 1.3.18

1.3.18
closed-fixed
5
2008-08-06
2008-07-01
Robert Walton
No

Hello,
My code completion and syntax checking is broken with 1.3.18. These two brilliant features work fine for me with 1.3.17, but they don't work with 1.3.18 . Pydev doesn't seem able to connect to the Jython process.

Any suggestions greatly appreciated! Thanks- Rob.

Here are the details:

(I am using Jython)
- System : Redhat Enterprise 4
- Eclipse version: 3.3.2
- PyDev version: 1.3.18 (okay in 1.3.17)
- Eclipse install location: ~/synched/bin/eclipse/eclipse
- Project location where the bug appears: all, but for example: ~/synched/workspace/diffcode-dev

- PyDev error log:

Err output:
Exception in thread "main" java.lang.NoClassDefFoundError:

!STACK 0
java.lang.RuntimeException: Error connecting to python process ( /home/zrb13439/synched/bin/jdk1.6.0_01/bin/java -Dpython.path=/home/zrb13439/synched/bin/eclipse3.3/plugins/org.python.pydev_1.3.18/PySrc/pydev_sitecustomize:/home/zrb13439/synched/bin/jython2.1.1.unmodified/Lib:/home/zrb13439/synched/bin/jdk1.6.0_01/jre/lib/resources.jar:/home/zrb13439/synched/bin/jdk1.6.0_01/jre/lib/rt.jar:/home/zrb13439/synched/bin/jdk1.6.0_01/jre/lib/jsse.jar:/home/zrb13439/synched/bin/jdk1.6.0_01/jre/lib/jce.jar:/home/zrb13439/synched/bin/jdk1.6.0_01/jre/lib/charsets.jar:/home/zrb13439/synched/bin/jdk1.6.0_01/jre/lib/ext/localedata.jar:/home/zrb13439/synched/bin/jdk1.6.0_01/jre/lib/ext/dnsns.jar:/home/zrb13439/synched/bin/jdk1.6.0_01/jre/lib/ext/sunjce_provider.jar:/home/zrb13439/synched/bin/jdk1.6.0_01/jre/lib/ext/sunpkcs11.jar -classpath /home/zrb13439/synched/bin/jython2.1.1.unmodified/jython.jar:/home/zrb13439/synched/bin/eclipse3.3/plugins/org.python.pydev_1.3.18/PySrc/pydev_sitecustomize:/home/zrb13439/synched/bin/jython2.1.1.unmodified/Lib:/home/zrb13439/synched/bin/jdk1.6.0_01/jre/lib/resources.jar:/home/zrb13439/synched/bin/jdk1.6.0_01/jre/lib/rt.jar:/home/zrb13439/synched/bin/jdk1.6.0_01/jre/lib/jsse.jar:/home/zrb13439/synched/bin/jdk1.6.0_01/jre/lib/jce.jar:/home/zrb13439/synched/bin/jdk1.6.0_01/jre/lib/charsets.jar:/home/zrb13439/synched/bin/jdk1.6.0_01/jre/lib/ext/localedata.jar:/home/zrb13439/synched/bin/jdk1.6.0_01/jre/lib/ext/dnsns.jar:/home/zrb13439/synched/bin/jdk1.6.0_01/jre/lib/ext/sunjce_provider.jar:/home/zrb13439/synched/bin/jdk1.6.0_01/jre/lib/ext/sunpkcs11.jar org.python.util.jython /home/zrb13439/synched/bin/eclipse3.3/plugins/org.python.pydev_1.3.18/PySrc/pycompletionserver.py 46081 46082) - the process in NOT ALIVE anymore (output=1) - the output of the process is: Std output:

Err output:
Exception in thread "main" java.lang.NoClassDefFoundError:

at org.python.pydev.editor.codecompletion.shell.AbstractShell.startIt(AbstractShell.java:440)
at org.python.pydev.editor.codecompletion.shell.AbstractShell.startIt(AbstractShell.java:312)
at org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(AbstractShell.java:234)
at org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(AbstractShell.java:192)
at org.python.pydev.editor.codecompletion.revisited.modules.CompiledModule.<init>(CompiledModule.java:95)
at org.python.pydev.editor.codecompletion.revisited.SystemModulesManager.getBuiltinModule(SystemModulesManager.java:209)
at org.python.pydev.editor.codecompletion.revisited.SystemModulesManager.getBuiltinModule(SystemModulesManager.java:1)
at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getModuleAndRelatedModulesManager(ProjectModulesManager.java:269)
at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getModule(ProjectModulesManager.java:249)
at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getModule(AbstractASTManager.java:337)
at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getBuiltinMod(AbstractASTManager.java:814)
at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getBuiltinComps(AbstractASTManager.java:798)
at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getBuiltinCompletions(AbstractASTManager.java:780)
at com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.<init>(AbstractScopeAnalyzerVisitor.java:134)
at com.python.pydev.analysis.visitors.OccurrencesVisitor.<init>(OccurrencesVisitor.java:64)
at com.python.pydev.analysis.OccurrencesAnalyzer.analyzeDocument(OccurrencesAnalyzer.java:43)
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)
***********

Discussion

  • Fabio Zadrozny
    Fabio Zadrozny
    2008-08-01

    • milestone: 754935 --> 1.3.18
    • status: open --> pending
     
  • Fabio Zadrozny
    Fabio Zadrozny
    2008-08-01

    Logged In: YES
    user_id=617340
    Originator: NO

    Can you please check it with 1.3.19 (I haven't been able to reproduce it, but I suspect that this was fixed in another bug -- I've just checked that it's running on linux (ubuntu) )

    Cheers,

    Fabio

     
  • Robert Walton
    Robert Walton
    2008-08-05

    Logged In: YES
    user_id=2132563
    Originator: YES

    Thanks Fabio, this problem *has* gone with 1.3.19. The upgrade was seemless.

    Thanks lots,

    Rob Walton

     
  • Robert Walton
    Robert Walton
    2008-08-05

    • status: pending --> open
     
  • Fabio Zadrozny
    Fabio Zadrozny
    2008-08-06

    • status: open --> closed-fixed
     
  • Fabio Zadrozny
    Fabio Zadrozny
    2008-08-06

    Logged In: YES
    user_id=617340
    Originator: NO

    Marking as fixed.