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
>> -------------------------------------------------------------------
>>
>=========================================================================
|