Hello,
The top-level project file is (relatively) content-free and doesn't change
that much (or at least in very important ways) once the project is under
way. The key files are in PROJECT_DIR/ccp/molecule and
PROJECT_DIR/ccp/nmr and PROJECT_DIR/ccpnmr, where PROJECT_DIR is the
project name (normally).
Your error message indicates that it is PROJECT_DIR/ccpnmr/Analysis.xml
which is causing the problem. So during the crash it was probably writing
this and fell over before it was finished, so the file is not complete.
Fortunately this file only contains things like window names and positions
and contour colours and the like. So if you copy
PROJECT_DIR/ccpnmr/Analysis.xml.bak to PROJECT_DIR/ccpnmr/Analysis.xml you
will probably find that it starts up ok and not much will look that wrong
(I hope!).
Now PROJECT_DIR/ccp/nrm/Nmr.xml is the most important file. I imagine
this was not truncated, so the main question is whether Analysis.xml
crashed before this was saved or whether this was saved first. If the
former then your intermediate assignment (or whatever) work would have
been lost. So hopefully it was the latter. (I forget whether the save
routine always does things in a certain order and what that order might
be. But the output when the crash was happening would let you know. And
if that is missing then the timestamp of Nmr.xml would let you know.)
Let me know if any of the above does not make sense (so if you cannot get
going again).
Wayne
On Wed, 19 Mar 2008, Baerbel Blaum wrote:
> Hi there,
>
> my analysis project just did what looks like the worst case senario to
> me: It crashed right after I pressed the "save" button. It seems to me
> that this way I ended up with identical project.xml and project.xml.bak
> files - they are the same size and were last changed at the same point
> of time. The error when I now try to open either of the two with
> analysis reads "project invalid, please quit etc.: Error loading fileXML
> element <Panel Type_ID="_1470"name XML element does not end in '>'. The
> full traceback is:
>
> last xml element read:
> <PanelType _ID="_1470" name
>
> parser state was:
> reading
>
> ERROR loading xml ccpnmr.Analysis ccpnmr/Analysis.xml
> Traceback (most recent call last):
> File
> "/usr/local/ccpnmr//ccpnmr1.0/python/ccpnmr/analysis/AnalysisGui.py",
> line 222, in ?
> main(filename, max_size, glDirect)
> File
> "/usr/local/ccpnmr//ccpnmr1.0/python/ccpnmr/analysis/AnalysisGui.py",
> line 110, in main
> top.initProject(project)
> File
> "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py",
> line 947, in initProject
> Analysis.initProject(self, project)
> File "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/Analysis.py",
> line 406, in initProject
> self.initTopObjects(project)
> File "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/Analysis.py",
> line 204, in initTopObjects
> if not project.currentAnalysisProject:
> File
> "/usr/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/memops/api/Implementation.py",
> line 18901, in getCurrentAnalysisProject
> File
> "/usr/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/memops/api/Implementation.py",
> line 9797, in findFirstAnalysisProject
> File
> "/usr/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/memops/api/Implementation.py",
> line 9066, in load
> File "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/Analysis.py",
> line 109, in load
> self.currentPeak = None
> 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 824, in doLoad
> memops.general.Implementation.ApiError: Error loading fileXML element
> <PanelType _ID="_1470" name
> XML element does not end in '>'
> >>>
>
> Is there anything I can do to save this project?
>
> Thanks,
>
> Baerbel
>
|