[QGIS-Developer] Q3: error in creating a Processing model

Paolo Cavallini cavallini at faunalia.it
Thu Jul 20 08:25:06 PDT 2017


Hi all,
when creating a model with QGIS 3 (yesterday master), I get an error:

TypeError: index 0 has type 'int' but
'QgsProcessingModelChildParameterSource' is expected
Traceback (most recent call last):
  File
"/usr/local/src/qgis/QGIS/build_qgis3/output/python/plugins/processing/modeler/ModelerParametersDialog.py",
line 348, in okPressed
    self.alg = self.createAlgorithm()
  File
"/usr/local/src/qgis/QGIS/build_qgis3/output/python/plugins/processing/modeler/ModelerParametersDialog.py",
line 318, in createAlgorithm
    alg.addParameterSources(param.name(), val)
TypeError: index 0 has type 'int' but
'QgsProcessingModelChildParameterSource' is expected

All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis


More information about the QGIS-Developer mailing list