As the summary, JNumeric has not worked for a while on new versions of Jython. Is this project dead? The most recent bug reports are years old.
Jython 2.2b2 on java1.5.0_08
Type "copyright", "credits" or "license" for more information.
>>> from Numeric import *
Traceback (innermost last):
File "<console>", line 1, in ?
at JNumeric.PyMultiarray.<init>(PyMultiarray.java:73)
at JNumeric.PyMultiarray.zeros(PyMultiarray.java:205)
at JNumeric.PyMultiarray.seqToMultiarray(PyMultiarray.java:102)
at JNumeric.PyMultiarray.array(PyMultiarray.java:188)
at JNumeric.BinaryFunction.<clinit>(BinaryUfunc.java:213)
at JNumeric.BinaryUfunc.<clinit>(BinaryUfunc.java:19)
at JNumeric.ArgmaxFunction.<clinit>(JNumeric.java:171)
at JNumeric.JNumeric.<clinit>(JNumeric.java:108)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at org.python.core.SyspathJavaLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.python.core.Py.findClassEx(Unknown Source)
at org.python.core.SysPackageManager.findClass(Unknown Source)
at org.python.core.PackageManager.findClass(Unknown Source)
at org.python.core.SysPackageManager.findClass(Unknown Source)
at org.python.core.PyJavaPackage.__findattr__(Unknown Source)
at org.python.core.PackageManager.lookupName(Unknown Source)
at org.python.core.JavaImporter.find_module(Unknown Source)
at org.python.core.JavaImporter.find_module(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
java.lang.NoSuchMethodError: java.lang.NoSuchMethodError: org.python.core.PySequence.<init>(Lorg/python/core/PyClass;)V
Logged In: YES
user_id=1076763
Originator: YES
I fixed the problem, it was mostly minor changes such as casting etc required in the new Jython versions. It took 5 mins to fix.