Unable to Plot Dolfin Demos after Upgrade
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/
_newmain()
File "/opt/local/
p = __main(infile, lutfile, mode, title)
File "/opt/local/
return _plot_mesh(infile, lutfile, mode, title)
File "/opt/local/
import dolfin
File "/Users/
from constant import *
File "/Users/
class Constant(
AttributeError: 'module' object has no attribute 'Function'
*** Warning: Unable to plot.
Any thoughts?
Thanks.
Ted
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Myles English
- Solved:
- Last query:
- Last reply: