This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Tkdnd.py crashes due to read-only attributes
Type: Stage:
Components: Tkinter Versions: Python 2.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: loewis Nosy List: gpolo, loewis, tynods
Priority: normal Keywords:

Created on 2005-03-16 19:55 by tynods, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg60702 - (view) Author: tynods (tynods) Date: 2005-03-16 19:55
When running Tkdnd.py, it crashes :

Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Python24\Lib\lib-tk\Tkinter.py", line 1345,
in __call__
    return self.func(*args)
  File "C:\Python24\Lib\lib-tk\Tkdnd.py", line 179, in
on_release
    self.finish(event, 1)
  File "C:\Python24\Lib\lib-tk\Tkdnd.py", line 190, in
finish
    del root.__dnd
  File "C:\Python24\Lib\lib-tk\Tkinter.py", line 1653,
in __delattr__
    return delattr(self.tk, attr)
TypeError: 'tkapp' object has only read-only attributes
(del ._DndHandler__dnd)

msg64969 - (view) Author: Guilherme Polo (gpolo) * (Python committer) Date: 2008-04-05 12:03
This was fixed on rev 39219 (2 years and 8 months ago)
This surely could be closed by now.
History
Date User Action Args
2022-04-11 14:56:10adminsetgithub: 41708
2008-04-05 14:20:40benjamin.petersonsetstatus: open -> closed
resolution: fixed
2008-04-05 12:03:03gpolosetnosy: + gpolo
messages: + msg64969
2005-03-16 19:55:09tynodscreate