Bug report #16181

Impossible to load windows of any functions of GRASS 6 in Processing (QGIS 2.14.11)

Added by Olivier ATHIMON over 3 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assignee:Victor Olaya
Category:Processing/GRASS
Affected QGIS version:2.14.11 Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:24091

Description

With the new QGIS LTR 2.14.11 (and QGIS LTR-dev 2.14.11-11), it is impossible to load windows of any functions of GRASS 6...

Tried with : r.univar, v.clean, r.to.vect, r.reclass, any functions of GRASS 6...

When i choose rI have this message in console Python:
Traceback (most recent call last):
File "C:/OSGEO4~1/apps/qgis-ltr-dev/./python/plugins\\processing\\gui\\ProcessingToolbox.py", line 243, in executeAlgorithm
dlg = AlgorithmDialog(alg)
File "C:/OSGEO4~1/apps/qgis-ltr-dev/./python/plugins\\processing\\gui\\AlgorithmDialog.py", line 69, in init
AlgorithmDialogBase.__init__(self, alg)
File "C:/OSGEO4~1/apps/qgis-ltr-dev/./python/plugins\\processing\\gui\\AlgorithmDialogBase.py", line 91, in init
isText, algHelp = self.alg.help()
File "C:/OSGEO4~1/apps/qgis-ltr-dev/./python/plugins\\processing\\algs\\grass\\GrassAlgorithm.py", line 88, in help
return False, QUrl.fromLocalFile(os.path.join(helpPath, '{}.html'.format(self.grassName))).toString()
NameError: global name 'QUrl' is not defined

===========
It was running without problems with QGIS LTR 2.14.10...

Associated revisions

Revision aba58a27
Added by Jürgen Fischer over 3 years ago

[processing] added missing import (fixes #16181)
(backported from 84bef5f; followup b003cbe0)

History

#1 Updated by Jürgen Fischer over 3 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF