FFC

ImportError: No module named ufl.log

Bug #463105 reported by cutejeff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
FFC
Invalid
Undecided
Unassigned

Bug Description

I am kind of new here. I just got my dolfin worked, with ffc-0.7.0 installed. I was trying the Poisson Enq demo, when I entered #ffc -l dolfin Poisson.ufl, I got the following error:

Traceback (most recent call last):
  File "/usr/bin/ffc", line 23, in <module>
    from ufl.log import UFLException
ImportError: No module named ufl.log

I also tried ffc-0.6.2 and the latest snapshot, but I got the same errors. I do have the Poisson ufl file in the right directory. I don't know why it's not working.

Any help would be appreciated.

p.s. I always use
#sudo python setup.py install
 to install ffc packages.

Jeff

Revision history for this message
Johan Hake (johan-hake) wrote : Re: [Bug 463105] [NEW] ImportError: No module named ufl.log

On Thursday 29 October 2009 07:13:43 cutejeff wrote:
> Public bug reported:
>
> I am kind of new here. I just got my dolfin worked, with ffc-0.7.0
> installed. I was trying the Poisson Enq demo, when I entered #ffc -l
> dolfin Poisson.ufl, I got the following error:
>
> Traceback (most recent call last):
> File "/usr/bin/ffc", line 23, in <module>
> from ufl.log import UFLException
> ImportError: No module named ufl.log

Have you installed the ufl package? From version 0.7 FFC now depends on UFL.

Get the package from www.fenics.org

Johan

> I also tried ffc-0.6.2 and the latest snapshot, but I got the same
> errors. I do have the Poisson ufl file in the right directory. I don't
> know why it's not working.
>
> Any help would be appreciated.
>
> p.s. I always use
> #sudo python setup.py install
> to install ffc packages.
>
> Jeff
>
> ** Affects: ffc
> Importance: Undecided
> Status: New
>

Revision history for this message
Garth Wells (garth-wells) wrote :

Since there hasn't been any feedback on the suggested fix, I'll invalidate this bug.

Changed in ffc:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.