Dear Chris,
It looks like the file got corrupted somehow, this sounds like one of
those 'this should not happen' errors. Could you send me the project (or
if that is a problem, just the Nmr.xml file)? Send it to me rather than to
the mailing list, and I'll have a look.
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 Fri, 28 Jan 2005, Chris MacRaild wrote:
> Hi,
>
> I have a project which which Analysis now refuses to open. It saved OK
> last time I was working with it. The stack trace is:
>
> Error dereferencing resonanceSets for object ccp.Nmr.AtomSet with
> (partial) key :
> [331]
>
> last xml element read:
> </_StorageUnit>
>
>
> parser state was:
> setting links and multiattributes
>
> ERROR loading xml ccp.Nmr ccp/Nmr.xml
> Exception in Tkinter callback
> Traceback (most recent call last):
> File
> "/home/chris/bin/ccpnmr/python2.2/lib/python2.2/lib-tk/Tkinter.py", line
> 1316, in __call__
> return apply(self.func, args)
> File
> "/home/chris/bin/ccpnmr/ccpnmr1.0/python/memops/gui/BasePopup.py", line
> 157, in ok
> if (not self.apply()):
> File
> "/home/chris/bin/ccpnmr/ccpnmr1.0/python/memops/editor/OpenProjectPopup.py", line 117, in apply
> self.callback(self.project)
> File
> "/home/chris/bin/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py", line 772, in initProject
> Analysis.initProject(self, project)
> File
> "/home/chris/bin/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/Analysis.py",
> line 195, in initProject
> self.initResonances()
> File
> "/home/chris/bin/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/Analysis.py",
> line 907, in initResonances
> resonances = self.project.resonances
> File
> "/home/chris/bin/ccpnmr/ccpnmr1.0/python/memops/api/Implementation.py",
> line 11934, in getResonances
> otherStorage.load()
> File
> "/home/chris/bin/ccpnmr/ccpnmr1.0/python/memops/api/Implementation.py",
> line 6225, in load
> ioModule.load(stream,self.project)
> File "/usr/pcu338/chris/bin/ccpnmr/ccpnmr1.0/python/ccp/xml/Nmr.py",
> line 113, in load
> return GeneralXmlIO.load(stream, mapping, parentObject)
> File
> "/home/chris/bin/ccpnmr/ccpnmr1.0/python/memops/format/xml/XmlIO.py",
> line 361, in load
> result = doLoad(stream, mapping, headObject)
> File
> "/home/chris/bin/ccpnmr/ccpnmr1.0/python/memops/format/xml/XmlIO.py",
> line 516, in doLoad
> loadDelayedData(objectDict, delayedLoadData)
> File
> "/home/chris/bin/ccpnmr/ccpnmr1.0/python/memops/format/xml/XmlIO.py",
> line 916, in loadDelayedData
> setattr(obj,tag,targets)
> File "/home/chris/bin/ccpnmr/ccpnmr1.0/python/ccp/api/Nmr.py", line
> 9110, in setResonanceSets
> if value.__dict__.get('isDeleted'):
> AttributeError: 'NoneType' object has no attribute '__dict__'
>
|