dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #17082
[Question #95274]: Unable to Plot Dolfin Demos after Upgrade
New question #95274 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/95274
Hello
I upgraded all FEniCS packages and now I'm unable to plot any of the demos. For instance, in the C ++Poisson1D example, this is the result after running ./demo:
Solving linear variational problem
Matrix of size 51 x 51 has 151 nonzero entries.
Sorting sparsity pattern.
Applying boundary conditions to linear system.
LU-factorizing linear system of size 51 x 51 (UMFPACK).
Solving factorized linear system of size 51 x 51 (UMFPACK).
Plotting x (unnamed data), press 'q' to continue...
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/viper", line 225, in <module>
_newmain()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/viper", line 220, in _newmain
p = __main(infile, lutfile, mode, title)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/viper", line 152, in __main
return _plot_mesh(infile, lutfile, mode, title)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/viper", line 116, in _plot_mesh
import dolfin
File "/Users/tedkord/FEniCS/lib/python2.6/site-packages/dolfin/__init__.py", line 32, in <module>
from constant import *
File "/Users/tedkord/FEniCS/lib/python2.6/site-packages/dolfin/constant.py", line 14, in <module>
class Constant(ufl.Function, cpp.Constant):
AttributeError: 'module' object has no attribute 'Function'
*** Warning: Unable to plot.
Any thoughts?
Thanks.
Ted
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.