Thank you very much! To my defense I have to say this was a project from a
colleague and I didn't looked into the sh2 directory. But nevertheless thanks
again and the next time I will have a quick look if there is a xml-file that
could confuse the converter.
best regards
Marco
Wayne Boucher Boucher wrote:
> Hello,
>
> The script got confused by the paths. So normally in v1 the files are
> like:
>
> sh2.xml
> sh2/ (everything else in here)
>
> And sh2.xml specifies where everything else is, only it claimed that
> sh2.xml was itself in the sh2/ directory, and indeed you had a copy there
> which was identical to the one higher up. Anyway, I just edited the top
> sh2.xml file to specify that it was located there rather than in sh2/ and
> the conversion worked ok. I'll send you a link in a subsequent post.
>
> Wayne
>
> On Wed, 8 Sep 2010, Marco Roeben wrote:
> > Hi,
> >
> > I tried to convert a v1 project. It fails and I have no clue why. I have
> > no v1 ccpnmr available at the moment so I cannot open the project
> > easily.
> >
> > This is the error message:
> >
> > Wed Sep 8 14:42:52 2010: job 1283953372 failed (tar file sh2):
> > ApiError: [Errno 2] No such file or directory:
> > '/tmp/ccpn/upgrade/data/Splash_c741f715/1283953372/original/ccpnmr/Analys
> > is.xml'
> >
> > File "/data/ccpn/www/cgi-bin/upgrade/upgrade", line 586, in
> >
> > convertMajorProject
> >
> > doMajorConvert(dataStem)
> >
> > File "/data/ccpn/www/cgi-bin/upgrade/upgrade", line 560, in
> > doMajorConvert
> >
> > p = Converters.doMajorUpgradeToCurrent(oldPath, oldTag, newDir=newDir)
> >
> > File
> >
> > "/data/ccpn/upgrade/cvsroot_branch_2_0_3/ccpn/python/memops/format/compat
> > ibility/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/compat
> > ibility/part2/Converters2.py", line 146, in getOldData
> >
> > storage.load()
> >
> > File
> >
> > "/data/ccpn/upgrade/cvsroot_branch4/ccpn/python/memops/api/Implementation
> > .py", line 9054, in load
> >
> > stream = self.url.getStream(self.package, path=self.path,
> >
> > headObject=self.project)
> >
> > File
> >
> > "/data/ccpn/upgrade/cvsroot_branch4/ccpn/python/memops/general/Implementa
> > tion.py", line 525, in getStream
> >
> > raise ApiError(str(e))
> >
> > Is there a way to fix it?
> >
> >
> > best regards
> > Marco
--
Dipl. Chem. Marco Röben
Leibniz-Institut für Molekulare Pharmakologie (FMP)
dep.: Solution NMR
Robert-Rössle-Str. 10
D-13125 Berlin
+49-30-94793224 (phone)
+49-030-94793169 (fax)
|