Hi Jack,

I noticed this one too late.  It is a very, very strange error!  The
problem is scipy:  it's a bit of a wild mix of crazy code which tends
to do a lot of weird low level things to Python.  In this case, I
traced the problem back to a change which only affected the import of
the ctypes Python module.  I really don't know how slightly changing a
ctypes import statement would trigger a bug in scipy - that is
bizarre.  I fixed it after branching relax 2.1.2 at:

http://article.gmane.org/gmane.science.nmr.relax.scm/15667
http://article.gmane.org/gmane.science.nmr.relax.scm/15668

There are two options, the change at r17912
(http://article.gmane.org/gmane.science.nmr.relax.scm/15668) should be
sufficient and could be ported to the 2.1.2 code.  Or I could release
2.1.3 with just this change and only release the source tar.bz2 file
for fink.  Which option is easiest for you?

Cheers,

Edward



On 19 October 2012 16:00, Jack Howarth <[email protected]> wrote:
> Edward,
>    While trying to update the current fink relax-py packaging to the new 
> 2.1.2 release.
> I ran into a build failure of the form...
>
> /sw/bin/python2.7 /sw/bin/scons
> scons: Reading SConscript files ...
> AttributeError: 'builtin_function_or_method' object has no attribute 
> 'dispatch':
>   File "/sw/src/fink.build/relax-py27-2.1.2-1/relax-2.1.2/SConstruct", line 
> 37:
>     from scons.distrib import package, gpg_sign
>   File "/sw/src/fink.build/relax-py27-2.1.2-1/relax-2.1.2/scons/distrib.py", 
> line 32:
>     from version import version
>   File "/sw/src/fink.build/relax-py27-2.1.2-1/relax-2.1.2/version.py", line 
> 26:
>     import dep_check
>   File "/sw/src/fink.build/relax-py27-2.1.2-1/relax-2.1.2/dep_check.py", line 
> 143:
>     import scipy
>   File "/sw/lib/python2.7/site-packages/scipy/__init__.py", line 85:
>     from numpy import oldnumeric
>   File "/sw/lib/python2.7/site-packages/numpy/oldnumeric/__init__.py", line 
> 14:
>     from compat import *
>   File "/sw/lib/python2.7/site-packages/numpy/oldnumeric/compat.py", line 106:
>     class Unpickler(pickle.Unpickler):
>   File "/sw/lib/python2.7/site-packages/numpy/oldnumeric/compat.py", line 110:
>     dispatch = copy.copy(pickle.Unpickler.dispatch)
>
> This failure didn't occur with the relax 2.1.0 or 2.1.1 releases. 
> Interestingly this
> error looks like the one described in the thread...
>
> http://scons.tigris.org/ds/viewMessage.do?dsForumId=1272&dsMessageId=2695657
>
>        Jack

_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel

Reply via email to