[issue11069] IDLE crashes when Stack Viewer opened
Brian Curtin
report at bugs.python.org
Sun Jan 30 04:11:11 CET 2011
Brian Curtin <curtin at acm.org> added the comment:
I don't get a crash, but it certainly doesn't work. Once IDLE is open I type "raise TypeError", then open the stack viewer as you did. Here's what I'm seeing:
[WINSEVEN] 2011-01-29 21:05:30.18
c:\Users\brian
>c:\python31\python.exe -m idlelib.idle
*** Internal Error: rpc.py:SocketIO.localcall()
Object: 49395136
Method: <bound method WrappedObjectTreeItem._GetSubList of <idlelib.RemoteObjec
tBrowser.WrappedObjectTreeItem object at 0x0000000002F1B5C0>>
Args: ()
Traceback (most recent call last):
File "c:\python31\lib\idlelib\rpc.py", line 188, in localcall
ret = method(*args, **kwargs)
File "c:\python31\lib\idlelib\RemoteObjectBrowser.py", line 21, in _GetSubList
return list(map(remote_object_tree_item, list))
TypeError: 'list' object is not callable
Exception in Tkinter callback
Traceback (most recent call last):
File "c:\python31\lib\tkinter\__init__.py", line 1399, in __call__
return self.func(*args)
File "c:\python31\lib\idlelib\PyShell.py", line 1171, in open_stack_viewer
return self.interp.remote_stack_viewer()
File "c:\python31\lib\idlelib\PyShell.py", line 572, in remote_stack_viewer
node.expand()
File "c:\python31\lib\idlelib\TreeWidget.py", line 131, in expand
self.update()
File "c:\python31\lib\idlelib\TreeWidget.py", line 170, in update
self.draw(7, 2)
File "c:\python31\lib\idlelib\TreeWidget.py", line 184, in draw
sublist = self.item._GetSubList()
File "c:\python31\lib\idlelib\RemoteObjectBrowser.py", line 36, in _GetSubList
return [StubObjectTreeItem(self.sockio, oid) for oid in list]
TypeError: 'NoneType' object is not iterable
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11069>
_______________________________________
More information about the Python-bugs-list
mailing list