On Fri, Aug 20, 2010 at 10:54:04AM +0100, Garth N. Wells wrote: > I'm running into a Python error (below), which I suspect is due to the > relocation of the UFC Python module (now in its own subdirectory). Do I > need to add > > from ufc import * > > somewhere? > > Garth > > Traceback (most recent call last): > File "demo.py", line 20, in <module> > from dolfin import * > File > "/home/garth/Work/FEniCS/lib/python2.6/site-packages/dolfin/__init__.py", > line 13, in <module> > import dolfin.cpp as cpp > File > "/home/garth/Work/FEniCS/lib/python2.6/site-packages/dolfin/cpp.py", > line 8902, in <module> > class GenericFunction(ufc.function,Variable): > AttributeError: 'module' object has no attribute 'function'
Looks like a missing __init__.py in the ufc directory, but I thought that was added? -- Anders PS: Will be offline for a few hours. Things building fine on my Lucid machine so far. _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp