I'm attempting to run code I'm working on in as Debug with Jython and getting error messages.
Plug-in: PyDev 1.4.4.2336
Eclipse: 3.4.2 (Classic Eclipse download)
System: Mac OS X (10.5.6)
(recently unboxed, most settings default: haven't change Firewall configuration)
Jython: 2.5.b4
I get the following output in the console along with an error dialog:
Traceback (most recent call last):
File "/Applications/eclipse/plugins/org.python.pydev.debug_1.4.4.2636/pysrc/pydevd.py", line 4, in <module>
from pydevd_comm import CMD_CHANGE_VARIABLE,\
File "/Applications/eclipse/plugins/org.python.pydev.debug_1.4.4.2636/pysrc/pydevd_comm.py", line 70, in <module>
import pydevd_vars
File "/Applications/eclipse/plugins/org.python.pydev.debug_1.4.4.2636/pysrc/pydevd_vars.py", line 73, in <module>
typeMap = [
AttributeError: 'javapackage' object has no attribute 'PyJavaInstance'
The error dialog's details:
Unexpected error setting up the debugger
Socket closed
Any clue? Do I actually need to open a socket for the debugger? Any tips on what directions I need to go to figure this out?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm attempting to run code I'm working on in as Debug with Jython and getting error messages.
Plug-in: PyDev 1.4.4.2336
Eclipse: 3.4.2 (Classic Eclipse download)
System: Mac OS X (10.5.6)
(recently unboxed, most settings default: haven't change Firewall configuration)
Jython: 2.5.b4
I get the following output in the console along with an error dialog:
Traceback (most recent call last):
File "/Applications/eclipse/plugins/org.python.pydev.debug_1.4.4.2636/pysrc/pydevd.py", line 4, in <module>
from pydevd_comm import CMD_CHANGE_VARIABLE,\
File "/Applications/eclipse/plugins/org.python.pydev.debug_1.4.4.2636/pysrc/pydevd_comm.py", line 70, in <module>
import pydevd_vars
File "/Applications/eclipse/plugins/org.python.pydev.debug_1.4.4.2636/pysrc/pydevd_vars.py", line 73, in <module>
typeMap = [
AttributeError: 'javapackage' object has no attribute 'PyJavaInstance'
The error dialog's details:
Unexpected error setting up the debugger
Socket closed
Any clue? Do I actually need to open a socket for the debugger? Any tips on what directions I need to go to figure this out?
This seems a problem with Jython 2.5b4.
It appears that the type PyJavaInstance is no longer available in Jython (so, they broke the backward compatibility on that).
Commenting that line in pydevd_vars.py should be OK for now until a proper fix is done (please report that as a bug).
Cheers,
Fabio
I should report this w/ Jython, correct?
Actually, it's already fixed in 1.4.5 (so, there's no need to report it anymore).
Cheers,
Fabio
I should report this w/ Jython, correct?
Awesome - I just updated yesterday. Thank you Fabio!