Hello,
The problem (most likely, since this is what it was last time) is that the
links in the python directory pointing to the shared libaries in the c
directory are not symbolic but copies. So when the original libraries are
updated these copies are not. If you cd into
/sw/lib/python2.5/site-packages/ccpnmr/ccpnmr1.0/c
and do "make links" it should hopefully sort you out. What you can check
(after you do "make links") are the *.s files in
/sw/lib/python2.5/site-packages/ccpnmr/ccpnmr1.0/python/memops/c
/sw/lib/python2.5/site-packages/ccpnmr/ccpnmr1.0/python/ccp/c
/sw/lib/python2.5/site-packages/ccpnmr/ccpnmr1.0/python/ccpnmr/c
Are they symbolic links? If not (and they ought to be at this point!)
then you can do (in each of those directories):
sh linkSharedObjs
Wayne
On Wed, 28 Nov 2007, Jo Claridge wrote:
> Hi,
>
> I have exactly the same problem on upgrading:
>
> JC.xp001808.10> analysis
> Error, the DataAnalysisBasic module will not work, something is wrong with the C code.
> Traceback (most recent call last):
> File "/sw/lib/python2.5/site-
> packages/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisGui.py", line 72, in <module
> >
> from ccpnmr.analysis.AnalysisPopup import AnalysisPopup
> File "/sw/lib/python2.5/site-
> packages/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py", line 103, in <mod
> ule>
> from ccpnmr.analysis.CalcHeteroNoePopup import CalcHeteroNoePopup
> File "/sw/lib/python2.5/site-
> packages/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/CalcHeteroNoePopup.py", line 69, in
> <module>
> from ccpnmr.analysis.DataAnalysisBasic import matchHnoePeaks
> File "/sw/lib/python2.5/site-
> packages/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/DataAnalysisBasic.py", line 63, in <
> module>
> from memops.c.FitMethod import runFit
> ImportError: cannot import name runFit
>
> I have checked the fit.h and fit.c and both seem to have *params_dev already.
>
> did this get fixed?
>
> cheers,
>
> Jo Claridge
>
|