Hello,
It looks like there are two non-standard chemComps in that project, so
CCP.xml and COD.xml. They are not located in the project directory so
were not uploaded. So the first thing is to copy them into the project
directory, so I would put them in (say)
/userhome/j.westermann/SAM/analysis/NaD2_rev/myChemComps/other/
Then you need to edit NaD2_rev.xml and look for the string "_148". The
first two occurrences are your chemComps (so the first one has path
"other/CCP.xml") and the third says:
<Url _ID="_148" serial="6" protocol="file" name="chemCompDataLocal">
<path>/userhome/j.westermann</path>
<storages _IDREF="_147"/>
<storages _IDREF="_149"/>
</Url>
Change that second line to:
<path>/userhome/j.westermann/SAM/analysis/NaD2_rev/myChemComps</path>
Then pack the project up (so obviously including the myChemComps
directory). Hopefully that will then work (but I can't test because I
don't have those chemComps).
Wayne
On Thu, 8 Oct 2009, Jan-Christoph Westermann wrote:
> Hi,
>
> I am converting my old version 1 projects to version 2 at
> the moment. Recent conversions (Oct 1st) worked well and
> everything is where it should be.
> Today I tried conversion of a larger project but that resulted
> in an error:
>
> ApiError: [Errno 2] No such file or directory:
> '/home/j.westermann/other/CCP.xml'
> File "/data/ccpn/www/cgi-bin/upgrade/upgrade", line 577, in
> convertMajorProject
> doMajorConvert(dataStem)
> File "/data/ccpn/www/cgi-bin/upgrade/upgrade", line 551, 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 7450, in load
> stream = self.url.getStream(self.package, path=self.path,
> headObject=self.headObject)
> File
> "/data/ccpn/upgrade/cvsroot_branch4/ccpn/python/memops/general/Implementation.py",
> line 525, in getStream
> raise ApiError(str(e))
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> The file /home/j.westermann/other/CCP.xml does exist,
> I am not sure what causes this problem. Any Ideas?
>
> Kind regards,
>
> Jan
> --
> Dr Jan-Christoph Westermann | Phone:+61 (0)7 334 62021
> Research Officer | Group David Craik
> Institute for Molecular Bioscience
> University of Queensland,
> Brisbane 4072, Australia
>
|