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

Please improve 'Missing dependency' error message #21250

Closed
qgib opened this issue Aug 5, 2015 · 6 comments
Closed

Please improve 'Missing dependency' error message #21250

qgib opened this issue Aug 5, 2015 · 6 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption GRASS High Priority

Comments

@qgib
Copy link
Contributor

qgib commented Aug 5, 2015

Author Name: Markus Neteler (Markus Neteler)
Original Redmine Issue: 13188
Affected QGIS version: 2.10.1
Redmine category:processing/grass
Assignee: Victor Olaya


Using QGIS 2.10 on Linux (also elsewhere), does not let me run GRASS GIS 7 through processing any more.

The issue is likely that Processing searches for a specific name to start GRASS 7 ('grass', 'grass7', 'grass70', 'grass-7', ... who knows??) which is not present on the system as such.

Subsequently the following error message pops up but does not tell me what it was actually looking for:

Missing dependency. This algorithm cannot be run :-( 
This algorithm requires GRASS GIS 7 to be run. Unfortunately, it seems that GRASS GIS 7 is not installed in your system, or it is not correctly configured to be used from QGIS
Click here to know more about how to install and configure GRASS GIS 7 to be used with QGIS

Solution: include in the message the command string which failed (the hardcoded? name which Processing actually expects here so that the user can create a link to the true startup script name of GRASS 7). The current error message above is rather useless as such.

I tried to find the name Processing expects in the Python code but could not identify it.

A lot of people have this issue (see gis.stackexchange.com etc) but no clue how to solve it.

@qgib
Copy link
Contributor Author

qgib commented Aug 7, 2015

Author Name: Giovanni Manghi (@gioman)


  • crashes_corrupts_data was configured as 0
  • project_id was changed from 78 to 17
  • category_id removed 59

@qgib
Copy link
Contributor Author

qgib commented Aug 7, 2015

Author Name: Markus Neteler (Markus Neteler)


... I would be glad to know the GRASS startup script name Processing expects.

I tick again "Causes crash or corruption" because it simply doesn't work so far.


  • version was configured as 2.10.1
  • crashes_corrupts_data was changed from 0 to 1

@qgib
Copy link
Contributor Author

qgib commented Aug 11, 2015

Author Name: Markus Neteler (Markus Neteler)


See also bug #21142

@qgib
Copy link
Contributor Author

qgib commented Oct 5, 2015

Author Name: Jürgen Fischer (@jef-n)


  • category_id was configured as Processing/GRASS

@qgib
Copy link
Contributor Author

qgib commented Jan 18, 2016

Author Name: Alexander Bruy (@alexbruy)


Fixed in changeset "75926f52aaf479bbe663978b05b7ba216cea137e".


  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Jan 18, 2016

Author Name: Alexander Bruy (@alexbruy)


"Missing dependency" message was removed from Processing during UI/UX improvements. But I added GRASS path to the similar message, hope it helps.


  • resolution was changed from to fixed/implemented

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority GRASS Crash/Data Corruption 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! Crash/Data Corruption GRASS High Priority
Projects
None yet
Development

No branches or pull requests

1 participant