Comment #34 on issue 1233 by [email protected]: fix the rest of jython bugs
http://code.google.com/p/sympy/issues/detail?id=1233
OK, testing on Jython dev branch and
8abc1caf5eba6273e6b802aa73acd68284960a08, there are a bunch of failures,
and then
sympy/parsing/tests/test_maxima.py[3] ..F
[FAIL]
Traceback (most recent call last):
File "setup.py", line 233, in <module>
setup(
File "/Users/aaronmeurer/Documents/jython/dist/Lib/distutils/core.py",
line 152, in setup
dist.run_commands()
File "/Users/aaronmeurer/Documents/jython/dist/Lib/distutils/core.py",
line 152, in setup
dist.run_commands()
File "/Users/aaronmeurer/Documents/jython/dist/Lib/distutils/dist.py",
line 953, in run_commands
self.run_command(cmd)
File "/Users/aaronmeurer/Documents/jython/dist/Lib/distutils/dist.py",
line 972, in run_command
cmd_obj.run()
File "setup.py", line 164, in run
if sympy.test():
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/utilities/runtests.py",
line 193, in test
return t.test(sort=sort)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/utilities/runtests.py",
line 518, in test
self.test_file(f)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/utilities/runtests.py",
line 518, in test
self.test_file(f)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/utilities/runtests.py",
line 532, in test_file
execfile(filename, gl)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/utilities/runtests.py",
line 532, in test_file
execfile(filename, gl)
File "/users/aaronmeurer/documents/python/sympy/sympy/sympy/physics/quantum/tests/test_anticommutator.py",
line 3, in <module>
from sympy.physics.quantum.dagger import Dagger
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/physics/quantum/__init__.py",
line 46, in <module>
from represent import __all__ as rep_all
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/physics/quantum/represent.py",
line 21, in <module>
from sympy.physics.quantum.operatorset import operators_to_state,
state_to_operators
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/physics/quantum/operatorset.py",
line 27, in <module>
from sympy.physics.quantum.spin import (
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/physics/quantum/spin.py",
line 871, in <module>
Jx = JxOp('J')
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/physics/quantum/qexpr.py",
line 120, in __new__
inst = Expr.__new__(cls, *args, **{'commutative':False})
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/core/basic.py",
line 85, in __new__
obj._init_assumptions(assumptions)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/core/assumptions.py",
line 237, in _init_assumptions
self._assumptions = self.default_assumptions
java.lang.ArrayIndexOutOfBoundsException: 2
at org.python.core.PyObjectDerived.setSlot(PyObjectDerived.java:13)
at org.python.core.PySlot.member_descriptor___set__(PySlot.java:50)
at org.python.core.PySlot.__set__(PySlot.java:44)
at org.python.core.PyObject.object___setattr__(PyObject.java:3795)
at org.python.core.PyObject.object___setattr__(PyObject.java:3785)
at org.python.core.PyObject$object___setattr___exposer.__call__(Unknown
Source)
at
org.python.core.PyObjectDerived.__setattr__(PyObjectDerived.java:1010)
at
sympy.core.assumptions$py._init_assumptions$10(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/core/assumptions.py:257)
at
sympy.core.assumptions$py.call_function(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/core/assumptions.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:357)
at org.python.core.PyMethod.__call__(PyMethod.java:136)
at
sympy.core.basic$py.__new__$3(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/core/basic.py:89)
at
sympy.core.basic$py.call_function(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/core/basic.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:406)
at org.python.core.PyFunction.__call__(PyFunction.java:401)
at org.python.core.PyFunction.__call__(PyFunction.java:396)
at org.python.core.PyObject._callextra(PyObject.java:543)
at
sympy.physics.quantum.qexpr$py.__new__$5(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/physics/quantum/qexpr.py:123)
at
sympy.physics.quantum.qexpr$py.call_function(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/physics/quantum/qexpr.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:406)
at org.python.core.PyFunction.__call__(PyFunction.java:401)
at org.python.core.PyFunction.__call__(PyFunction.java:396)
at org.python.core.PyType.invokeNew(PyType.java:486)
at org.python.core.PyType.type___call__(PyType.java:1638)
at org.python.core.PyType$type___call___exposer.__call__(Unknown Source)
at org.python.core.PyTypeDerived.__call__(PyTypeDerived.java:959)
at org.python.core.PyObject.__call__(PyObject.java:403)
at org.python.core.PyObject.__call__(PyObject.java:407)
at
sympy.physics.quantum.spin$py.f$0(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/physics/quantum/spin.py:1456)
at
sympy.physics.quantum.spin$py.call_function(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/physics/quantum/spin.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:393)
at org.python.core.imp.createFromSource(imp.java:356)
at org.python.core.imp.loadFromSource(imp.java:583)
at org.python.core.imp.find_module(imp.java:480)
at org.python.core.PyModule.impAttr(PyModule.java:101)
at org.python.core.imp.import_next(imp.java:739)
at org.python.core.imp.import_logic(imp.java:801)
at org.python.core.imp.import_module_level(imp.java:861)
at org.python.core.imp.importName(imp.java:936)
at org.python.core.ImportFunction.__call__(__builtin__.java:1278)
at org.python.core.PyObject.__call__(PyObject.java:373)
at org.python.core.__builtin__.__import__(__builtin__.java:1231)
at org.python.core.imp.importFromAs(imp.java:1030)
at org.python.core.imp.importFrom(imp.java:1006)
at
sympy.physics.quantum.operatorset$py.f$0(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/physics/quantum/operatorset.py:275)
at
sympy.physics.quantum.operatorset$py.call_function(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/physics/quantum/operatorset.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:393)
at org.python.core.imp.createFromSource(imp.java:356)
at org.python.core.imp.loadFromSource(imp.java:583)
at org.python.core.imp.find_module(imp.java:480)
at org.python.core.PyModule.impAttr(PyModule.java:101)
at org.python.core.imp.import_next(imp.java:739)
at org.python.core.imp.import_logic(imp.java:801)
at org.python.core.imp.import_module_level(imp.java:861)
at org.python.core.imp.importName(imp.java:936)
at org.python.core.ImportFunction.__call__(__builtin__.java:1278)
at org.python.core.PyObject.__call__(PyObject.java:373)
at org.python.core.__builtin__.__import__(__builtin__.java:1231)
at org.python.core.imp.importFromAs(imp.java:1030)
at org.python.core.imp.importFrom(imp.java:1006)
at
sympy.physics.quantum.represent$py.f$0(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/physics/quantum/represent.py:486)
at
sympy.physics.quantum.represent$py.call_function(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/physics/quantum/represent.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:393)
at org.python.core.imp.createFromSource(imp.java:356)
at org.python.core.imp.loadFromSource(imp.java:583)
at org.python.core.imp.find_module(imp.java:480)
at org.python.core.PyModule.impAttr(PyModule.java:101)
at org.python.core.imp.import_next(imp.java:739)
at org.python.core.imp.import_module_level(imp.java:846)
at org.python.core.imp.importName(imp.java:936)
at org.python.core.ImportFunction.__call__(__builtin__.java:1278)
at org.python.core.PyObject.__call__(PyObject.java:373)
at org.python.core.__builtin__.__import__(__builtin__.java:1231)
at org.python.core.imp.importFromAs(imp.java:1030)
at org.python.core.imp.importFrom(imp.java:1006)
at
sympy.physics.quantum$py.f$0(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/physics/quantum/__init__.py:60)
at
sympy.physics.quantum$py.call_function(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/physics/quantum/__init__.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:393)
at org.python.core.imp.createFromSource(imp.java:356)
at org.python.core.imp.loadFromSource(imp.java:583)
at org.python.core.imp.find_module(imp.java:480)
at org.python.core.PyModule.impAttr(PyModule.java:101)
at org.python.core.imp.import_next(imp.java:739)
at org.python.core.imp.import_logic(imp.java:801)
at org.python.core.imp.import_module_level(imp.java:861)
at org.python.core.imp.importName(imp.java:936)
at org.python.core.ImportFunction.__call__(__builtin__.java:1278)
at org.python.core.PyObject.__call__(PyObject.java:373)
at org.python.core.__builtin__.__import__(__builtin__.java:1231)
at org.python.core.imp.importFromAs(imp.java:1030)
at org.python.core.imp.importFrom(imp.java:1006)
at
org.python.pycode._pyx6495.f$0(/users/aaronmeurer/documents/python/sympy/sympy/sympy/physics/quantum/tests/test_anticommutator.py:46)
at
org.python.pycode._pyx6495.call_function(/users/aaronmeurer/documents/python/sympy/sympy/sympy/physics/quantum/tests/test_anticommutator.py)
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:1302)
at org.python.core.__builtin__.execfile_flags(__builtin__.java:518)
at org.python.core.__builtin__.execfile(__builtin__.java:495)
at org.python.core.__builtin__.execfile(__builtin__.java:522)
at org.python.core.BuiltinFunctions.__call__(__builtin__.java:144)
at org.python.core.PyObject.__call__(PyObject.java:424)
at
sympy.utilities.runtests$py.test_file$16(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/utilities/runtests.py:597)
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:357)
at org.python.core.PyMethod.__call__(PyMethod.java:136)
at
sympy.utilities.runtests$py.test$15(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/utilities/runtests.py:522)
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:417)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:232)
at org.python.core.PyMethod.__call__(PyMethod.java:223)
at
sympy.utilities.runtests$py.test$7(/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/utilities/runtests.py:193)
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:114)
at org.python.core.PyFunction.__call__(PyFunction.java:337)
at org.python.pycode._pyx0.run$15(setup.py:167)
at org.python.pycode._pyx0.call_function(setup.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyBaseCode.call(PyBaseCode.java:134)
at org.python.core.PyFunction.__call__(PyFunction.java:347)
at org.python.core.PyMethod.__call__(PyMethod.java:121)
at
distutils.dist$py.run_command$24(/Users/aaronmeurer/Documents/jython/dist/Lib/distutils/dist.py:973)
at
distutils.dist$py.call_function(/Users/aaronmeurer/Documents/jython/dist/Lib/distutils/dist.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:357)
at org.python.core.PyMethod.__call__(PyMethod.java:136)
at
distutils.dist$py.run_commands$23(/Users/aaronmeurer/Documents/jython/dist/Lib/distutils/dist.py:952)
at
distutils.dist$py.call_function(/Users/aaronmeurer/Documents/jython/dist/Lib/distutils/dist.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyBaseCode.call(PyBaseCode.java:134)
at org.python.core.PyFunction.__call__(PyFunction.java:347)
at org.python.core.PyMethod.__call__(PyMethod.java:121)
at
distutils.core$py.setup$2(/Users/aaronmeurer/Documents/jython/dist/Lib/distutils/core.py:171)
at
distutils.core$py.call_function(/Users/aaronmeurer/Documents/jython/dist/Lib/distutils/core.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:406)
at org.python.core.PyFunction.__call__(PyFunction.java:401)
at org.python.pycode._pyx0.f$0(setup.py:233)
at org.python.pycode._pyx0.call_function(setup.py)
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:1302)
at
org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:235)
at org.python.util.jython.run(jython.java:308)
at org.python.util.jython.main(jython.java:137)
java.lang.ArrayIndexOutOfBoundsException:
java.lang.ArrayIndexOutOfBoundsException: 2
So it looks like bug from http://bugs.jython.org/issue1777 is still unfixed.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.