Re: [QGIS-Developer] Issue running processing model from Python

2018-04-26 Thread Nyall Dawson
On 26 April 2018 at 17:14, Andreas Neumann wrote: > Hi, > > Issue solved - turned out that the layer in the project file was renamed (by > a colleague) and hence processing could not find the feature source. All > works fine now. Silly me! > > However, the processing error

Re: [QGIS-Developer] Issue running processing model from Python

2018-04-26 Thread Andreas Neumann
Hi, Issue solved - turned out that the layer in the project file was renamed (by a colleague) and hence processing could not find the feature source. All works fine now. Silly me! However, the processing error message was really misleading and had no indication that it could not find the

Re: [QGIS-Developer] Issue running processing model from Python

2018-04-25 Thread Tom Chadwin
Sorry, not having worked with models, I don't know. Only thing I wonder is whether it is a problem to have colons in a dictionary key (native:orderbyexpression_1:Ausgabedatei). Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from:

Re: [QGIS-Developer] Issue running processing model from Python

2018-04-25 Thread Andreas Neumann
Hi Tom, line 45 is processing.run("model:Anlagen-Export",parameters,feedback=None) The previous line is setting the parameters: parameters = {'vfewsanlagen': QgsProcessingFeatureSourceDefinition('Anlage', True), 'native:orderbyexpression_1:Ausgabedatei' : 'C:/temp/ews_anlagen.xlsx' }

Re: [QGIS-Developer] Issue running processing model from Python

2018-04-25 Thread Tom Chadwin
Which is line 45? Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: