[Qgis-user] How to reproject vectors with Sextante?

Pedro Venâncio pedrongvenancio at yahoo.com
Sat Oct 13 07:16:46 PDT 2012


Oops, I think the error is from Modeler, because it is happening with every tool.

Anyone confirm?


Best regards,
Pedro Venâncio




----- Original Message -----
From: Pedro Venâncio 

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



________________________________
From: Alexander Bruy

Thanks. So, revison is dd67935. Reproject tool was added after
this commit.

In another thread Jürgen said that there were problems with
nightly builds, and as result latest changes still not available.
As I understand now this is fixed and next build will include
it.




More information about the Qgis-user mailing list