Dear CCPN list,
I have managed to break my project somehow, and was wondering if someone could help me to repair it. If I try to 'Save as...' I get the following traceback:
setPopupGeometry exception 'NoneType' object is not callable
setPopupGeometry exception 'NoneType' object is not callable
setPopupGeometry exception 'NoneType' object is not callable
setPopupGeometry exception 'NoneType' object is not callable
setPopupGeometry exception 'NoneType' object is not callable
setPopupGeometry exception 'NoneType' object is not callable
setPopupGeometry exception 'NoneType' object is not callable
Error loading file for: <ccp.nmr.NmrConstraint.NmrConstraintStore [8]>
Reading: <open file '/home/sprior/Documents/I_SH_20151116_moe/Projects/07_works/ccp/nmr/NmrConstraint/8+06_prot_sprior_2016-02-25-17-28-28-159_00001.xml', mode 'r' at 0x2aacef09bd20>
Last xml tag read: NMRC.NmrConstraintStore.structureGenerations
Parser state was: reading
Current object was: <ccp.nmr.NmrConstraint.NmrConstraintStore [8]>
And it won't save. If I try to generate shift matched restraints I get the following traceback:
Error loading file for: <ccp.nmr.NmrConstraint.NmrConstraintStore [8]>
Reading: <open file '/home/sprior/Documents/I_SH_20151116_moe/Projects/07_works/ccp/nmr/NmrConstraint/8+06_prot_sprior_2016-02-25-17-28-28-159_00001.xml', mode 'r' at 0x2aacf43a5ed0>
Last xml tag read: NMRC.NmrConstraintStore.structureGenerations
Parser state was: reading
Current object was: <ccp.nmr.NmrConstraint.NmrConstraintStore [8]>
WARNING Error in clean-up of incorrectly created object.
Data may be left in an illegal state
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/src/ccpnmr/python2.7/lib/python2.7/lib-tk/Tkinter.py", line 1532, in __call__
return self.func(*args)
File "/usr/src/ccpnmr/ccpnmr2.4/python/ccpnmr/analysis/popups/CalcDistConstraints.py", line 1531, in calcShiftMatchRestraints
self.calculateConstraints(doShiftMatch=True)
File "/usr/src/ccpnmr/ccpnmr2.4/python/ccpnmr/analysis/popups/CalcDistConstraints.py", line 1593, in calculateConstraints
maxDist=maxDist)
File "/usr/src/ccpnmr/ccpnmr2.4/python/ccpnmr/analysis/core/ConstraintBasic.py", line 2614, in makeAmbigDistConstraints
constraintSet = makeNmrConstraintStore(experiment.topObject)
File "/usr/src/ccpnmr/ccpnmr2.4/python/ccpnmr/analysis/core/ConstraintBasic.py", line 2035, in makeNmrConstraintStore
nmrConstraintStore = project.newNmrConstraintStore(nmrProject=nmrProject)
File "/usr/src/ccpnmr/ccpnmr2.4/python/memops/api/Implementation.py", line 18047, in newNmrConstraintStore
return NmrConstraintStore(self, **attrlinks)
File "/usr/src/ccpnmr/ccpnmr2.4/python/ccp/api/nmr/NmrConstraint.py", line 16213, in __init__
parent.refreshTopObjects('ccp.nmr.NmrConstraint')
File "/usr/src/ccpnmr/ccpnmr2.4/python/memops/api/Implementation.py", line 18244, in refreshTopObjects
topObject = XmlIO.loadFromFile(self, filePath, partialLoad=True)
File "/usr/src/ccpnmr/ccpnmr2.4/python/memops/format/xml/XmlIO.py", line 251, in loadFromFile
partialLoad=partialLoad)
File "/usr/src/ccpnmr/ccpnmr2.4/python/memops/format/xml/XmlIO.py", line 267, in loadFromStream
partialLoad=partialLoad)
File "/usr/src/ccpnmr/ccpnmr2.4/python/memops/xml/Implementation.py", line 5273, in loadFromStream
% ((curMap['content']['.qName'], clazz.__name__, vv[1:-1]),))
ApiError: No object found with package,class,key: ('ccp.nmr.Nmr', 'StructureGeneration', [1])
Can anyone help me to clean up the XML file to get it working again, please?
Many thanks.
[University of Lincoln]<http://lncn.eu/jv> Dr. Steve Prior | Instrument Scientist
College of Science
University of Lincoln. Brayford Pool, Lincoln, Lincolnshire. LN6 7TS
tel: +44 (0)1522 837098 (office) 22082 (NMR lab)
to book the NMR spectrometer<http://teamup.com/ks4060080b13f35b1d>
The University of Lincoln, located in the heart of the city of Lincoln, has established an international reputation based on high student satisfaction, excellent graduate employment and world-class research.
The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies.
Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions.
The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://lincoln.ac.uk/legal.
|