Re: [Fink-devel] pymol-py abps_tools.py fix

2009-12-10 Thread Jack Howarth
Michael, The core problem is that blt hasn't been properly updated from upstream since late 2002 and only has initial support for tcl/tk 8.4. Since then, each distro has been hacking around the remaining bugs in blt. My own guess is that it misuses pointers and memory such that it shows differen

Re: [Fink-devel] pymol-py abps_tools.py fix

2009-12-10 Thread Michael Lerner
We're working on a newer version of the plugin, and it looks like it'll be ready earlier than I expected. It's probably best to make the one-line change for now. I'll do my best to make sure the newer version is bug-free for the current fink version of everything before I release it, but that may m

Re: [Fink-devel] pymol-py abps_tools.py fix

2009-12-10 Thread Michael Lerner
I don't call blt directly from my plugin. In fact, I don't plot anything in the plugin, so unless Pmw automatically makes some blt calls for me, the plugin is probably blt-free. I haven't used pynmr before but it looks like you have to either compile something or get a precompiled binary from the

Re: [Fink-devel] pymol-py abps_tools.py fix

2009-12-10 Thread Michael Lerner
Hi, When I try that on my Ubuntu image, it makes it so that quitting the plugin causes PyMOL to quit. I don't really know much about tk. If there's a standard way to open / destroy the plugin, I'd be glad to change things around. As far as I know, the relevant bits are def __init__(self,app)

Re: [Fink-devel] pymol-py abps_tools.py fix

2009-12-09 Thread Jack Howarth
On Wed, Dec 09, 2009 at 12:49:37PM -0800, William G. Scott wrote: > I seem to remember pmw opportunistically links to blt if it is present, but > builds without complaint if it is not. fink policy (as far as I understand > it) is to have everyone's pwm (or any package) build the same way, so at

Re: [Fink-devel] pymol-py abps_tools.py fix

2009-12-09 Thread Jack Howarth
Michael, Changes that William Scott made to fink's blt for coot caused the pymol tk interface to get stuck with a watch cursor icon after the APBS tools window was closed. I found that pymol 1.1r1 didn't suffer from this problem against that blt whereas all of the pymol 1.2 releases did. Look

Re: [Fink-devel] pymol-py abps_tools.py fix

2009-12-09 Thread William G. Scott
I seem to remember pmw opportunistically links to blt if it is present, but builds without complaint if it is not. fink policy (as far as I understand it) is to have everyone's pwm (or any package) build the same way, so at some point I suggested making blt a dependency for pwm. As for the fi

Re: [Fink-devel] pymol-py abps_tools.py fix

2009-12-09 Thread Jack Howarth
Michael, Do you know if the APBS Tools plugin uses blt? I have working under the assumption that these problems are a manifestation of breakage in the existing blt 2.4z. Have you consider changing ABPS Tools to function more like pynmr (ie open its own window instead of a dialog)? I don't think

Re: [Fink-devel] pymol-py abps_tools.py fix

2009-12-04 Thread William G. Scott
Hi Jack: Again, many thanks. It has been a busy day so I didn't get a chance to try this until just now, but it fixed this highly annoying problem immediately. I'll pass it along upstream. All the best, Bill On Dec 4, 2009, at 8:25 AM, Jack Howarth wrote: > Bill, > Looking through the ch

[Fink-devel] pymol-py abps_tools.py fix

2009-12-04 Thread Jack Howarth
Bill, Looking through the changes in the abps_tools.py script from pymol 1.r1 to the current 1.2r2, I believe I've found the offending code. If I revert the change... --- modules/pmg_tk/startup/apbs_tools.py.broken 2009-12-04 11:11:03.0 -0500 +++ modules/pmg_tk/startup/apbs_tools.py