dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #17083
Re: [Question #95274]: Unable to Plot Dolfin Demos after Upgrade
Question #95274 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/95274
Ted Kord gave more information on the question:
I removed all packages, installed the unstable releases and all cpp
demos work fine now.
The python demos still fail though with:
Calling FFC just-in-time (JIT) compiler, this may take some time.
Traceback (most recent call last):
File "demo.py", line 24, in <module>
V = FunctionSpace(mesh, "CG", 1)
File "/Users/tedkord/FEniCS/build/lib/python2.6/site-packages/dolfin/function/functionspace.py", line 226, in __init__
FunctionSpaceBase.__init__(self, mesh, element)
File "/Users/tedkord/FEniCS/build/lib/python2.6/site-packages/dolfin/function/functionspace.py", line 44, in __init__
ufc_element, ufc_dofmap = jit(self._ufl_element)
File "/Users/tedkord/FEniCS/build/lib/python2.6/site-packages/dolfin/compilemodules/jit.py", line 44, in mpi_jit
return local_jit(*args, **kwargs)
File "/Users/tedkord/FEniCS/build/lib/python2.6/site-packages/dolfin/compilemodules/jit.py", line 108, in jit
return jit_compile(form, options)
File "/Users/tedkord/FEniCS/build/lib/python2.6/site-packages/ffc/jit.py", line 64, in jit
return jit_element(object, options)
File "/Users/tedkord/FEniCS/build/lib/python2.6/site-packages/ffc/jit.py", line 151, in jit_element
(compiled_form, module, form_data) = jit_form(form, options)
File "/Users/tedkord/FEniCS/build/lib/python2.6/site-packages/ffc/jit.py", line 112, in jit_form
preprocessed_form, form_data = compile_form(preprocessed_form, signature, options)[0]
File "/Users/tedkord/FEniCS/build/lib/python2.6/site-packages/ffc/compiler.py", line 87, in compile_form
form, form_data = analyze_form(form, object_names, options)
File "/Users/tedkord/FEniCS/build/lib/python2.6/site-packages/ffc/compiler.py", line 145, in analyze_form
form_data = FormData(form, object_names=object_names)
File "/Users/tedkord/FEniCS/build/lib/python2.6/site-packages/ufl/algorithms/formdata.py", line 51, in __init__
for i in range(self.rank)]
AttributeError: 'str' object has no attribute 'get'
Any help is appreciated.
Regards
Ted
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.