Bug#787796: fenics fresh installation is broken

Massimiliano Leoni leoni.massimiliano1 at gmail.com
Fri Jun 5 07:01:35 UTC 2015


Package: fenics
Version: 1:1.5.0.1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

a fresh install of fenics yields a broken environment.

In fact, the command "from dolfin import *" in an ipython terminal
returns the backtrace you can find in the attachment.

The problem might be due to a version mismatch in one of the
dependencies [I remember there was little mess during the migration from
1.4.0 to 1.5.0].

Best regards,

Massimiliano Leoni


-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing-proposed-updates'), (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages fenics depends on:
ii  dolfin-bin      1.5.0-2
ii  dolfin-doc      1.5.0-2
ii  libdolfin-dev   1.5.0-2
ii  python-dolfin   1.5.0-2
ii  python-ffc      1.5.0-3
ii  python-fiat     1.5.0-1
ii  python-instant  1.5.0-1
ii  python-ufl      1.5.0-1
ii  python-ufl-doc  1.5.0-1

Versions of packages fenics recommends:
ii  python-scitools  0.9.0-2

fenics suggests no packages.

-- no debconf information
-------------- next part --------------
In [1]: from dolfin import *
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-1-f9fe29351801> in <module>()
----> 1 from dolfin import *

/usr/lib/python2.7/dist-packages/dolfin/__init__.pyc in <module>()
     14 
     15 # Import names from the compiled cpp modules
---> 16 from . import cpp
     17 from dolfin.cpp import *
     18 from dolfin.cpp import __version__, __swigversion__, __pythonversion__

/usr/lib/python2.7/dist-packages/dolfin/cpp/__init__.py in <module>()
     40 
     41     # Import the module
---> 42     exec("from . import %s" % module_name)
     43     module = globals()[module_name]
     44 

<string> in <module>()

/usr/lib/python2.7/dist-packages/dolfin/cpp/common.py in <module>()
    108 __swigversion__ = "%d.%d.%d"%(tuple(map(int, [tmp[-5], tmp[-3], tmp[-2:]])))
    109 tmp = hex(dolfin_pythonversion())
--> 110 __pythonversion__ = "%d.%d.%d"%(tuple(map(int, [tmp[2], tmp[4], tmp[6]])))
    111 del tmp, dolfin_pythonversion, dolfin_swigversion
    112 

ValueError: invalid literal for int() with base 10: 'a'


More information about the debian-science-maintainers mailing list