12 Aug 07:00
Problems with jython trunk and django 1.0 alpha 2
From: Rafael Ferreira <raf <at> ophion.org>
Subject: Problems with jython trunk and django 1.0 alpha 2
Newsgroups: gmane.comp.lang.jython.user
Date: 2008-08-12 05:03:18 GMT
Subject: Problems with jython trunk and django 1.0 alpha 2
Newsgroups: gmane.comp.lang.jython.user
Date: 2008-08-12 05:03:18 GMT
Guys,
I'm using jython-asm trunk against the latest django release and everything kinda works but when I go to run the build in developer server I get the following:
rafael-mb:dj rafael$ jython manage.py runserver
Traceback (most recent call last):
File "manage.py", line 4, in <module>
import settings # Assumed to be in the same directory.
java.lang.ArrayIndexOutOfBoundsException: 51201
at org.python.objectweb.asm.ClassReader.readClass(Unknown Source)
at org.python.objectweb.asm.ClassReader.accept(Unknown Source)
at org.python.objectweb.asm.ClassReader.accept(Unknown Source)
at org.python.core.APIReader.<init>(APIReader.java:33)
at org.python.core.imp.unmarshalCode(imp.java:117)
at org.python.core.imp.createFromPyClass(imp.java:90)
at org.python.core.imp.loadFromSource(imp.java:472)
at org.python.core.imp.find_module(imp.java:380)
at org.python.core.imp.import_next(imp.java:565)
at org.python.core.imp.import_name(imp.java:665)
at org.python.core.imp.importName(imp.java:725)
at org.python.core.ImportFunction.load(__builtin__.java:1227)
at org.python.core.ImportFunction.__call__(__builtin__.java:1223)
at org.python.core.PyObject.__call__(PyObject.java:251)
at org.python.core.__builtin__.__import__(__builtin__.java:1184)
at org.python.core.imp.importOne(imp.java:736)
at org.python.pycode._pyx0.f$0(manage.py)
at org.python.pycode._pyx0.call_function(manage.py)
at org.python.core.PyTableCode.call(PyTableCode.java:185)
at org.python.core.PyCode.call(PyCode.java:14)
at org.python.core.Py.runCode(Py.java:1200)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:155)
at org.python.util.jython.run(jython.java:220)
at org.python.util.jython.main(jython.java:110)
ArrayIndexOutOfBoundsException: java.lang.ArrayIndexOutOfBoundsException: 51201
Any ideas?
- raf
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Jython-users mailing list Jython-users <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jython-users
RSS Feed