Opened 12 years ago
Last modified 6 years ago
#38268 closed defect
tcl/tk 8.6 breaks apbs_tools.py in pymol — at Initial Version
Reported by: | howarth@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | ||
Port: | pymol |
Description
The tcl/tk 8.6 upgrade in MacPorts also has broke the ABPS Tools2 plugin component (apbs_tools.py) in the
pymol package. When the APBS Tools2 menu item in the Plugins menu of pymol is selected, the following error occurs...
<class '_tkinter.TclError'> Exception in Tk callback
Function: <function <lambda> at 0x10eadcb18> (type: <type 'function'>)
Args: ()
Traceback (innermost last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Pmw/Pmw_1_3_3/lib/PmwBase.py", line 1753, in call
return apply(self.func, args)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pmg_tk/startup/apbs_tools.py", line 265, in <lambda>
command = lambda s=self: APBSTools2(s))
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pmg_tk/startup/apbs_tools.py", line 628, in init
group.pack(fill='both',expand=1, padx=4, pady=5)
File "<string>", line 1, in pack
None
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk/Tkinter.py", line 1764, in pack_configure
+ self._options(cnf, kw))
<class '_tkinter.TclError'>: cannot use geometry manager pack inside .4774289136.4774290784.4774443416.4491855488 which already has slaves managed by grid
This appears to be a general issue with the new tcl/tk 8,6 which is inhibiting many grpups from migrating to it due to the regression in functionality for legacy code.
https://groups.google.com/forum/?fromgroups=#!topic/comp.lang.tcl/ncxQEhQ81TI