We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 0573907 commit 6cc27c7Copy full SHA for 6cc27c7
src/sextante/core/Sextante.py
@@ -287,8 +287,18 @@ def runalg(name, *args):
287
SextanteLog.addToLog(SextanteLog.LOG_ALGORITHM, alg.getAsCommand())
288
289
QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
290
- alg.execute()
291
- QApplication.restoreOverrideCursor()
+ algEx = AlgorithmExecutor(alg)
+ def finish():
292
+ #SextantePostprocessing.handleAlgorithmResults(alg)
293
+ QApplication.restoreOverrideCursor()
294
+ def error(msg):
295
296
+ print msg
297
+ SextanteLog.addToLog(SextanteLog.LOG_ERROR, msg)
298
+ algEx.error.connect(error)
299
+ algEx.finished.connect(finish)
300
+ algEx.start()
301
+ algEx.wait()
302
return alg.getOutputValuesAsDictionary()
303
304
0 commit comments