[Idle-dev] [ idlefork-Bugs-754971 ] Tkinter callback exception

SourceForge.net noreply@sourceforge.net
Sun, 15 Jun 2003 11:58:53 -0700


Bugs item #754971, was opened at 2003-06-15 14:44
Message generated for change (Comment added) made by gvanrossum
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109579&aid=754971&group_id=9579

Category: None
Group: None
Status: Open
Resolution: None
>Priority: 7
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Kurt B. Kaiser (kbk)
Summary: Tkinter callback exception

Initial Comment:
Unfortunately I can't say how I caused this problem
probably by cut'n paste within an editor window of idle

This is idle 0.9b1 as shipped with Python cvs-version from
today

Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/local/lib/python2.3/lib-tk/Tkinter.py",
line 1343, in __call__
    return self.func(*args)
  File "/usr/local/lib/python2.3/idlelib/IOBinding.py",
line 198, in open
    filename = self.askopenfile()
  File "/usr/local/lib/python2.3/idlelib/IOBinding.py",
line 517, in askopenfile
    return self.opendialog.show(initialdir=dir,
initialfile=base)
  File
"/usr/local/lib/python2.3/lib-tk/tkCommonDialog.py",
line 54, in show
    s = self._fixresult(w, s)
  File
"/usr/local/lib/python2.3/lib-tk/tkFileDialog.py", line
92, in _fixresult
    return _Dialog._fixresult(widget, result)
TypeError: unbound method _fixresult() must be called
with _Dialog instance as first argument (got Frame
instance instead)


Helmut Jarausch

jarausch@skynet.be


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

>Comment By: Guido van Rossum (gvanrossum)
Date: 2003-06-15 14:58

Message:
Logged In: YES 
user_id=6380

Ouch. Right. I can reproduce this too with idle in Python CVS.

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

Comment By: Nobody/Anonymous (nobody)
Date: 2003-06-15 14:52

Message:
Logged In: NO 

I've just found out that I can reproduce this error as follows

on the command line
idle &

then   File -> Open
click at one of the displayed files
then press 'Open'

This is with  Tcl/Tk 8.4.3 on linux  2.4.21-ac1


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

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