[Pkg-scicomp-devel] Bug#571780: python-pydolfin0: Cannot import dolfin from python.

Guillaume Yziquel guillaume.yziquel at citycable.ch
Sat Feb 27 23:25:08 UTC 2010


Package: python-pydolfin0
Version: 0.9.7-1
Severity: grave
Justification: renders package unusable


Recently upgraded to the newest packaging of dolfin. I cannot import dolfin from python:

yziquel at seldon:~$ python
Python 2.5.5 (r255:77872, Feb  2 2010, 00:25:36) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from dolfin import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/dolfin/__init__.py", line 32, in <module>
    from constant import *
  File "/usr/lib/python2.5/site-packages/dolfin/constant.py", line 14, in <module>
    class Constant(ufl.Function, cpp.Constant):
AttributeError: 'module' object has no attribute 'Function'
>>> 

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (700, 'stable'), (500, 'stable'), (90, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-pydolfin0 depends on:
ii  libamd2.2.0      1:3.4.0-1               approximate minimum degree orderin
ii  libarpack2       2.1+parpack96.dfsg-2+b1 Fortran77 subroutines to solve lar
ii  libatlas3gf-base 3.6.0-24                Automatically Tuned Linear Algebra
ii  libblas3gf [libb 1.2-3                   Basic Linear Algebra Subroutines 3
ii  libboost-filesys 1.40.0-6+b1             filesystem operations (portable pa
ii  libboost-program 1.40.0-6+b1             program options library for C++
ii  libc6            2.10.2-2                GNU C Library: Shared libraries
ii  libcamd2.2.0     1:3.4.0-1               symmetric approximate minimum degr
ii  libccolamd2.7.1  1:3.4.0-1               constrained column approximate lib
ii  libcholmod1.7.1  1:3.4.0-1               sparse Cholesky factorization libr
ii  libcolamd2.7.1   1:3.4.0-1               column approximate minimum degree 
ii  libdolfin0       0.9.7-1                 shared libraries for DOLFIN
ii  libdolfin0-dev   0.9.7-1                 Shared links and header files for 
ii  libgcc1          1:4.4.2-9               GCC support library
ii  liblapack3gf [li 3.2.1-2                 library of linear algebra routines
ii  libopenmpi1.3    1.3.3-4                 high performance message passing l
ii  libpetsc3.0.0    3.0.0.dfsg-5.1          Shared libraries for version 3.0.0
ii  libslepc3.0.0    3.0.0-p7.dfsg-2         Scalable Library for Eigenvalue Pr
ii  libstdc++6       4.4.2-9                 The GNU Standard C++ Library v3
ii  libumfpack5.4.0  1:3.4.0-1               sparse LU factorization library
ii  libx11-6         2:1.3.3-1               X11 client-side library
ii  libxml2          2.7.6.dfsg-2+b1         GNOME XML library
ii  python           2.5.4-9                 An interactive high-level object-o
ii  python-central   0.6.14+nmu2             register and build utility for Pyt
ii  zlib1g           1:1.2.3.4.dfsg-3        compression library - runtime

python-pydolfin0 recommends no packages.

Versions of packages python-pydolfin0 suggests:
ii  dolfin-doc                    0.9.7-1    Documentation and demo programs fo

-- no debconf information





More information about the Pkg-scicomp-devel mailing list