[Idle-dev] Idle raises errors when F5 is hit

Joonas Paalasmaa joonas@olen.to
Mon, 15 Oct 2001 20:27:54 +0300


When I hit F5 in the *Python Shell* window Idle raises the following
errors.



Python 2.2a1 (#21, Jul 18 2001, 04:25:46) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
IDLE Fork 0.8 -- press F1 for help
>>> [I hit F5 here] Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\PYTHON\lib\lib-tk\Tkinter.py", line 1285, in __call__
    return apply(self.func, args)
  File "C:\PYTHON\lib\lib-tk\Tkinter.py", line 436, in callit
    apply(func, args)
  File "C:\Python\idlefork-0.8.1\PyShell.py", line 758, in idle
    self.server.rpc_loop()
  File "C:\Python\idlefork-0.8.1\protocol.py", line 356, in rpc_loop
    c.rpc_loop(block = 0)
  File "C:\Python\idlefork-0.8.1\protocol.py", line 281, in rpc_loop
    self.close_hook()
  File "C:\Python\idlefork-0.8.1\ExecBinding.py", line 127, in
connect_lost
    if self.output.owin and self.output.owin.text:
AttributeError: ExecBinding instance has no attribute 'output'