<div class="gmail_quote">Hello I'm very new to python/jython, and trying yo <u>call a program from jython</u>, which works very good in python. <br>I got some issues which resolve as I expose here, but I think these are unsatisfactory solutions.<br>
If you want to reply please do it to my address. <br><br>thanks,<br>Jx<br><br>PD. both are great projects!!!<br><br>1. FIRST Error<br><br>Error !Traceback (most recent call last):<br> File "<string>", line 1, in <module><br>
File "__pyclasspath__/parserJoax.py", line 1, in <module><br> File "C:\Python26\lib\re.py", line 283, in <module><br> import copy_reg<br> File "C:\Python26\lib\copy_reg.py", line 7, in <module><br>
from types import ClassType as _ClassType<br> File "C:\Python26\lib\types.py", line 36, in <module><br> BufferType = buffer<br>NameError: name 'buffer' is not defined<br><br><b>Solution --> comment in types.py #BufferType = buffer (line 37)</b><br>
<br>2. SECOND Error<br><br>Error !Traceback (most recent call last):<br> File "<string>", line 1, in <module><br> File "__pyclasspath__/parserJoax.py", line 3, in <module><br> File "C:\Python26\lib\csv.py", line 7, in <module><br>
from functools import reduce<br> File "C:\Python26\lib\functools.py", line 10, in <module><br> from _functools import partial, reduce<br>ImportError: cannot import name reduce<br><br><b>Solution --> comment in functools.py #, reduce (line 10)<br>
<span style="COLOR: rgb(204,0,0)">Problem </span>--> IDLE for windows doesn't work anymore, I mean I can lauch the GUI, but I can still use python from command line</b><br><br>3. THIRD Error<br><br>Error !Traceback (most recent call last):<br>
File "<string>", line 1, in <module><br> File "__pyclasspath__/parserJoax.py", line 3, in <module><br> File "C:\Python26\lib\csv.py", line 7, in <module><br> from functools import reduce<br>
ImportError: cannot import name reduce<br><br><b>Solution --> comment in csv.py #@fieldnames.setter (line 96)</b><br><br><br></div><br>