← Back to team overview

dolfin team mailing list archive

Re: bug python code meshconvert.py line 863

 

This is valid python 2.5. Which python version do you have?

-- 
Martin


2008/7/2  <Vuk.Milisic@xxxxxxx>:
> It seems that there is a syntax error in the   meshconvert.py
> file in the latest version of dolfin: line 863
>
> params_spec = ([s.strip() for s in params_str.split(",")] if params_str
>                     else [])
>
>
> executing here is what the python returns:
>
>
> Traceback (most recent call last):
>   File "/usr/local/bin/dolfin-convert", line 26, in ?
>     from dolfin import meshconvert
>   File
> "/usr/local/lib/python2.4/site-packages/dolfin/meshconvert.py", line 863
>     params_spec = ([s.strip() for s in params_str.split(",")] if params_str
>                                                                ^
>
> --
> Vuk Milisic
> Chercheur CNRS
> UMR 5224
> Laboratoire Jean Kuntzman
> Unversité Joseph Fourier
> Grenoble
> http://ljk.imag.fr/membres/Vuk.Milisic/
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>


References