[Qgis-developer] Processing: Create points along lines fails

Paolo Cavallini cavallini at faunalia.it
Thu May 14 10:28:47 PDT 2015


Il 14/05/2015 19:25, Paolo Cavallini ha scritto:
> With the error:
> 
> Traceback (most recent call last):
>   File
> "/home/paolo/.qgis2/python/plugins/processing/core/GeoAlgorithm.py",
> line 232, in execute
>     self.processAlgorithm(progress)
>   File
> "/home/paolo/.qgis2/python/plugins/processing/script/ScriptAlgorithm.py", line
> 265, in processAlgorithm
>     exec(script) in ns
>   File "<string>", line 37, in <module>
> NameError: name 'QGis' is not defined
> 
> Should I open a ticket?

With the similar command from GDAL backend

processing.runalg("gdalogr:createpointsalonglines","/home/paolo/fiumi.shp","geometry",0.5,"",None)

I get:

GDAL execution console output
layer names ignored in combination with -sql.
Segmentation fault

Thanks.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html


More information about the Qgis-developer mailing list