Guillaume Yziquel a écrit :
Hello.

I just noticed that dolfin was not fine in Debian.

Is this a known issue that hasn't made it up to the Debian packager?

yziq...@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.
import dolfin
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'


All the best,


I just update dolfin to the latest version in Debian, and I get other errors:

yziq...@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.
import dolfin
cannot import name templates
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/dolfin/__init__.py", line 26, in 
<module>
    from dolfin.common.globalparameters import *
  File "/usr/lib/python2.5/site-packages/dolfin/common/globalparameters.py", line 24, 
in <module>
    raise RuntimeError, "Could not import %s form compiler." % 
form_compiler_name
RuntimeError: Could not import ffc form compiler.


What could the issue be?

All the best,

--
     Guillaume Yziquel
http://yziquel.homelinux.org/

_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp

Reply via email to