Hello,
Just to let everyone know, it seems that the Nmr.xml file was truncated
and even more bizarrely the top-level project file was complete corrupted
(full of bits and pieces of all the other xml files, and also some random
bits of binary). The *.xml.bak files provided a backup, fortunately.
(These are created automatically any time a save is attempted by first
renaming the existing *.xml files to *.xml.bak, exactly to help out in
cases like this.)
Not sure what the underlying problem was, though.
Wayne
On Thu, 28 Jun 2007, Baerbel Blaum wrote:
> Hi there,
>
> my computer froze yesterday right after I pressed the "save" button in
> analysis, which I assume comes close to the worst case scenario. I gave
> it a night to recover, which it didn't, and after applying brutal force
> (restart) I can't open the project anymore. It tries to give me a hint:
>
>
> >>> last xml element read:
> <PeakDim _ID="_9412" dim="1" numAliasing="0"
> position="480.86447401344776" dataDimRef="_9152">
>
> parser state was:
> reading
>
> ERROR loading xml ccp.nmr.Nmr ccp/Nmr.xml
> 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/memops/gui/BasePopup.py",
> line 229, in ok
> if (not self.apply()):
> File
> "/usr/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/memops/editor/OpenProjectPopup.py",
> line 142, in apply
> File
> "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py",
> line 928, in initProject
> Analysis.initProject(self, project)
> File
> "/usr/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/Analysis.py",
> line 401, in initProject
> self.initTopObjects(project)
> File
> "/usr/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/Analysis.py",
> line 194, in initTopObjects
> if not project.currentNmrProject:
> File
> "/usr/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/memops/api/Implementation.py",
> line 18782, in getCurrentNmrProject
> File
> "/usr/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/memops/api/Implementation.py",
> line 13173, in findFirstNmrProject
> File
> "/usr/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/memops/api/Implementation.py",
> line 9066, in load
> File
> "/usr/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/ccp/xml/nmr/Nmr.py",
> line 114, in load
> File
> "/usr/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/memops/format/xml/XmlIO.py",
> line 425, in load
> File
> "/usr/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/memops/format/xml/XmlIO.py",
> line 836, in doLoad
> KeyError: 'PeakDim'
>
> Is there any hope to get it going again or do I have to get my hands on
> the backup?
>
> Cheers,
>
> Baerbel
>
|