Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running grass 7 from the processing toolbox gives errors #19104

Closed
qgib opened this issue Jun 25, 2014 · 5 comments
Closed

Running grass 7 from the processing toolbox gives errors #19104

qgib opened this issue Jun 25, 2014 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@qgib
Copy link
Contributor

qgib commented Jun 25, 2014

Author Name: pvanbosgeo - (pvanbosgeo -)
Original Redmine Issue: 10714
Affected QGIS version: 2.2.0
Redmine category:processing/core
Assignee: Victor Olaya


I am trying to run grass 7 commands through the processing toolbox, but I am getting the following error:

An error has occured while executing Python code:

Traceback (most recent call last):
File "/home/paulo/.qgis2/python/plugins/processing/gui/ProcessingToolbox.py", line 191, in executeAlgorithm
dlg = ParametersDialog(alg)
File "/home/paulo/.qgis2/python/plugins/processing/gui/ParametersDialog.py", line 38, in init
self.paramTable = ParametersPanel(self, alg)
File "/home/paulo/.qgis2/python/plugins/processing/gui/ParametersPanel.py", line 84, in init
self.initGUI()
File "/home/paulo/.qgis2/python/plugins/processing/gui/ParametersPanel.py", line 87, in initGUI
tooltips = self.alg.getParameterDescriptions()
File "/home/paulo/.qgis2/python/plugins/processing/algs/grass7/Grass7Algorithm.py", line 101, in getParameterDescriptions
helpfile = self.helpFile()
AttributeError: Grass7Algorithm instance has no attribute 'helpFile'

Python version:
2.7.6 (default, Mar 22 2014, 23:03:41)
[GCC 4.8.2]

QGIS version:
2.3.0-Master Master, abcca5a

@qgib
Copy link
Contributor Author

qgib commented Jun 25, 2014

Author Name: Giovanni Manghi (@gioman)


I have submitted a patch yesterday that was already committed. You need the latest master code (or wait for 2.4).


  • resolution was changed from to fixed/implemented
  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Jun 25, 2014

Author Name: pvanbosgeo - (pvanbosgeo -)


I just updated QGIS master QGIS version: 2.3.0-Master Master, d7bd9c7), but I am still getting an error when trying to run a grass7 command:

An error has occured while executing Python code:

Traceback (most recent call last):
File "/home/paulo/.qgis2/python/plugins/processing/gui/ProcessingToolbox.py", line 191, in executeAlgorithm
dlg = ParametersDialog(alg)
File "/home/paulo/.qgis2/python/plugins/processing/gui/ParametersDialog.py", line 38, in init
self.paramTable = ParametersPanel(self, alg)
File "/home/paulo/.qgis2/python/plugins/processing/gui/ParametersPanel.py", line 84, in init
self.initGUI()
File "/home/paulo/.qgis2/python/plugins/processing/gui/ParametersPanel.py", line 87, in initGUI
tooltips = self.alg.getParameterDescriptions()
File "/home/paulo/.qgis2/python/plugins/processing/algs/grass7/Grass7Algorithm.py", line 101, in getParameterDescriptions
helpfile = self.helpFile()
AttributeError: Grass7Algorithm instance has no attribute 'helpFile'

@qgib
Copy link
Contributor Author

qgib commented Jun 25, 2014

Author Name: Giovanni Manghi (@gioman)


try delete the folder

/home/paulo/.qgis2/python/plugins/processing

and restart qgis (and do not update processing if it asks you to do so).

@qgib
Copy link
Contributor Author

qgib commented Jun 25, 2014

Author Name: pvanbosgeo - (pvanbosgeo -)


Brilliant, that did it... only got the message "Grass7Algorithm instance has no attribute 'grass7Name' See log for more details", but only after the expected function output. Great!

@qgib
Copy link
Contributor Author

qgib commented Jun 7, 2015

Author Name: Giovanni Manghi (@gioman)


  • category_id was changed from 94 to Processing/Core

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

1 participant