Hi Pedro, this error is not related to Reproject Layer tool itself, there is missing import in SEXTANTE modeller. I'll look at it.
2012/10/13 Pedro Venâncio <[email protected]>: > Hi Alexander, > > On Linux I already have the revision with Reproject Layer, and by the tests I > did, it's working well! > > But when I try to use it integrated in Modeler, I get this error: > > An error has occured while executing Python code: > > Traceback (most recent call last): > File "/usr/share/qgis/python/plugins/sextante/modeler/ModelerDialog.py", > line 313, in addAlgorithm > dlg = ModelerParametersDialog(alg, self.alg) > File > "/usr/share/qgis/python/plugins/sextante/modeler/ModelerParametersDialog.py", > line 65, in __init__ > self.setupUi() > File > "/usr/share/qgis/python/plugins/sextante/modeler/ModelerParametersDialog.py", > line 123, in setupUi > icon = QtGui.QIcon(os.path.dirname(__file__) + "/../images/iterate.png") > NameError: global name 'os' is not defined > > Python version: > 2.7.3 (default, Aug 1 2012, 05:27:35) > [GCC 4.6.3] > > > QGIS version: > 1.9.0-Master Master, exported > > Python path: ['/usr/share/qgis/python/plugins/sextante', > '/home/pedro/.qgis//python/plugins/ogrprocessing', '/usr/share/qgis/python', > '/home/pedro/.qgis//python', '/home/pedro/.qgis//python/plugins', > '/usr/share/qgis/python/plugins', '/usr/lib/python2.7', > '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', > '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', > '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', > '/usr/lib/python2.7/dist-packages/PIL', > '/usr/lib/python2.7/dist-packages/gst-0.10', > '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', > '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', > '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', > '/home/pedro/.qgis/python/plugins/mmqgis/forms', > '/home/pedro/.qgis/python/plugins/qgis2kml', > '/home/pedro/.qgis/python/plugins/qgis2kml', > '/usr/share/qgis/python/plugins/fTools/tools'] > > > Thanks! > > Best regards, > Pedro Venâncio -- Alexander Bruy _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
