Tk problem

Sebastien Hugues sebastien.hugues at swissinfo.org
Wed Mar 12 16:47:41 CET 2003


Hi !

Here is my problem:

I use python2.1 and Tk 8.3 on Debian Woody x86. 
I would like to delete a Line widget previously created 
in a Canvas widget and this error occurs:

File "seb.py", line 223, in ?
    line.delete ()
  File "line.py", line 50, in delete
    self.line.delete()
  File "/usr/lib/python2.1/lib-tk/Canvas.py", line 22, in delete
    self.canvas.delete(self.id)
  File "/usr/lib/python2.1/lib-tk/Tkinter.py", line 1974, in delete
    self.tk.call((self._w, 'delete') + args)
TclError: invalid command name ".136213316"


The bug is fully reproductible. I have made a Google search, but i have
not found interesting stuff. Could you help me ? Thanks in advance...

Regards

Sebastien






More information about the Python-list mailing list