Ciao a tutti.
Sto usando QGis 1.8 installato con OSGeo su win xp. Mentre cerco di creare un nuovo modello nella toolbox di sextante dentro QGis (Tools → Create new model) se provo ad inserire il modulo v. transform di Grass ottengo l’errore di seguito:
Errore durante l’esecuzione di codice Python:
Traceback (most recent call last):
File “C:/Documents and Settings/Giuseppe/.qgis//python/plugins\sextante\modeler\ModelerDialog.py”, line 286, in addAlgorithm
dlg = ModelerParametersDialog(alg, self.alg)
File “C:/Documents and Settings/Giuseppe/.qgis//python/plugins\sextante\modeler\ModelerParametersDialog.py”, line 38, in init
self.setupUi()
File “C:/Documents and Settings/Giuseppe/.qgis//python/plugins\sextante\modeler\ModelerParametersDialog.py”, line 58, in setupUi
self.setTableContent()
File “C:/Documents and Settings/Giuseppe/.qgis//python/plugins\sextante\modeler\ModelerParametersDialog.py”, line 325, in setTableContent
item = self.getWidgetFromParameter(param)
File “C:/Documents and Settings/Giuseppe/.qgis//python/plugins\sextante\modeler\ModelerParametersDialog.py”, line 301, in getWidgetFromParameter
item.setEditText(str(param.default))
AttributeError: ParameterFile instance has no attribute ‘default’
Versione Python:
2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
Versione di QGIS:
1.8.0-Lisboa Lisboa, 6416f38
Percorso Python: [‘C:\Documents and Settings\Giuseppe\.qgis\python\plugins\GeoCoding’, ‘C:/Documents and Settings/Giuseppe/.qgis//python/plugins\sextante’, ‘C:\Documents and Settings\Giuseppe\.qgis\python\plugins\GeoCoding’, ‘C:\Documents and Settings\Giuseppe\.qgis\python\plugins\elevation’, ‘C:/OSGeo4W/apps/qgis/./python’, ‘C:/Documents and Settings/Giuseppe/.qgis//python’, ‘C:/Documents and Settings/Giuseppe/.qgis//python/plugins’, ‘C:/OSGeo4W/apps/qgis/./python/plugins’, ‘C:\WINDOWS\system32\python27.zip’, ‘C:\OSGeo4W\apps\Python27\DLLs’, ‘C:\OSGeo4W\apps\Python27\lib’, ‘C:\OSGeo4W\apps\Python27\lib\plat-win’, ‘C:\OSGeo4W\apps\Python27\lib\lib-tk’, ‘C:\OSGeo4W\apps\qgis\bin’, ‘C:\OSGeo4W\apps\Python27’, ‘C:\OSGeo4W\apps\Python27\lib\site-packages’, ‘C:\OSGeo4W\apps\Python27\lib\site-packages\PIL’, ‘C:\OSGeo4W\apps\Python27\lib\site-packages\win32’, ‘C:\OSGeo4W\apps\Python27\lib\site-packages\win32\lib’, ‘C:\OSGeo4W\apps\Python27\lib\site-packages\Pythonwin’, ‘C:\OSGeo4W\apps\Python27\lib\site-packages\wx-2.8-msw-unicode’, ‘~/.qgis/python’, ‘C:\Documents and Settings\Giuseppe\.qgis\python\plugins\mmqgis/forms’, ‘C:\OSGeo4W\apps\qgis\python\plugins\fTools\tools’]
Se invece lancio lo stesso modulo sempre dal toolbox come standalone si apre correttamente.
E’ un bug?
Grazie