From: Leo S. M. <leo...@gm...> - 2008-08-13 13:59:22
|
On Wed, Aug 13, 2008 at 1:59 AM, Rafael Ferreira <ra...@op...> wrote: > On Mon, Aug 11, 2008 at 10:16 PM, Leo Soto M. <leo...@gm...> wrote: > > On Tue, Aug 12, 2008 at 1:03 AM, Rafael Ferreira <ra...@op...> wrote: [...] > > > 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) > > > > I think that this may be caused by some old *$py.class files. Can you > > try to clean up all the generated $py.class files and run the server > > again? > > so rm *class did the trick. The interesting thing tho is that if I run > "jython manage.py startapp blah" everything work just fine but I'm forced to > delete all the .class files again before being able to fire up runserver". > Go figure.. That's weird, I can't reproduce this on my system. Not that I know how to solve it, but I would try to do "svn up; ant clean; ant" to make sure that the most recent version is what you are using. If that doesn't work, can you please file a bug so we don't forget this? -- Leo Soto M. http://blog.leosoto.com |