[Qgis-developer] [Processing] v.voronoi test shouldn't be logged

G. Allegri giohappy at gmail.com
Fri Sep 26 04:31:27 PDT 2014


Every time a GRASS alorithm is run the following log appears:

processing.runalg("grass:v.voronoi","C:/OSGeo4W/apps/qgis/./python/plugins\\processing\\tests\\data\\points.shp",False,False,"270778.60198,270855.745301,4458921.97814,4458983.8488",-1,0.0001,0,None)

I suppose it depends on the test at line
https://github.com/giohappy/QGIS/blob/master/python/plugins/processing/algs/grass/GrassUtils.py#L371

It's run every time an algorithm's dialog is opened:
https://github.com/giohappy/QGIS/blob/master/python/plugins/processing/algs/grass/GrassAlgorithm.py#L491

If a different strategy to test GRASS cannot be found we could at least
disable the test from being logged because it's definetly counterintuitive
for a user to understand why it's there. Initially I thought it was a bug
or an error during the executions of my algorithms...

Giovanni

-- 
Giovanni Allegri
http://about.me/giovanniallegri
Twitter: https://twitter.com/_giohappy_
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140926/233d5a36/attachment.html>


More information about the Qgis-developer mailing list