Closed josan82 closed 6 years ago
This can be fixed by adding these lines on any Extension that is loaded within the GUI:
import Tkinter as tk
import Tix
Tix._default_root = tk._default_root
In fact, we are doing that right after the chimeraInit
call, but apparently it's too early to make any effect. I will look into something scheduled for later execution or something like that.
When using the pychimera --gui, Chimera raises a RuntimeError when I try to launch the 2D Labels utility (Tools->Utilities->2D Labels), after opening a model in the window.
It seems to complain about there is not an opened root window, but in fact this is false, because before calling 2D Labels a chemical model was opened.
When doing the same with a normal Chimera, there is no problem at all, and the 2D Labels utility is opened without problem.
The complete traceback of the Reply Log is: