Dear David,
If this is what I think it is, you have probably made a new
NmrConstraintStore by hand while ARIA was running. That would have given
you two different NmrConstraintStores both with serial=25. The problem is
hard to avoid, since ARIA gets a snapshot of your data when it starts and
has no way of knowing what you are foing in parallel. For the future you
should avoid making new ConstraintStores while ARIA is running.
In the data directory for the project, in ccp/nmr/NmrConstraint, you
should have two files that both start with '25+' and end with '.xml'.
Pick the file that looks like it was *not* made by ARIA. The rest of the
file names include a time stamp, a projcet and a user, which might help.
Pick a new number that is higher than any that appears at the start of a
file name in this dierectory (e.g. 27). Rename the file so that it starts
'27+' instead of '25+'. open the file with an editor, go to teh line that
starts "<NMRC.NmrConstraintStore _ID=" (should be the fourth line); in
that line chnage 'serial="25"' to 'serial="27"'. Save, quit, and try
again.
This ought to work; if it does not let me know.
Yours,
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 Tue, 3 May 2011, David Jones wrote:
> Hi
>
> After my latest Aria run, it seems that my project became corrupted
> (erro below). Aria seems to have used the same number for an existing
> restraint list. Is there a way to recover this?
>
> Thanks
>
> David
>
>
>
>
>>>> Error loading file for: <ccp.nmr.NmrConstraint.NmrConstraintStore [25]>
> Reading: <open file '/mnt/s1/dnjones/brian/__C1A_dnmj3/ccp/nmr/NmrConstraint/25+__C1A_dnmj3_dnjones_2011-05-02-18-55-41-189_00001.xml', mode 'r' at 0x14e04128>
> Last xml tag read: NMRC.NmrConstraintStore.constraintLists
> Parser state was: postprocessing data
> Object stack was empty
> Exception in Tkinter callback
> Traceback (most recent call last):
> File "/usr/local/ccpnmr_2.1.5/python2.6/lib/python2.6/lib-tk/Tkinter.py", line 1410, in __call__
> return self.func(*args)
> File "/usr/local/ccpnmr_2.1.5/python2.6/lib/python2.6/lib-tk/Tkinter.py", line 495, in callit
> func(*args)
> File "/usr/local/ccpnmr_2.1.5/ccpnmr2.1/python/ccpnmr/analysis/popups/BrowseConstraints.py", line 758, in updateConstraintSets
> for constraintSet in self.nmrProject.sortedNmrConstraintStores():
> File "/usr/local/ccpnmr_2.1.5/ccpnmr2.1/python/ccp/api/nmr/Nmr.py", line 45499, in sortedNmrConstraintStores
> root.refreshTopObjects('ccp.nmr.NmrConstraint')
> File "/usr/local/ccpnmr_2.1.5/ccpnmr2.1/python/memops/api/Implementation.py", line 16727, in refreshTopObjects
> topObject = XmlIO.loadFromFile(self, filePath, partialLoad=True)
> File "/usr/local/ccpnmr_2.1.5/ccpnmr2.1/python/memops/format/xml/XmlIO.py", line 251, in loadFromFile
> partialLoad=partialLoad)
> File "/usr/local/ccpnmr_2.1.5/ccpnmr2.1/python/memops/format/xml/XmlIO.py", line 267, in loadFromStream
> partialLoad=partialLoad)
> File "/usr/local/ccpnmr_2.1.5/ccpnmr2.1/python/memops/xml/Implementation.py", line 4921, in loadFromStream
> linkChildData(delayDataDict, result, mapping, linkTopToParent, doOutOfPackage)
> File "/usr/local/ccpnmr_2.1.5/ccpnmr2.1/python/memops/xml/Implementation.py", line 5128, in linkChildData
> + ": %s:%s:%s" % (obj.getQualifiedName(), obj.getParent(), key)
> ApiError: Cannot add child - key already in use:
> ccp.nmr.NmrConstraint.NmrConstraintStore:<memops.Implementation.MemopsRoot
> id:225227436>:25
>
|