Issue443090
Created on 2001-07-20.14:29:39 by anonymous, last changed 2001-07-24.16:47:45 by pedronis.
History | |||
---|---|---|---|
Date | User | Action | Args |
2001-07-20 14:29:39 | anonymous | create |
Created on 2001-07-20.14:29:39 by anonymous, last changed 2001-07-24.16:47:45 by pedronis.
Messages | |||
---|---|---|---|
msg352 (view) | Author: Nobody/Anonymous (nobody) | Date: 2001-07-20.14:29:39 | |
Dear jythoneers, I get the following traceback while doing an execfile() on the identified file. The import works in 21a1 but fails in 21a2. The traceback text is generated using the traceback package from a caught exception. I removed some chars from the package name, module name, and file name. In case these matter, please let me know. Traceback (most recent call last): File "e:\pypr\TST\TST1.py", line 1, in ? from pqp import pqxt java.lang.NoSuchMethodError: java.lang.NoSuchMethodError: org.python.core.Py: method newCode(I[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZLorg/python/core/PyFunctionTable ;I[Ljava/lang/String;[Ljava/lang/String;I)Lorg/python/core/PyCode; not found FWIW: the directory needed for the import to succeed is prepended to sys.path just before the execfile() call. This forces me to revert to jython 21a1, about which I have no complaints at all. Using java 1.1.8 under OS2. Thanks for jython, Ype Kingma, |
|||
msg353 (view) | Author: Samuele Pedroni (pedronis) | Date: 2001-07-24.16:47:45 | |
Logged In: YES user_id=61408 The problem was due to the $py.class format change between 2.0 and 2.1. Deleting the $py.class files or recompiling apps solve the problem. A warning has been put in README by Finn. -- sP |
History | |||
---|---|---|---|
Date | User | Action | Args |
2001-07-20 14:29:39 | anonymous | create |
Supported by Python Software Foundation,
Powered by Roundup