[Qgis-developer] fTools plugin - Voronoi code syntax error
Carson Farmer
carson.farmer at gmail.com
Tue Nov 23 09:38:45 EST 2010
hmm, funny, I don't get a syntax error there... What about if you
change that line to:
sl = voronoi.SiteList([voronoi.Site(i[0],i[1], sitenum=j) for j, i in
enumerate(uniqueSet)])
Note, the file to change will be in your source directory:
qgis/python/plugins/fTools/tools/doGeometry.py
Carson
On 23 November 2010 10:36, Ivan Mincik <ivan.mincik at gista.sk> wrote:
> Hi Carson,
> when installing latest trunk on Debian Lenny (Python 2.5.2) I get syntax
> error.
>
> Compiling /usr/share/qgis/python/plugins/fTools/tools/doGeometry.py ...
> File "/usr/share/qgis/python/plugins/fTools/tools/doGeometry.py", line 531
> sl = voronoi.SiteList([voronoi.Site(*i, sitenum=j) for j, i in
> enumerate(uniqueSet)])
> ^
> SyntaxError: invalid syntax
>
>
> --
> Ivan Mincik, Gista s.r.o.
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
--
Carson J. Q. Farmer
ISSP Doctoral Fellow
National Centre for Geocomputation
National University of Ireland, Maynooth,
http://www.carsonfarmer.com/
More information about the Qgis-developer
mailing list