[Python-modules-team] Bug#697704: %%cython magic -- mismatch	between suffixes of the generated and expected .so due to multiarch
    Yaroslav Halchenko 
    debian at onerussian.com
       
    Tue Jan  8 18:23:23 UTC 2013
    
    
  
Package: ipython
Version: 0.13.1-2
Severity: normal
Trying an exemplar %%cython snippet from
http://nbviewer.ipython.org/urls/raw.github.com/ipython/ipython/3607712653c66d63e0d7f13f073bde8c0f209ba8/docs/examples/notebooks/cython_extension.ipynb
even with minimalistic example
%%cython
cimport cython
crashes with
ImportError: /home/yoh/.ipython/cython/_cython_magic_d37c0b24f28dfb69270e82105a4c2e8e.x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
since there is no .x86_64-linux-gnu.so but there is a plain .so:
$> ls -l /home/yoh/.ipython/cython/_cython_magic_d37c0b24f28dfb69270e82105a4c2e8e*
-rw------- 1 yoh yoh 50708 Jan  8 13:19 /home/yoh/.ipython/cython/_cython_magic_d37c0b24f28dfb69270e82105a4c2e8e.c
-rw------- 1 yoh yoh    15 Jan  8 13:19 /home/yoh/.ipython/cython/_cython_magic_d37c0b24f28dfb69270e82105a4c2e8e.pyx
-rwx------ 1 yoh yoh 35038 Jan  8 13:19 /home/yoh/.ipython/cython/_cython_magic_d37c0b24f28dfb69270e82105a4c2e8e.so*
-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental'), (100, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages ipython depends on:
ii  python                2.7.3-3
ii  python-configobj      4.7.2+ds-4
ii  python-decorator      3.3.3-1
ii  python-pexpect        2.4-1
ii  python-simplegeneric  0.8.1-1
ipython recommends no packages.
Versions of packages ipython suggests:
ii  ipython-doc                            0.13.1-1
ii  ipython-notebook                       0.13.1-2
ii  ipython-qtconsole                      0.13.1-2
ii  libpython2.7-stdlib [python-argparse]  2.7.3-13
ii  python [python-profiler]               2.7.3-3
ii  python-argparse                        1.2.1-2
ii  python-matplotlib                      1.1.1~rc2-1
ii  python-numpy                           1:1.6.2-1
ii  python-zmq                             2.2.0-1
-- no debconf information
    
    
More information about the Python-modules-team
mailing list