Quantcast

[ jEdit-users ] Need help with parsing error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-users ] Need help with parsing error

Jim Byrnes-4
jEdit = 5.1.0, java = 1.8.0_101, ubuntu 14.04

I have been working with some Python files and sometime during the day
parsing stopped working.  I look in sidekick and I see "Not parsed"
written there. If I push the parse button it just flashes. This error is
produced:

Traceback (most recent call last):
   File
"/home/jfb/.jedit/jars/JythonInterpreter.jar/jython/PyParser.py", line
125, in _parse
   File "/home/jfb/.jedit/jars/jythonlib.jar/Lib/pyclbr.py", line 101,
in readmodule_ex
   File "/home/jfb/.jedit/jars/jythonlib.jar/Lib/pyclbr.py", line 128,
in _readmodule
   File "/home/jfb/.jedit/jars/jythonlib.jar/Lib/pyclbr.py", line 138,
in _readmodule
ImportError: No module named 2

How can I get it working again?

Thanks,  Jim

------------------------------------------------------------------------------
--
-----------------------------------------------
jEdit Users' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ jEdit-users ] Need help with parsing error

Alan Ezust-3
Administrator
The Jython Interpreter is old, and probably does not support recent syntax of Python.
I use ctagssidekick for parsing python now.



On Tue, Sep 6, 2016 at 7:19 PM, Jim Byrnes <[hidden email]> wrote:
jEdit = 5.1.0, java = 1.8.0_101, ubuntu 14.04

I have been working with some Python files and sometime during the day
parsing stopped working.  I look in sidekick and I see "Not parsed"
written there. If I push the parse button it just flashes. This error is
produced:

Traceback (most recent call last):
   File
"/home/jfb/.jedit/jars/JythonInterpreter.jar/jython/PyParser.py", line
125, in _parse
   File "/home/jfb/.jedit/jars/jythonlib.jar/Lib/pyclbr.py", line 101,
in readmodule_ex
   File "/home/jfb/.jedit/jars/jythonlib.jar/Lib/pyclbr.py", line 128,
in _readmodule
   File "/home/jfb/.jedit/jars/jythonlib.jar/Lib/pyclbr.py", line 138,
in _readmodule
ImportError: No module named 2

How can I get it working again?

Thanks,  Jim

------------------------------------------------------------------------------
--
-----------------------------------------------
jEdit Users' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-users


------------------------------------------------------------------------------

--
-----------------------------------------------
jEdit Users' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-users
Loading...