Hi,
ok I'm working on Linux and on MacOS.
I installed the latest jython 2.0a3 on both machines:
Linux:
Jython 2.0alpha3 on java1.2.2 (JIT: sunwjit)
MacOS:
Jython 2.0alpha3 on java1.1.8 (JIT: MRJ22Jitc.01)
A little project in training the presentation of some
xml-data which describe the layout of computer-infrastructure at work
(the first steps were done with Python2.0). My students didn't have the
time to implement, so I gave it a try on jython:
xmllib is part of the actual jython-distribution.
Here begins my problem:
on my linux-machine everything works fine.
But after shifting the runable-source-code to the Mac I get some strange
errors.
After I found out that most of them could be eliminated, because I
did'nt set the path in the right way,
one serious error is still remaining:
Error around line 505 of xmllib.py
Ok, I gave it a try
pure
xmllib --> jython 2.0a3
invalid syntax, line 508
ok I decided to import xmllib at the command line
sre_parse.py line 504
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jython 2.0alpha3 on java1.1.8 (JIT: MRJ22Jitc.01)
Type "copyright", "credits" or "license" for more information.
>>> import xmllib
Traceback (innermost last):
File "<console>", line 1, in ?
File "/brecht/Systemordner/Preferences/jython-2.0a3/Lib/xmllib.py",
line 5, in ?
File "/brecht/Systemordner/Preferences/jython-2.0a3/Lib/re.py", line
28, in ?
File "/brecht/Systemordner/Preferences/jython-2.0a3/Lib/sre.py", line
20, in ?
File "/brecht/Systemordner/Preferences/jython-2.0a3/Lib/sre_parse.py",
line 504
SyntaxError: inconsistent dedent
>>>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
As workaround, I set the sys.path so, that the Python2.0 Libs where
used.
The same effect appears.
Perhaps there is someone out there, who is able to check it on a Mac,
too.
The problems doesn't arrive on my Linux-System.
TNX
Ludger
|