Daer Gary,
In the upcoming version this kind of errors should not occur - we shall
raze teh Implementation package and reload all the TopObjects from file.
Yours,
Rasmus
---------------------------------------------------------------------------
Dr. Rasmus H. Fogh Email: [log in to unmask]
Dept. of Biochemistry, University of Cambridge,
80 Tennis Court Road, Cambridge CB2 1GA, UK. FAX (01223)766002
On Tue, 23 Oct 2007, Wayne Boucher wrote:
> That rings a bell, it must be a class that once existed and does not now.
> But it is still being referenced in the top-level project file. (Not sure
> in the new API how this situation would be sorted but presumably this
> would not happen. Rasmus will be able to quote the gospel.) So I'd
> recommend just removing references to this class from the top-level
> project file. You will find a line like:
>
> <NormalStorage _ID="_24" serial="6" isStored="false" isModifiable="true"
> package="ccp.RiskAssessment" format="xml" url="_19">
>
> That needs deleting. But you will also need to delete a reference to
> _24 (or whatever your number is) in one of the Url entries, so for me I
> have
>
> <Url _ID="_19" serial="2" protocol="file" name="data">
> <path>/Users/wb104/cvsroot/test/analysis/test5</path>
> <storages _IDREF="_18"/>
> <storages _IDREF="_20"/>
> <storages _IDREF="_21"/>
> <storages _IDREF="_22"/>
> <storages _IDREF="_23"/>
> <storages _IDREF="_24"/>
> <storages _IDREF="_25"/>
> ...
>
> and that line with the _24 needs removing.
>
> Wayne
>
> On Tue, 23 Oct 2007, Gary Thompson wrote:
>
> > On Tue, 23 Oct 2007 13:54:17 +0100, Wayne Boucher <[log in to unmask]>
> > wrote:
> >
> > >Hello,
> > >
> > >I suspect (although there seems to be lots of error messages there!) that
> > >what is happening here is that the Java API has not been included with
> > >backwards compatibility code. It was just not something that was going to
> > >be added (it's a lot of work) for something that was not being used that
> > >much. So the recommendation here is that you open up this project in the
> > >equivalent Python API and then do a "save all" option to update all the
> > >project files to the latest release. Then hopefully that error message
> > >will go away (but I'm sure you'll find other problems). (Well, I would
> > >recommend, as always, to backup the project first before you do a
> > >"saveAll".)
> > >
> > >You might have noticed that Analysis does not have a "save all" option.
> > >What you can do in Analysis is to do the following at the command line:
> > >ollowShiftChangesPopup.py
> > >>>> top.project.saveAll()
> > >
> > Hi Wayne
> >
> > I have tried this after a full upgrade and get
> >
> > top.project.saveAll()
> > start generating ccp.general.Annotation output
> > start generating ccp.molecule.Molecule output
> > start generating ccp.general.Citation output
> > start generating ccp.general.Affiliation output
> > start generating ccp.general.Taxonomy output
> > start generating ccp.molecule.Stereochemistry output
> > start generating ccp.lims.Experiment output
> > start generating ccp.lims.ExpBlueprint output
> > start generating ccp.general.DbRef output
> > start generating ccp.lims.Target output
> > start generating ccp.lims.Sample output
> > start generating ccp.lims.RefSampleComponent output
> > start generating ccp.lims.Location output
> > start generating ccp.general.Method output
> > start generating ccp.general.Instrument output
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in ?
> > File
> > "/home/garyt/programs/ccpnmr/1.0.12/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/memops/api/Implementation.py",
> > line 17637, in saveAll
> > File
> > "/home/garyt/programs/ccpnmr/1.0.12/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/memops/api/Implementation.py",
> > line 9094, in save
> > ImportError: No module named RiskAssessment
> >
> > furthermore I can't actually find the file
> > /home/garyt/programs/ccpnmr/1.0.12/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/memops/api/Implementation.py
> > there seem to be some strane jiggery pokery or stale data here?
> > regards
> > gary
> > >>
> > >> --
> > >> -------------------------------------------------------------------
> > >> Dr Gary Thompson
> > >> Astbury Centre for Structural Molecular Biology,
> > >> University of Leeds, Astbury Building,
> > >> Leeds, LS2 9JT, West-Yorkshire, UK Tel. +44-113-3433024
> > >> email: [log in to unmask] Fax +44-113-2331407
> > >> -------------------------------------------------------------------
> > >>
> > >=========================================================================
> >
>
|