[Idle-dev] [ idlefork-Bugs-542764 ] Error message in Shell on run

noreply@sourceforge.net noreply@sourceforge.net
Sun, 19 May 2002 20:03:40 -0700


Bugs item #542764, was opened at 2002-04-12 10:29
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=109579&aid=542764&group_id=9579

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Williams (mikewilliams)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error message in Shell on run

Initial Comment:
Hi, I'm getting the following error message in the 
Interactive shell (if one is open) when I run a 
module for which an output window does not already 
exist. If the output exists then no such error. 
This doesn't actually seem to do anything (apart 
from echo the error to Shell) so it's no big 
problem - just disconcerting for users I guess. I 
know no Tk(inter) and limited Python so was unable 
to establish the cause of this:

<OutputWindow.OutputWindow instance at 0x85f0e4c>
None
{<PyShell.PyShellEditorWindow instance at 
0x8066964>: None, <PyShell.PyShell instance at 
0x84659a4>: None, <OutputWindow.OutputWindow 
instance at 0x85f7ac4>: None}Exception in Tkinter 
callback
Traceback (most recent call last):
  File "/usr/lib/python2.2/lib-tk/Tkinter.py", 
line 1292, in __call__
    return apply(self.func, args)
  File "/usr/lib/python2.2/lib-tk/Tkinter.py", 
line 436, in callit
    apply(func, args)
  File "/home/mw/bin/idle/OutputWindow.py", line 
86, in set_line_and_column
    if (self.text.compare(index, ">", "endmark")):
  File "/usr/lib/python2.2/lib-tk/Tkinter.py", 
line 2651, in compare
    return self.tk.getboolean(self.tk.call(
TclError: expected boolean value but got ""

This is on Python 2.2.1c1 in Debian Linux with an 
idlefork CVS grabbed 2002-04-11 with Tk and 
Tkinter 8.3.



----------------------------------------------------------------------

>Comment By: Stephen M. Gava (elguavas)
Date: 2002-05-20 13:03

Message:
Logged In: YES 
user_id=75867

I can reproduce this with 2.2.1 final and latest cvs also
under linux. Confirm it to be non-fatal. Will look into it
when I get a chance.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=109579&aid=542764&group_id=9579