Menu

#1 jnios fails under Jython 2.2a1

open
nobody
None
5
2006-06-15
2006-06-15
No

When I run the test proposed on the website, I get :

Jython 2.2a1 on java1.5.0_06 (JIT: null)
Type "copyright", "credits" or "license" for more
information.
>>> from jnios import os
>>> dir(os)
Traceback (innermost last):
File "<console>", line 1, in ?
java.lang.NoSuchMethodError:
org.python.core.__builtin__.list(Lorg/python/core/PyObject;)Lorg/python/core/PyList;
at jnios.os.initModule(os.java:35)
at
org.python.core.PyJavaClass.initialize(PyJavaClass.java:139)
at
org.python.core.PyJavaClass.__tojava__(PyJavaClass.java:887)
at
org.python.core.ReflectedArgs.matches(ReflectedArgs.java:111)
at
org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:125)
at
org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:182)
at
org.python.core.PyObject.__call__(PyObject.java:594)
at org.python.pycode._pyx2.f$0(<console>:1)
at org.python.pycode._pyx2.call_function(<console>)
at
org.python.core.PyTableCode.call(PyTableCode.java:213)
at org.python.core.PyCode.call(PyCode.java:14)
at org.python.core.Py.runCode(Py.java:1182)
at org.python.core.Py.exec(Py.java:1204)
at
org.python.util.PythonInterpreter.exec(PythonInterpreter.java:148)
at
org.python.util.InteractiveInterpreter.runcode(InteractiveInterpreter.java:88)
at
org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:69)
at
org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:44)
at
org.python.util.InteractiveConsole.push(InteractiveConsole.java:83)
at
org.python.util.InteractiveConsole.interact(InteractiveConsole.java:62)
at org.python.util.jython.main(jython.java:214)

java.lang.NoSuchMethodError:
java.lang.NoSuchMethodError:
org.python.core.__builtin__.list(Lorg/python/core/PyObject;)Lo
rg/python/core/PyList;

Discussion

  • Gilles Scokart

    Gilles Scokart - 2006-06-15

    Logged In: YES
    user_id=733250

    Here is a patch.

     
  • Gilles Scokart

    Gilles Scokart - 2006-06-15
     
  • Gilles Scokart

    Gilles Scokart - 2006-06-15
     
  • Gilles Scokart

    Gilles Scokart - 2006-06-15
     

Log in to post a comment.