Print

Print


Hello,

I  have a strange problem with the project I am currently working on. I 
use to press save quite a lot, and if I have done something stupid and 
irreversible I usually close the project without saving it as an "undo" 
button doesn't exist, then open the project as it was before the stupid 
error. Probably not the most elegant procedure but it used to work. 
Since a couple of days though the project doesn't close when I go on 
"close" and press the "no" button in the prompted question concerning 
the saving. The only way I get the project to close is using the "quit 
Analysis" option - Analysis doesn't quit, but the project closes. 
Following this step I can't open the project again without killing the 
process using brutual force, i.e. closing the shell I used to open it. 
It is very forgiving and I can open the project again with the state I 
expected it to be in (last saved version before the stupid mistake), no 
error message comes up. Here's the output for the process (pretty much 
since I started working on it today) before I closed the shell.

Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
    return self.func(*args)
  File 
"/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py", 
li ne 1485, in closeProject
    self.destroyPopups()
  File 
"/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py", 
li ne 1496, in destroyPopups
    popup.destroy()
  File 
"/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditPeakListPopup.py" 
, line 742, in destroy
    self.doUnregisters()
  File 
"/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditPeakListPopup.py" 
, line 728, in doUnregisters
    self.unegisterNotify(self.updateWindowListsAfter, 
'ccpnmr.Analysis.SpectrumW indow', func)
  File 
"/usr/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/memops/gui 
/BasePopup.py", line 393, in __getattr__
AttributeError: EditPeakListPopup instance has no attribute 
'unegisterNotify'
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
    return self.func(*args)
  File 
"/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py", 
li ne 1063, in openProject
    if (not self.closeProject()):
  File 
"/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py", 
li ne 1485, in closeProject
    self.destroyPopups()
  File 
"/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py", 
li ne 1496, in destroyPopups
    popup.destroy()
  File 
"/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditPeakListPopup.py" 
, line 742, in destroy
    self.doUnregisters()
  File 
"/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditPeakListPopup.py" 
, line 728, in doUnregisters
    self.unegisterNotify(self.updateWindowListsAfter, 
'ccpnmr.Analysis.SpectrumW indow', func)
  File 
"/usr/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/memops/gui 
/BasePopup.py", line 393, in __getattr__
AttributeError: EditPeakListPopup instance has no attribute 
'unegisterNotify'
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
    return self.func(*args)
  File 
"/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py", 
li ne 1714, in quit
    self.destroy()
  File 
"/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py", 
li ne 1703, in destroy
    BasePopup.destroy(self)
  File 
"/usr/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/memops/edi 
tor/BasePopup.py", line 191, in destroy
  File 
"/usr/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/memops/gui 
/BasePopup.py", line 375, in destroy
  File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1868, in destroy
    for c in self.children.values(): c.destroy()
  File 
"/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditPeakListPopup.py" 
, line 742, in destroy
    self.doUnregisters()
  File 
"/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditPeakListPopup.py" 
, line 728, in doUnregisters
    self.unegisterNotify(self.updateWindowListsAfter, 
'ccpnmr.Analysis.SpectrumW indow', func)
  File 
"/usr/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/memops/gui 
/BasePopup.py", line 393, in __getattr__
AttributeError: EditPeakListPopup instance has no attribute 
'unegisterNotify'
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
    return self.func(*args)
  File 
"/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py", 
li ne 1069, in openProject
    applicationName=self.application.name)
  File 
"/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py", 
li ne 1036, in openPopup
    popup.open()
  File 
"/usr/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/memops/edi 
tor/BasePopup.py", line 150, in open
  File 
"/usr/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/memops/gui 
/BasePopup.py", line 213, in open
  File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1527, in wm_state
    return self.tk.call('wm', 'state', self._w, newstate)
TclError: bad window path name ".-1217637844.-1209056660"
 >>>

Where did things start to go wrong? Thanks a lot,

Baerbel