Message6632

Author asmeurer
Recipients amak, asmeurer
Date 2011-09-03.20:50:03
SpamBayes Score 3.0666265e-09
Marked as misclassified No
Message-id <1315083004.41.0.680497078063.issue1777@psf.upfronthosting.co.za>
In-reply-to
Content
So now that this is working, there are a lot of test failures, as I mentioned, but there is also what appears to be a jython bug:

Traceback (most recent call last):
  File "bin/test", line 55, in <module>
    ok = sympy.test(*args, **{"verbose": options.verbose, "kw": options.kw,
  File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/utilities/runtests.py", line 191, in test
    return t.test(sort=sort)
  File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/utilities/runtests.py", line 512, in test
    self.test_file(f)
  File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/utilities/runtests.py", line 512, in test
    self.test_file(f)
  File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/utilities/runtests.py", line 526, in test_file
    execfile(filename, gl)
  File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/utilities/runtests.py", line 526, in test_file
    execfile(filename, gl)
java.lang.ClassFormatError: Invalid method Code length 116077 in class file org/python/pycode/_pyx6285
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
	at org.python.core.BytecodeLoader$Loader.loadClassFromBytes(BytecodeLoader.java:119)
	at org.python.core.BytecodeLoader.makeClass(BytecodeLoader.java:37)
	at org.python.core.BytecodeLoader.makeCode(BytecodeLoader.java:67)
	at org.python.compiler.LegacyCompiler$LazyLegacyBundle.loadCode(LegacyCompiler.java:43)
	at org.python.core.CompilerFacade.compile(CompilerFacade.java:34)
	at org.python.core.Py.compile_flags(Py.java:1703)
	at org.python.core.Py.compile_flags(Py.java:1708)
	at org.python.core.Py.compile_flags(Py.java:1718)
	at org.python.core.__builtin__.execfile_flags(__builtin__.java:514)
	at org.python.core.__builtin__.execfile(__builtin__.java:499)
	at org.python.core.__builtin__.execfile(__builtin__.java:526)
	at org.python.core.BuiltinFunctions.__call__(__builtin__.java:155)
	at org.python.core.PyObject.__call__(PyObject.java:408)
	at sympy.utilities.runtests$py.test_file$16(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/utilities/runtests.py:591)
	at sympy.utilities.runtests$py.call_function(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/utilities/runtests.py)
	at org.python.core.PyTableCode.call(PyTableCode.java:165)
	at org.python.core.PyBaseCode.call(PyBaseCode.java:149)
	at org.python.core.PyFunction.__call__(PyFunction.java:327)
	at org.python.core.PyMethod.__call__(PyMethod.java:124)
	at sympy.utilities.runtests$py.test$15(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/utilities/runtests.py:516)
	at sympy.utilities.runtests$py.call_function(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/utilities/runtests.py)
	at org.python.core.PyTableCode.call(PyTableCode.java:165)
	at org.python.core.PyBaseCode.call(PyBaseCode.java:301)
	at org.python.core.PyBaseCode.call(PyBaseCode.java:194)
	at org.python.core.PyFunction.__call__(PyFunction.java:387)
	at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220)
	at org.python.core.PyMethod.__call__(PyMethod.java:211)
	at sympy.utilities.runtests$py.test$7(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/utilities/runtests.py:191)
	at sympy.utilities.runtests$py.call_function(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/utilities/runtests.py)
	at org.python.core.PyTableCode.call(PyTableCode.java:165)
	at org.python.core.PyBaseCode.call(PyBaseCode.java:301)
	at org.python.core.PyFunction.function___call__(PyFunction.java:376)
	at org.python.core.PyFunction.__call__(PyFunction.java:371)
	at org.python.core.PyFunction.__call__(PyFunction.java:366)
	at org.python.core.PyObject._callextra(PyObject.java:527)
	at org.python.pycode._pyx0.f$0(bin/test:62)
	at org.python.pycode._pyx0.call_function(bin/test)
	at org.python.core.PyTableCode.call(PyTableCode.java:165)
	at org.python.core.PyCode.call(PyCode.java:18)
	at org.python.core.Py.runCode(Py.java:1261)
	at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:235)
	at org.python.util.jython.run(jython.java:247)
	at org.python.util.jython.main(jython.java:129)

java.lang.ClassFormatError: java.lang.ClassFormatError: Invalid method Code length 116077 in class file org/python/pycode/_pyx6285

You can reproduce by using my jython-slots branch (see https://github.com/sympy/sympy/pull/586) and running "jython bin/test sympy/mpmath/tests/test_fp.py".  This is using the most recent version of Jython (2.5.2).
History
Date User Action Args
2011-09-03 20:50:04asmeurersetmessageid: <1315083004.41.0.680497078063.issue1777@psf.upfronthosting.co.za>
2011-09-03 20:50:04asmeurersetrecipients: + asmeurer, amak
2011-09-03 20:50:04asmeurerlinkissue1777 messages
2011-09-03 20:50:03asmeurercreate