Hello,
It looks like the project got saved with a bum geometry and it's
complaining about that. So that "-1" in the "683x-1+236+0" is saying the
height of the popup is -1, which is illegal. I don't know how it got
saved like that though. Anyway, you should be able to fix this by editing
the file in the project directory:
PROJECT_DIRECTORY/ccpnmr/analysis/....xml
where the ... is some horrid long expression (dependent on the project
name and when you created it).
Inside that file there should be lines like (look for
"popup_geometry:top"):
<IMPL.ApplicationData.keyword>
<IMPL.Line>popup_geometry:top</IMPL.Line>
</IMPL.ApplicationData.keyword>
<IMPL.AppDataString.value>
<IMPL.String>683x-1+236+0</IMPL.String>
</IMPL.AppDataString.value>
Change the -1 to 100 or something and save the file. I hope that is the
only bum geometry in there. Each popup that is used gets a geometry
stored but the first one it hits is the "top" popup which is the one you
had the problem with here (or at least I think it is).
I'm not sure why this would ever work in 2.1.3 because it should hit the
same problem there (at least I think it should, looking at the code).
Wayne
On Fri, 27 Aug 2010, James Tolchard wrote:
> Hi,
>
> After upgrading one machine to 2.1.5 I can no longer open a project file,
> which continues to work OK in my archived 2.1.3 Analysis. The shell error
> reads:
>
>
>>>> TclError: bad geometry specifier "683x-1+236+0"
> File
> "/SOFTWARE/oldCCPNMR/ccpnmr/ccpnmr2.1/python/memops/editor/OpenProjectPopup.py",
> line 208, in apply
> self.callback(self.project)
> File
> "/SOFTWARE/oldCCPNMR/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/AnalysisPopup.py",
> line 1525, in initProject
> self.geometry(geom)
> File
> "/SOFTWARE/oldCCPNMR/ccpnmr/ccpnmr2.1/python/memops/gui/BasePopup.py",
> line 307, in geometry
> Tkinter.Toplevel.geometry(self, location)
> File
> "/SOFTWARE/oldCCPNMR/ccpnmr/python2.6/lib/python2.6/lib-tk/Tkinter.py",
> line 1492, in wm_geometry
> return self.tk.call('wm', 'geometry', self._w, newGeometry)
>
>
> Any help would be appreciated.
>
> Cheers,
>
> James.
>
|