dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #07271
Re: demos
Ilmar Wilbers skrev den 09/04-2008 følgende:
> Still having problems with two demos:
> ./pde/dielectric/python:
> | Assembling over cells |
> |=================================================================| 100.0%
> Traceback (most recent call last):
> File "./demo.py", line 139, in <module>
> norm = assemble(L2_norm,mesh)
> File "/tmp/TMP/lib/python2.5/site-packages/dolfin/assemble.py", line
> 85, in assemble
> tensor = tensor.getval()
> File "/tmp/TMP/lib/python2.5/site-packages/dolfin/dolfin.py", line
> 3402, in <lambda>
> __getattr__ = lambda self, name: _swig_getattr(self, Scalar, name)
> File "/tmp/TMP/lib/python2.5/site-packages/dolfin/dolfin.py", line
> 34, in _swig_getattr
> raise AttributeError,name
> AttributeError: getval
>
> and
> ./pde/functional/python:
> Assembling over cells (finished)
> Traceback (most recent call last):
> File "./demo.py", line 37, in <module>
> value = assemble(M, mesh)
> File "/tmp/TMP/lib/python2.5/site-packages/dolfin/assemble.py", line
> 85, in assemble
> tensor = tensor.getval()
> File "/tmp/TMP/lib/python2.5/site-packages/dolfin/dolfin.py", line
> 3402, in <lambda>
> __getattr__ = lambda self, name: _swig_getattr(self, Scalar, name)
> File "/tmp/TMP/lib/python2.5/site-packages/dolfin/dolfin.py", line
> 34, in _swig_getattr
> raise AttributeError,name
> AttributeError: getval
>
> So this is pretty much the same error.
>
> Fix?
Should work now.
Ola
> ilmar
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
References
-
demos
From: Ilmar Wilbers, 2008-04-09