Dear Chimera Dev Team,<div><br></div><div>I am writing a Chimera extension and I use the Pmw toolkit in my GUI. I had no problems testing it and it worked great until I decided to reinstall my OS (Windows 7). After that, I installed Chimera 1.5.3, imported my extension and didn't face any problems at first. But then, after closing the viewer and running it again, an error occured right after importing the extension's gui:</div>
<div><div><br></div><div>Traceback (most recent call last):</div><div> File "<pyshell#5>", line 1, in <module></div><div> b=Pmw.EntryField(a,labelpos="w",label_text="asd")</div>
<div> File "C:\Program Files (x86)\Chimera 1.5\bin\lib\site-packages\Pmw\Pmw_1_3\lib\PmwEntryField.py", line 73, in __init__</div><div> sequences = root.bind_class(tag)</div><div> File "C:\Program Files (x86)\Chimera 1.5\bin\lib\lib-tk\Tkinter.py", line 1012, in bind_class</div>
<div> return self._bind(('bind', className), sequence, func, add, 0)</div><div> File "C:\Program Files (x86)\Chimera 1.5\bin\lib\lib-tk\Tkinter.py", line 947, in _bind</div><div> return self.tk.splitlist(self.tk.call(what))</div>
<div>TclError: bad window path name ".94327912.94328912"</div></div><div><br></div><div>I didn't change anything since the last succesful testing of my extension - something happened after closing Chimera for the first time, and I have no idea what it is.</div>
<div><br></div><div>After that, I tried reinstalling Chimera, installing older versions - it's always the same story; everything works great on the first run, but after I close the viewer for the first time, I am not ever able to use Pmw anymore.</div>
<div><br></div><div>The code that causes this error is simple:</div><div><br></div><div>a=Tkinter.Tk()</div><div>b=Pmw.EntryField(a,labelpos="w",labeltext="c")</div><div><br></div><div>I tried to type the same thing in IDLE and I got the exact same error.</div>
<div><br></div><div>Thank you for any help,</div><div><br></div><div>best,</div><div><br></div><div>Mateusz</div>