[Pkg-scicomp-devel] Bug#571780: Bug#571780: python-pydolfin0: Cannot import dolfin from python.
Johannes Ring
johannr at simula.no
Sun Feb 28 08:34:00 UTC 2010
Hi,
Thanks for your report.
On Sun, Feb 28, 2010 at 12:25 AM, Guillaume Yziquel
<guillaume.yziquel at citycable.ch> wrote:
> 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'
>>>>
The package python-pydolfin0 misses a dependency on python-ufl >=
0.5.2-1. I think the problem could be that you have an older version
of python-ufl installed. Can you confirm this?
Johannes
> -- 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
>
>
>
> _______________________________________________
> Pkg-scicomp-devel mailing list
> Pkg-scicomp-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-scicomp-devel
>
More information about the Pkg-scicomp-devel
mailing list