On Wed, Apr 22, 2009 at 11:39:50AM +0200, Ali Mesforush wrote: > Anders Logg wrote: >> On Wed, Apr 22, 2009 at 11:16:18AM +0200, Ali Mesforush wrote: >> >>> Anders Logg wrote: >>> >>>> On Wed, Apr 22, 2009 at 09:57:55AM +0200, Ali Mesforush wrote: >>>> >>>>> Hello >>>>> I installed fenics on my ubuntu 8.10. It worked good for 3 days, >>>>> but today when I tried to run demo.py I got >>>>> >>>>> a...@ali-laptop:~/Desktop/Python$ python demo.py >>>>> Traceback (most recent call last): >>>>> File "demo.py", line 1, in <module> >>>>> from dolfin import * >>>>> File "/usr/lib/python2.5/site-packages/dolfin/__init__.py", line >>>>> 21, in <module> >>>>> from ffc import * >>>>> File "/usr/lib/python2.5/site-packages/ffc/__init__.py", line >>>>> 23, in <module> >>>>> from ffc.compiler.uflcompiler import compile as compile_ufl >>>>> File >>>>> "/usr/lib/python2.5/site-packages/ffc/compiler/uflcompiler.py", >>>>> line 30, in <module> >>>>> from ufl.algorithms import validate_form, >>>>> extract_max_quadrature_element_degree, >>>>> estimate_max_polynomial_degree >>>>> ImportError: cannot import name extract_max_quadrature_element_degree >>>>> a...@ali-laptop:~/Desktop/Python$ >>>>> >>>>> What is thid and how can I solve it? >>>>> Regards >>>>> /Ali >>>>> >>>> You must have updated one or more of your packages. >>>> >>>> Looks like you have updated FFC (but not UFL) and not to the latest >>>> version. The file uflcompiler.py is not there in the latest hg >>>> version. >>>> >>>> If you want a working installation, stay on the stable version for a >>>> couple of more days. DOLFIN is currently broken as part of the >>>> transition to UFL. >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> FFC-dev mailing list >>>> [email protected] >>>> http://www.fenics.org/mailman/listinfo/ffc-dev >>>> >>> >>> How can I back to the stable version? >>> >> >> You can use Dorsal to do that. >> >> > I downloaded [ ] dorsal-0.3-stable.tar.bz2 > <http://www.fenics.org/pub/software/dorsal/dorsal-0.3-stable.tar.bz2> > 28-Oct-2008 10:24 > 19K > > and run sudo ./dorsal.sh > but after 2 minutes I got > > Unpacking dolfin-0.8.1 > Building dolfin-0.8.1 > ./dorsal_build: line 53: scons: command not found > Failure with exit status: 127 > Exit message: There was a problem building dolfin-0.8.1. > a...@ali-laptop:~/Desktop/dorsal-stable-0.3$ > > and it stopped.
Looks like you need to install scons. Please direct any questions regarding installation to either dolfin-dev or dorsal-dev. Cheers -- Anders
signature.asc
Description: Digital signature
_______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
