Hi everyone,
I'm trying to install language support for clojure, but it seems that the
JEdit2Py script does not work. I tried it on the both clojure and lisp xml
files and they both giv an error something something like:
unexpected exception in g.importFromPath(clojure)
Traceback (most recent call last):
File "/home/paul/software/leo-editor/leo/core/leoGlobals.py", line 5986, in
importFromPath
module = imp.load_module(moduleName,theFile,pathname,description)
File "/usr/lib/python3.3/imp.py", line 165, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.3/imp.py", line 114, in load_source
return _LoadSourceCompatibility(name, pathname, file).load_module(name)
File "<frozen importlib._bootstrap>", line 586, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1023, in load_module
File "<frozen importlib._bootstrap>", line 1004, in load_module
File "<frozen importlib._bootstrap>", line 562, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 854, in _load_module
File "<frozen importlib._bootstrap>", line 981, in get_code
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "/home/paul/software/leo-editor/leo/modes/clojure.py", line 53
"
^
SyntaxError: EOL while scanning string literal
I had to change the script so that it would find and convert all the xml
files in the modes directory (if 0 in the << set files to convert >> node.
Was there any other required changes? I find it odd that this script no
longer works on given that these are old xml files. Has the script been
updated recently? Some dependency change?
Thanks,
Paul
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.