On Mon, Oct 7, 2013 at 1:23 PM, Xiaoping Qian <[email protected]> wrote:
> I had FEniCS 1.2 running smoothly on my Ubuntu. Unfortunately, I allowed 
> Ubuntu to update itself today. Suddenly I have the following errors, even 
> with basic code such as "demo_poisson.py".
>
> How can I fix it?
>
>     Traceback (most recent call last):
>       File "demo_poisson.py", line 37, in <module>
>         from dolfin import *
>       File "/usr/lib/python2.7/dist-packages/dolfin/__init__.py", line 4, in 
> <module>
>         import dolfin.importhandler
>       File 
> "/usr/lib/python2.7/dist-packages/dolfin/importhandler/__init__.py", line 39, 
> in <module>
>         __import__(dep)
>       File "/usr/lib/python2.7/dist-packages/ffc/__init__.py", line 21, in 
> <module>
>         from ffc.jitcompiler import jit
>       File "/usr/lib/python2.7/dist-packages/ffc/jitcompiler.py", line 63, in 
> <module>
>         instant.set_log_level("warning")
>      AttributeError: 'module' object has no attribute 'set_log_level'

Are you using the PPA with the nightly built FEniCS packages? These
packages were recently upgraded, however, there was a problem with the
DOLFIN package so they are currently out of sync. I'm working on this
and a fix will hopefully be available soon.

You can also go back to the main FEniCS PPA with the latest stable
releases. The instructions for doing this are available on this page:

https://launchpad.net/~fenics-packages/+archive/fenics-dev

Johannes
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to