[MacPorts] #38268: tcl/tk 8.6 breaks apbs_tools.py in pymol

MacPorts noreply at macports.org
Sun Mar 3 11:20:23 PST 2013


#38268: tcl/tk 8.6 breaks apbs_tools.py in pymol
------------------------+--------------------------------
  Reporter:  howarth@…  |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.1.3
Resolution:             |   Keywords:
      Port:  pymol      |
------------------------+--------------------------------
Description changed by ryandesign@…:

Old description:

> The tcl/tk 8.6 upgrade in MacPorts also has broke the ABPS Tools2 plugin
> component (apbs_tools.py) in the[[BR]]
> pymol package. When the APBS Tools2 menu item in the Plugins menu of
> pymol is selected, the following error occurs...
> [[BR]]
> [[BR]]
> <class '_tkinter.TclError'> Exception in Tk callback[[BR]]
>   Function: <function <lambda> at 0x10eadcb18> (type: <type
> 'function'>)[[BR]]
>   Args: ()[[BR]]
> Traceback (innermost last):[[BR]]
>   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)[[BR]]
>   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))[[BR]]
>   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)[[BR]]
>   File "<string>", line 1, in pack[[BR]]
>     None[[BR]]
>   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))[[BR]]
> <class '_tkinter.TclError'>: cannot use geometry manager pack inside
> .4774289136.4774290784.4774443416.4491855488 which already has slaves
> managed by grid[[BR]]
> [[BR]]
> 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.[[BR]]
> [[BR]]
> https://groups.google.com/forum/?fromgroups=#!topic/comp.lang.tcl/ncxQEhQ81TI

New 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

--

-- 
Ticket URL: <https://trac.macports.org/ticket/38268#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list