Anita I haven't checked the github history to see which changes have been introduced, but the error line number doesn't match the current code, so there have been some modifications that probably corrected that bug. I can use it normally and I do not have that problem
I am thinking about creating daily versions of the SEXTANTE code, so users can preview the current work we are doing, without having to manage the whole QGIS repo and compiling the SEXTANTE UI classes. While I think about the best way of doing it, here[1] you can download a zip file with the latest SEXTANTE code. I will be updating that link regularly, but I will try to see how to make it accesible from the plugin manager as well, so it is even easier.. Thanks Victor [1] http://www.unex.es/eweb/sextantegis/sextante_qgis.zip 2013/1/5 Anita Graser <[email protected]>: > Hi, > > I'm trying to use Pyculator from the toolbox to calculate the > equivalent of field calculator > > CASE WHEN maxspeed is Null THEN 0 ELSE 1 END > > But I get all kinds of errors. Even just the simple expression value = > 1 does not complete but throws > > <qgis.core.QgsVectorDataProvider object at 0x37d5d40> > > Traceback (most recent call last): > File "/home/agraser/.qgis//python/plugins/sextante/core/GeoAlgorithm.py", > line 118, in execute > self.processAlgorithm(progress) > File "/home/agraser/.qgis//python/plugins/sextante/algs/FieldPyculator.py", > line 133, in processAlgorithm > progress.setPercentage(int((100 * nElement)/nFeatures)) > ZeroDivisionError: integer division or modulo by zero > > I'm running QGIS 1.8 with the latest stable Sextante from plugin repo. > > Thanks! Best wishes, > Anita > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
