dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #02730
Re: Problems with PyDOLFIN
On Wed, Jun 14, 2006 at 04:09:06PM +0200, Anders Logg wrote:
> I get the following error message from PyDOLFIN:
>
> >>> from dolfin import *
> Importing DOLFIN
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File
> "/home/logg/work/src/fenics/dolfin/current/dolfin-dev/local/lib/python2.4/site-packages/dolfin/__init__.py", line 5, in ?
> from dolfin import *
> File
> "/home/logg/work/src/fenics/dolfin/current/dolfin-dev/local/lib/python2.4/site-packages/dolfin/dolfin.py", line 2233
> if _newclass:lambda =
> property(_dolfin.ElasticityUpdatedSolver_lambda_get,
> _dolfin.ElasticityUpdatedSolver_lambda_set)
> ^
> SyntaxError: invalid syntax
>
> Any thoughts?
>
> I'll comment out ElasticityUpdatedSolver in dolfin.py for now. I also
> remove the renames of SparseMatrix, SparseVector.
>
> /Anders
>
It could have something to do with "lambda" being a keyword in
Python. This error has not appeared for me though, I'll look into it
in a few days when I have time.
Johan
References