The current apbs_tools.py in pymol svn is incompatible with tk 8.6 (which MacPorts has migrated to). The plugin crashes with the backtrace...
<class '_tkinter.TclError'> Exception in Tk callback
Function: <function <lambda> at 0x110428b18> (type: <type 'function'>)
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
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 .4536167960.4536169608.4536322240.4536485288 which already has slaves managed by grid
which seems to be the same issue described in this thread...
on the topic 'Again "cannot use geometry manager pack inside ..." '
This issue can be reproduced with the following steps...
1) Install MacPorts
2) sudo port -d selfupdate
3) sudo port -d install pymol
4) execute 'pymol' and then select the APBS Tools2 menu item from the Plugins menu.
I have upgraded the MacPorts py-pmw package locally to 1.3.3a which passes all if its demos under tcl/tk 8.5.13. This
particular crash isn't triiggered by any of the pmw demos so hopefully it can be worked around within abs-tools.py itself.