2.0b2: possible Tkinter bug
Kirby Urner
urner at alumni.princeton.edu
Thu Sep 28 00:40:24 EDT 2000
Transcript of a recent session. Each time I ran testgraph(), I got my
sine wave in a Tk canvas. After the 5th return to IDLE, I was starting
to type something else when:
Python 2.0b2 (#6, Sep 26 2000, 14:59:21) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
IDLE 0.6 -- press F1 for help
>>> import tkgraph
>>> tkgraph.testgraph()
>>> tkgraph.testgraph()
>>> tkgraph.testgraph()
>>> tkgraph.testgraph()
>>> tkgraph.testgraph()
>>> Exception in Tkinter callback
Traceback (most recent call last):
File "G:\PYTHON20\lib\lib-tk\Tkinter.py", line 1287, in __call__
return apply(self.func, args)
SystemError: C:\Code\python\dist\src\Objects\frameobject.c:127: bad argument to
internal function
Exception in Tkinter callback
Traceback (most recent call last):
File "G:\PYTHON20\lib\lib-tk\Tkinter.py", line 1287, in __call__
return apply(self.func, args)
SystemError: C:\Code\python\dist\src\Objects\frameobject.c:127: bad argument to
internal function
int(round(50)) <-- this was me typing
50
>>>
Python crashes after.
Upon running again, I got a similar crash upon first run of testgraph().
If source code for my tkgraph module might be relevant, I'm happy to post
more.
Kirby
More information about the Python-list
mailing list