Message7084

Author hnaderi
Recipients hnaderi
Date 2012-05-11.04:13:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1336709610.54.0.284192951276.issue1883@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,

I hope it's a right place for putting description.
when I run a python script which contains infinite or deep recursion, sometimes I get "maximum recusrion depth exceeded", sometimes I get the following exception. The problem is that after this exception happens, all run-time errors generate the same exception until I restart the application. Another thing is it happens when I run pythonInterpreter in a java thread. If I call it in the main, it works fine. reducing recersion depth with sys.setrecursionlimit does not resolve the issue.

Exception in thread "JythonThread[0]" java.lang.NoClassDefFoundError: Could not initialize class org.python.core.PyTraceback
	at org.python.core.PyException.tracebackHere(PyException.java:158)
	at org.python.core.PyException.tracebackHere(PyException.java:145)
	at org.python.core.PyTableCode.call(PyTableCode.java:169)
	at org.python.core.PyCode.call(PyCode.java:18)
	at org.python.core.Py.runCode(Py.java:1275)
	at org.python.core.Py.exec(Py.java:1319)
	at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:215)
	at Demo.JythonThread1.runScript(jython_test.java:104)
	at Demo.JythonThread1.run(jython_test.java:129)
History
Date User Action Args
2012-05-11 04:13:30hnaderisetmessageid: <1336709610.54.0.284192951276.issue1883@psf.upfronthosting.co.za>
2012-05-11 04:13:30hnaderisetrecipients: + hnaderi
2012-05-11 04:13:30hnaderilinkissue1883 messages
2012-05-11 04:13:30hnadericreate