Dear Robert,
The file that is truncated is Nmr.xmlm, so that would be the one you had
to get from the backup. There is a potential problem if you are mixing
recently saved files (for some packages) with backup files (for other
packages) that the result might be inconsistent. If you wnat to be sure
you should get the backup files for all the different packages, so that
they form a consistent set. Hint: look at the modification dates, and copy
the entire directory somewhere else before you start making changes.
Hope this helps,
Rasmus
---------------------------------------------------------------------------
Dr. Rasmus H. Fogh Email: [log in to unmask]
Dept. of Biochemistry, University of Cambridge,
80 Tennis Court Road, Cambridge CB2 1GA, UK. FAX (01223)766002
On Wed, 14 May 2008, Robert Dagil wrote:
> Hello
>
> I've had an accident saving my project while the terminal was quitting,
> resulting in that my project cannot be opened again. I've gotten the
> following error code:
>
> >>> last xml element read:
> <measurements _IDREF="_3671"/
>
> parser state was:
> reading
>
> ERROR loading xml ccp.nmr.Nmr ccp/nmr/Nmr.xml
> Exception in Tkinter callback
> Traceback (most recent call last):
> File "/home/rod/ccpnmr/python2.4/lib/python2.4/lib-tk/Tkinter.py", line 1345,
> in __call__
> return self.func(*args)
> File "/home/rod/ccpnmr/ccpnmr1.0/python/memops/gui/BasePopup.py", line 227, in
> ok
> if (not self.apply()):
> File "/home/rod/ccpnmr/ccpnmr1.0/python/memops/editor/OpenProjectPopup.py", li
> ne 142, in apply
> self.callback(self.project)
> File "/home/rod/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py", lin
> e 947, in initProject
> Analysis.initProject(self, project)
> File "/home/rod/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/Analysis.py", line 406
> , in initProject
> self.initTopObjects(project)
> File "/home/rod/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/Analysis.py", line 196
> , in initTopObjects
> if not project.currentNmrProject:
> File "/home/rod/ccpnmr/ccpnmr1.0/python/memops/api/Implementation.py", line 18
> 782, in getCurrentNmrProject
> result = self.findFirstNmrProject()
> File "/home/rod/ccpnmr/ccpnmr1.0/python/memops/api/Implementation.py", line 13
> 173, in findFirstNmrProject
> otherStorage.load()
> File "/home/rod/ccpnmr/ccpnmr1.0/python/memops/api/Implementation.py", line 90
> 66, in load
> ioModule.load(stream, self.project)
> File "/home/rod/ccpnmr/ccpnmr1.0/python/ccp/xml/nmr/Nmr.py", line 114, in load
> return GeneralXmlIO.load(stream, mapping, parentObject)
> File "/home/rod/ccpnmr/ccpnmr1.0/python/memops/format/xml/XmlIO.py", line 425,
> in load
> result = doLoad(stream, mapping, headObject)
> File "/home/rod/ccpnmr/ccpnmr1.0/python/memops/format/xml/XmlIO.py", line 824,
> in doLoad
> raise ApiError(loadError + "XML element <" + ee +
> ApiError: Error loading fileXML element <measurements _IDREF="_3671"/
> XML element does not end in '>'
>
>
> Can I copy my .xml.bak to my .xml file and then be up and running again?
>
>
> Cheers
>
> Robert
>
|