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

G. Allegri giohappy at gmail.com
Thu Oct 2 09:17:45 PDT 2014


well done ;)

2014-10-02 18:16 GMT+02:00 Victor Olaya <volayaf at gmail.com>:

> fixed!
>
> 2014-09-26 14:13 GMT+02:00 Victor Olaya <volayaf at gmail.com>:
>
>> good idea. Let's put it in my TODO list for the HF ;-)
>>
>> Thanks!
>>
>> 2014-09-26 13:31 GMT+02:00 G. Allegri <giohappy at gmail.com>:
>>
>>> 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
>>>
>>> _______________________________________________
>>> Qgis-developer mailing list
>>> Qgis-developer at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>>
>>
>


-- 
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/20141002/0559e7bf/attachment-0001.html>


More information about the Qgis-developer mailing list