Message584
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)
|
|
Date |
User |
Action |
Args |
2008-02-20 17:17:02 | admin | link | issue522006 messages |
2008-02-20 17:17:02 | admin | create | |
|