Hello,
The problem was (and I'm not sure why this happened!) that there were five
so-called ContentStorages (in the data model jargon) all pointing to the
same file (NmrConstraint_1.xml) on disk, so four of those were
inconsistent with what was on disk. I've fixed this by hand and have just
tried upgrading the project again and it worked. I'll send you the link
in a separate post.
Wayne
On Tue, 16 Dec 2008, [ISO-8859-1] Göran Karlsson wrote:
> Hi,
>
> I tried to convert a project from v.1 to v.2 but it failed. What
> should I do?
>
> Best regards,
>
> Göran Karlsson
> Swedish NMR centre at Gothenburg university
>
> 16 dec 2008 kl. 12.16 skrev [log in to unmask]:
>
> > Job failed: ApiError: Error loading fileHeadObject
> > ccp.nmr.Nmr.NmrConstraintStore:['auto1163798411.52', 8] differs from
> > file parent ccp.nmr.Nmr.NmrConstraintStore:['auto1163798411.52', 12]
> > File "/prg/local/apache/cgi-bin/ccpn/upgrade/upgrade", line 572, in
> > convertMajorProject
> > doMajorConvert(dataStem)
> > File "/prg/local/apache/cgi-bin/ccpn/upgrade/upgrade", line 546, in
> > doMajorConvert
> > p = Converters.doMajorUpgradeToCurrent(oldPath, oldTag,
> > newDir=newDir)
> > File "/data/ccpn/upgrade/cvsroot_branch_2_0_3/ccpn/python/memops/
> > format/compatibility/Converters.py", line 65, in
> > doMajorUpgradeToCurrent
> > oldRoot, oldVersionStr, oldTags = getOldData(oldPath, oldTag,
> > oldName=oldName)
> > File "/data/ccpn/upgrade/cvsroot_branch_2_0_3/ccpn/python/memops/
> > format/compatibility/part2/Converters2.py", line 146, in getOldData
> > storage.load()
> > File "/data/ccpn/upgrade/cvsroot_branch4/ccpn/python/memops/api/
> > Implementation.py", line 7462, in load
> > ioModule.load(stream, self.headObject)
> > File "/data/ccpn/upgrade/cvsroot_branch4/ccpn/python/ccp/xml/nmr/
> > NmrConstraint.py", line 107, in load
> > return GeneralXmlIO.load(stream, mapping, parentObject)
> > File "/data/ccpn/upgrade/cvsroot_branch4/ccpn/python/memops/format/
> > xml/XmlIO.py", line 429, in load
> > result = doLoad(stream, mapping, headObject)
> > File "/data/ccpn/upgrade/cvsroot_branch4/ccpn/python/memops/format/
> > xml/XmlIO.py", line 790, in doLoad
> > obj.qualifiedName,obj.getFullKey()
> >
> >
> > This job page: http://www.bio.cam.ac.uk/ccpn/upgrade/jobStatus/goran_ccbc40ce/1229429774.html
> >
> > All jobs page: http://www.bio.cam.ac.uk/ccpn/upgrade/jobStatus/goran_ccbc40ce/
>
|