Skip to content Skip to sidebar Skip to footer

Tclerror: Bad Window Path Name (python)

In one of the views there is a button for close the actual view, and it works, but when I try to open again the view it shows me the next error: Exception in Tkinter callback Trace

Solution 1:

The problem was that I had the buttonsList declared outside of the methods, as an attribute, and when I destroy the instance of the class, the attributes disappear, so I had to declare the list inside the constructor, doing this I have no problem with the destroy.


Post a Comment for "Tclerror: Bad Window Path Name (python)"