Tk problem

Eric Brunel eric.brunel at pragmadev.com
Thu Mar 13 09:45:40 CET 2003


Sebastien Hugues wrote:
> 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...

Can you please post your code, at least the part showing the error? I use Python 
2.1 with Tk 8.3 all day on various platforms, and I never encountered this problem.
-- 
- Eric Brunel <eric.brunel at pragmadev.com> -
PragmaDev : Real Time Software Development Tools - http://www.pragmadev.com





More information about the Python-list mailing list