← Back to team overview

dolfin team mailing list archive

Problem with updated repositories

 

I have a problem when I try to call
    V = VectorFunctionSpace(mesh, "CG", 1, dim=2)
and get the error
AttributeError: 'module' object has no attribute '__swigversion__'
(see attachment)

I'm not entirely sure of what the problem is.

I run Intrepid Ibex on an AMD Turion x64x2-machine. The versions I have
of the different modules are
dolfin: 1.1.1
ffc: 0.6.1
instant: 0.9.6

-- 
hopefully yours
Sveinn Sandvik Svendsen
Calling FFC just-in-time (JIT) compiler, this may take some time... done
Creating Python extension (compiling and linking), this may take some time...
Traceback (most recent call last):
  File "/home/sveinns/master/inf5690/hodge.py", line 59, in <module>
    V = VectorFunctionSpace(mesh, "CG", 1, dim=2)
  File "/usr/lib/python2.5/site-packages/dolfin/functionspace.py", line 261, in __init__
    spaces = dim*[FunctionSpace(mesh, family, degree)]
  File "/usr/lib/python2.5/site-packages/dolfin/functionspace.py", line 184, in __init__
    FunctionSpaceBase.__init__(self, mesh, element)
  File "/usr/lib/python2.5/site-packages/dolfin/functionspace.py", line 46, in __init__
    ufc_element, ufc_dofmap = jit(self._element)
  File "/usr/lib/python2.5/site-packages/dolfin/jit.py", line 57, in jit
    return jit_compile(form, options)
  File "/usr/lib/python2.5/site-packages/ffc/jit/jit.py", line 51, in jit
    return jit_element(object, options)
  File "/usr/lib/python2.5/site-packages/ffc/jit/jit.py", line 120, in jit_element
    (compiled_form, module, form_data) = jit_form(form, options)
  File "/usr/lib/python2.5/site-packages/ffc/jit/jit.py", line 83, in jit_form
    (cppargs, cpp_path, swig_path) = configure_instant(options)
  File "/usr/lib/python2.5/site-packages/ffc/jit/jit.py", line 192, in configure_instant
    if not instant.check_swig_version(ufc.__swigversion__,same=True):
AttributeError: 'module' object has no attribute '__swigversion__'

Follow ups