Issue522006
Created on 2002-02-24.08:13:46 by anonymous, last changed 2009-03-13.23:31:19 by fwierzbicki.
Files | ||||
---|---|---|---|---|
File name | Uploaded | Description | Edit | Remove |
C-NONE.patch.txt | pedronis, 2003-11-06.22:55:03 | patch |
Messages | |||
---|---|---|---|
msg584 (view) | Author: Nobody/Anonymous (nobody) | Date: 2002-02-24.08:13:46 | |
When the --compiler NONE and --package something options are set, you get a FileNotFoundException because main.py tries to move the expected .class files into the correct package directory but the .class files were never generated. [psurette@p3 jysources]$ jythonc --compiler NONE --package some.package some/package/Echo.py :java_readline-0.7.0/java_readline.jar LD_LIBRARY_PATH=/usr/local/jython-2.1/java_readline-0.7.0 "/usr/local/jdk1.3.1_01/jre/bin/java" -Dpython.home="/usr/local/jython-2.1" -classpath "/usr/local/jython-2.1/jython.jar:$CLASSPATH" "org.python.util.jython" "$@" processing Echo Required packages: java.lang Creating adapters: Creating .java files: Echo module Echo extends java.lang.Object Leaving .java files, no compiler specified Traceback (innermost last): File "/usr/local/jython-2.1/Tools/jythonc/jythonc.py", line 5, in ? File "/usr/local/jython-2.1/Tools/jythonc/main.py", line 301, in main File "/usr/local/jython-2.1/Tools/jythonc/main.py", line 262, in writeResults File "/usr/local/jython-2.1/Tools/jythonc/main.py", line 236, in copyclass java.io.FileNotFoundException: ./jpywork/some/package/Echo.class (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:64) at java.lang.reflect.Constructor.newInstance(Native Method) at org.python.core.PyReflectedConstructor.__call__(PyReflectedConstructor.java) at org.python.core.PyJavaInstance.__init__(PyJavaInstance.java) at org.python.core.PyJavaClass.__call__(PyJavaClass.java) at org.python.core.PyObject.__call__(PyObject.java) at main$py.copyclass$7(/usr/local/jython-2.1/Tools/jythonc/main.py:236) at main$py.call_function(/usr/local/jython-2.1/Tools/jythonc/main.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at main$py.writeResults$8(/usr/local/jython-2.1/Tools/jythonc/main.py:262) at main$py.call_function(/usr/local/jython-2.1/Tools/jythonc/main.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at main$py.main$9(/usr/local/jython-2.1/Tools/jythonc/main.py:301) at main$py.call_function(/usr/local/jython-2.1/Tools/jythonc/main.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyObject.invoke(PyObject.java) at org.python.pycode._pyx0.f$0(/usr/local/jython-2.1/Tools/jythonc/jythonc.py:5) at org.python.pycode._pyx0.call_function(/usr/local/jython-2.1/Tools/jythonc/jythonc.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyCode.call(PyCode.java) at org.python.core.Py.runCode(Py.java) at org.python.core.__builtin__.execfile_flags(__builtin__.java) at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java) at org.python.util.jython.main(jython.java) java.io.FileNotFoundException: java.io.FileNotFoundException: ./jpywork/some/package/Echo.class (No such file or directory) |
|||
msg585 (view) | Author: Samuele Pedroni (pedronis) | Date: 2003-11-06.22:54:05 | |
Logged In: YES user_id=61408 specifying --deep too works around the bug. the patch for Tools/jythonc/main.py should fix it. |
|||
msg586 (view) | Author: Samuele Pedroni (pedronis) | Date: 2003-11-06.22:55:03 | |
Logged In: YES user_id=61408 oops, the patch |
|||
msg4264 (view) | Author: Frank Wierzbicki (fwierzbicki) | Date: 2009-03-13.23:31:19 | |
jythonc is unmaintained |
History | |||
---|---|---|---|
Date | User | Action | Args |
2009-03-13 23:31:19 | fwierzbicki | set | status: open -> closed resolution: wont fix messages: + msg4264 nosy: + fwierzbicki |
2002-02-24 08:13:46 | anonymous | create |
Supported by Python Software Foundation,
Powered by Roundup