[Qgis-developer] Saving Sextante models causes TypeError: 'int' object is not iterable
Anita Graser
anitagraser at gmx.at
Thu Aug 15 07:04:11 PDT 2013
Hi,
Using today's nightly, I cannot save Sextante models. I can save an empty
model with just a name but when I add a vector layer and a buffer
operation I get the following error. Does anyone confirm?
Best wishes,
Anita
An error has occured while executing Python code:
Traceback (most recent call last):
File
"C:/OSGeo4W/apps/qgis-dev/./python/plugins\sextante\modeler\ModelerDialog.py",
line 158, in save
self.saveModel(False)
File
"C:/OSGeo4W/apps/qgis-dev/./python/plugins\sextante\modeler\ModelerDialog.py",
line 182, in saveModel
text = self.alg.serialize()
File
"C:/OSGeo4W/apps/qgis-dev/./python/plugins\sextante\modeler\ModelerAlgorithm.py",
line 405, in serialize
s += "PARAMETER:" + param.serialize() + "\n"
File
"C:/OSGeo4W/apps/qgis-dev/./python/plugins\sextante\parameters\ParameterVector.py",
line 95, in serialize
"|" + ",".join(str(t) for t in self.shapetype) + "|" +
str(self.optional)
TypeError: 'int' object is not iterable
Python version:
2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]
QGIS version:
1.9.0-Master Master, d61cb25
Python path: ['C:/OSGeo4W/apps/qgis-dev/./python/plugins\\sextante',
'C:/OSGeo4W/apps/qgis-dev/./python', 'C:\\Users\\Anita/.qgis2/python',
'C:\\Users\\Anita/.qgis2/python/plugins',
'C:/OSGeo4W/apps/qgis-dev/./python/plugins',
'C:\\OSGeo4W\\bin\\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\\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',
'C:\\Users\\Anita\\.qgis2\\python\\plugins\\mmqgis/forms',
'~/.qgis/python', '.',
'C:\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\fTools\\tools',
'~/.qgis/python']
More information about the Qgis-developer
mailing list