johannr@buildbotmac:python$ python demo_poisson.py
DOLFIN_NOPLOT set, plotting disabled.
Calling FFC just-in-time (JIT) compiler, this may take some time.
<beb23b112d19455912a74d0b3512b2576a219e63.ffc_form_beb23b112d19455912a74d0b3512b2576a219e63_finite_element_0; proxy of <Swig Object of type 'boost::shared_ptr< ffc_form_beb23b112d19455912a74d0b3512b2576a219e63_finite_element_0 > *' at 0x108ee7ab0> >
(<class 'ufc.ufc.finite_element'>,)
Traceback (most recent call last):
File "demo_poisson.py", line 41, in <module>
V = FunctionSpace(mesh, "Lagrange", 1)
File "/Users/johannr/tmp/dorsal/Work/FEniCS/lib/python2.7/site-packages/dolfin/functions/functionspace.py", line 386, in __init__
FunctionSpaceBase.__init__(self, mesh, element)
File "/Users/johannr/tmp/dorsal/Work/FEniCS/lib/python2.7/site-packages/dolfin/functions/functionspace.py", line 86, in __init__
self._dolfin_element = cpp.FiniteElement(ufc_element)
File "/Users/johannr/tmp/dorsal/Work/FEniCS/lib/python2.7/site-packages/dolfin/cpp/fem.py", line 973, in __init__
_fem.FiniteElement_swiginit(self,_fem.new_FiniteElement(*args))
TypeError: in method 'new_FiniteElement', argument 1 of type 'boost::shared_ptr< ufc::finite_element const >'
I get the same error with SWIG 2.0.6:
johannr@ buildbotmac: python$ python demo_poisson.py 5912a74d0b3512b 2576a219e63. ffc_form_ beb23b112d19455 912a74d0b3512b2 576a219e63_ finite_ element_ 0; proxy of <Swig Object of type 'boost::shared_ptr< ffc_form_ beb23b112d19455 912a74d0b3512b2 576a219e63_ finite_ element_ 0 > *' at 0x108ee7ab0> >
DOLFIN_NOPLOT set, plotting disabled.
Calling FFC just-in-time (JIT) compiler, this may take some time.
<beb23b112d1945
<class 'beb23b112d1945 5912a74d0b3512b 2576a219e63. ffc_form_ beb23b112d19455 912a74d0b3512b2 576a219e63_ finite_ element_ 0'>
(<class 'ufc.ufc. finite_ element' >,) johannr/ tmp/dorsal/ Work/FEniCS/ lib/python2. 7/site- packages/ dolfin/ functions/ functionspace. py", line 386, in __init__ ceBase. __init_ _(self, mesh, element) johannr/ tmp/dorsal/ Work/FEniCS/ lib/python2. 7/site- packages/ dolfin/ functions/ functionspace. py", line 86, in __init__ _dolfin_ element = cpp.FiniteEleme nt(ufc_ element) johannr/ tmp/dorsal/ Work/FEniCS/ lib/python2. 7/site- packages/ dolfin/ cpp/fem. py", line 973, in __init__ FiniteElement_ swiginit( self,_fem. new_FiniteEleme nt(*args) ) ent', argument 1 of type 'boost::shared_ptr< ufc::finite_element const >'
Traceback (most recent call last):
File "demo_poisson.py", line 41, in <module>
V = FunctionSpace(mesh, "Lagrange", 1)
File "/Users/
FunctionSpa
File "/Users/
self.
File "/Users/
_fem.
TypeError: in method 'new_FiniteElem