Hi Wayne,
Thanks a lot - worked like a charm!
Pryank
Wayne Boucher wrote:
> Hmmm, I just looked at the documentation and for some reason I can't
> understand the link from PanelType to AxisType is one way. This means
> that if a PanelType exists for some AxisType and that AxisType is deleted
> then a special clean up function (which we do not have) is required to at
> the same time delete the PanelType. Since we don't have that function
> you have been left with a dangling reference, so to speak.
>
> If you edit the file
>
> AGR2/ccpnmr/Analysis/...
>
> where ... is some complicated name, then look for the lines that say
>
> <ANAL.PanelType _ID="_****" name="1">
> ...
> </ANAL.PanelType>
>
> where the **** is some number. If you delete those (three?) lines then
> you should be ok. (Before you do the edit do a backup just in case!) If
> you're unsure then send me the project.
>
> Wayne
>
> On Wed, 24 Feb 2010, Pryank Patel wrote:
>
>
>> Hi all,
>> This error is occurring in Analysis on both Linux and Mac installations...
>>
>> I have just tried to load a project this morning (a project which loaded
>> correctly yesterday) into Analysis v2.1.3 and am getting the following error
>> message in a popup:
>>
>> "Project invalid, please quit, fix and re-start: Linked-to object with ID not
>> found: <ccpnmr.Analysis.PanelType['AGR2','1']>:axisType:_6396"
>>
>> and in the console, the stack trace reads as follows:
>>
>>
>> For Python API documentation, tutorials and CCPN web applications visit:
>> http://www.ccpn.ac.uk/
>> Error during Std link dereferencing. Object was: <ccpnmr.Analysis.PanelType
>> ['AGR2', '1']>
>> values were: ['_6396']
>> tag name was: axisType
>> Error loading file for: <ccpnmr.Analysis.AnalysisProject ['AGR2']>
>> Reading: <open file
>> '/home/pryank/nmr-projects/AGR2-P40/AGR2/ccpnmr/Analysis/AGR2+AGR2_pryank_2009-03-25-13-41-03-887_00001.xml',
>> mode 'r' at 0x4ad2c68> Last xml tag read:
>> _StorageUnit Parser
>> state was: postprocessing data
>> Object stack was empty
>> Traceback (most recent call last):
>> File
>> "/home/pryank/programs/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/AnalysisGui.py",
>> line 231, in <module>
>> main(projectDir, max_size, glDirect)
>> File
>> "/home/pryank/programs/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/AnalysisGui.py",
>> line 118, in main
>> top.initProject(project)
>> File "ccpnmr2.1/python/ccpnmr/analysis/AnalysisPopup.py", line 1404, in
>> initProject
>> Analysis.initProject(self, project)
>> File "ccpnmr2.1/python/ccpnmr/analysis/Analysis.py", line 280, in
>> initProject
>> self.initTopObjects(project)
>> File "ccpnmr2.1/python/ccpnmr/analysis/Analysis.py", line 250, in
>> initTopObjects
>> self.analysisProject.isThreadingAllowed = False
>> File "ccpnmr2.1/python/ccpnmr/api/Analysis.py", line 10356, in
>> setIsThreadingAllowed
>>
>> File "ccpnmr2.1/python/memops/api/Implementation.py", line 5066, in load
>> File "ccpnmr2.1/python/memops/api/Implementation.py", line 5100, in loadFrom
>> File "ccpnmr2.1/python/memops/format/xml/XmlIO.py", line 236, in
>> loadTopObject
>> File "ccpnmr2.1/python/memops/format/xml/XmlIO.py", line 267, in
>> loadFromStream
>> File "ccpnmr2.1/python/memops/xml/Implementation.py", line 4851, in
>> loadFromStream
>> File "ccpnmr2.1/python/memops/xml/Implementation.py", line 5120, in
>> delayedLoadLinksStd
>> memops.general.Implementation.ApiError: Linked-to object with ID not found:
>> <ccpnmr.Analysis.PanelType ['AGR2', '1']>:axisType:_6396
>>
>> Yesterday I did create a new axis type, and then deleted it, so I'm wondering
>> if that has caused the problem? Any help will be very much appreciated.
>>
>> Best wishes,
>> Pryank
>>
>>
>>
>>
>>
|