Message6224

Author alex.gronholm
Recipients alex.gronholm
Date 2010-11-03.11:24:23
SpamBayes Score 3.0572e-11
Marked as misclassified No
Message-id <1288783465.66.0.692634956249.issue1674@psf.upfronthosting.co.za>
In-reply-to
Content
Trying a script with nothing but "from pdb import set_trace; set_trace()" through the Jython JSR-223 engine results in this:

>javax.script.ScriptException: TypeError: 'scope' object is not iterable in /home/alex/libs/jython2.5.2rc2/Lib/bdb.py at line number 52
	at org.python.jsr223.PyScriptEngine.scriptException(PyScriptEngine.java:191)
	at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:42)
	at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:47)
	at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:249)
	at myscript.ScriptingTest.main(ScriptingTest.java:26)

Caused by: Traceback (most recent call last):
  File "/home/alex/libs/jython2.5.2rc2/Lib/bdb.py", line 52, in trace_dispatch
    return self.dispatch_return(frame, arg)
  File "/home/alex/libs/jython2.5.2rc2/Lib/bdb.py", line 85, in dispatch_return
    self.user_return(frame, arg)
  File "/home/alex/libs/jython2.5.2rc2/Lib/pdb.py", line 170, in user_return
    self.interaction(frame, None)
  File "/home/alex/libs/jython2.5.2rc2/Lib/pdb.py", line 186, in interaction
    self.print_stack_entry(self.stack[self.curindex])
  File "/home/alex/libs/jython2.5.2rc2/Lib/pdb.py", line 827, in print_stack_entry
    print >>self.stdout, self.format_stack_entry(frame_lineno,
  File "/home/alex/libs/jython2.5.2rc2/Lib/bdb.py", line 335, in format_stack_entry
    if '__args__' in frame.f_locals:
TypeError: 'scope' object is not iterable
History
Date User Action Args
2010-11-03 11:24:25alex.gronholmsetrecipients: + alex.gronholm
2010-11-03 11:24:25alex.gronholmsetmessageid: <1288783465.66.0.692634956249.issue1674@psf.upfronthosting.co.za>
2010-11-03 11:24:25alex.gronholmlinkissue1674 messages
2010-11-03 11:24:24alex.gronholmcreate