Hey all,
When I opened my project with analysis 2.1.5. i got a geometry error which looked something like this (unfortunately I didn't saved my error message because I found this in the mailing list):
TclError: bad geometry specifier "683x-1+236+0" (I also had the -1 at this position)
?something in between?
return self.tk.call('wm', 'geometry', self._w, newGeometry)
I looked in ?PROJECT_DIRECTORY/ccpnmr/analysis/....xml? for something like this
<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>
I found the function which was causing the problem and changes the -1 to 100. (It had something to do with the FormatConverter which is ok because I left the FormatConverter open when I saved the project. Might this be regular problem?)
Unfortunately the changing to 100 didn't help, I got this error message:
ValueError: too many values to unpack
File "/usr/lib/pymodules/python2.6/ccpn/python/memops/editor/OpenProjectPopup.py", line 208, in apply self.callback(self.project)
File "/usr/lib/pymodules/python2.6/ccpn/python/ccpnmr/analysis/AnalysisPopup.py", line 1548, in initProject
self.openActivePopups()
File "/usr/lib/pymodules/python2.6/ccpn/python/ccpnmr/analysis/AnalysisPopup.py", line 812, in openActivePopups
func()
File "/usr/lib/pymodules/python2.6/ccpn/python/ccpnmr/analysis/AnalysisPopup.py", line 2573, in runFormatConverter
popup = self.openPopup('run_format_converter', FormatConverter, project=self.project, oldStyle=True, threading=threading)
File "/usr/lib/pymodules/python2.6/ccpn/python/ccpnmr/analysis/AnalysisPopup.py", line 1697, in openPopup
popup.geometry(geom)
File "/usr/lib/pymodules/python2.6/ccpn/python/memops/gui/BasePopup.py", line 310, in geometry
height, x, y = rest.split('+')
Traceback (most recent call last):
File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1408, in __call__ def __call__(self, *args):
When I opened the project, the project did not open (the opening dialog stays open) but the FormatConverter did open so I thought closing this might do the trick. So I closed the FormatConverter and saved the project again (which was possible). But reopening gave a different error and I still can not open my project.
AttributeError: 'NoneType' object has no attribute 'currentNmrProject'
File "/usr/lib/pymodules/python2.6/ccpn/python/memops/editor/OpenProjectPopup.py", line 208, in apply self.callback(self.project)
File "/usr/lib/pymodules/python2.6/ccpn/python/ccpnmr/analysis/AnalysisPopup.py", line 1556, in initProject
for experiment in self.project.currentNmrProject.sortedExperiments():
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1413, in __call__
return self.func(*args)
File "/usr/lib/pymodules/python2.6/ccpn/python/memops/gui/BasePopup.py", line 229, in ok
if (not self.apply()):
File "/usr/lib/pymodules/python2.6/ccpn/python/memops/editor/OpenProjectPopup.py", line 213, in apply
self.enableOk()
File "/usr/lib/pymodules/python2.6/ccpn/python/memops/editor/OpenProjectPopup.py", line 160, in enableOk
self.ok_button.config(state=Tkinter.NORMAL)
File "/usr/lib/pymodules/python2.6/ccpn/python/memops/gui/Button.py", line 147, in config
return self.configure(**options)
File "/usr/lib/pymodules/python2.6/ccpn/python/memops/gui/Button.py", line 142, in configure
return Tkinter.Button.config(self, **options)
File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1205, in configure
return self._configure('configure', cnf, kw)
File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1196, in _configure
self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
TclError: invalid command name ".197605132.3078830476L.197272940.201338860.201338316"
Is there any possibility to recover this project? I would appreciate any help. Thank.
Kind regards,
Nina
|