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

GRASS 6 algorithms not working #26

Closed
j08lue opened this issue Jun 8, 2017 · 5 comments
Closed

GRASS 6 algorithms not working #26

j08lue opened this issue Jun 8, 2017 · 5 comments

Comments

@j08lue
Copy link
Member

j08lue commented Jun 8, 2017

The recent WOIS and GWA installation packages include both GRASS 6 and GRASS 7 together with QGIS 2.18.9.

All paths in the Processing Toolbox settings are set correctly
image

Despite this, GRASS 6 algorithms cannot be run:

image

This is a problem particularly due to the widespread use of r.mapcalculator in many of the workflows.

@j08lue
Copy link
Member Author

j08lue commented Jun 8, 2017

The problem strictly speaking has nothing to do with the WOIS installer, because it also occurs in QGIS installed with standalone OSGeo4W.

@j08lue
Copy link
Member Author

j08lue commented Jun 8, 2017

We tried a couple of things:

  • Check on clean OSGeo4W QGIS 2.18.9 installation – error exists already here
  • Check with QGIS stock processing toolbox (instead of the WOIS adapted version) – error
  • Disable GRASS’s installation check – the algorithm can now be executed but it fails (invalid map)

@j08lue
Copy link
Member Author

j08lue commented Jun 8, 2017

The error might have to do with the constellation of packages installed from OSGeo4W, because on some machines with the same versions of GRASS and QGIS but different sets of packages installed, the GRASS 6 algorithms do work.

Also, on a machine with QGIS 2.18.7 and about the same packages installed, the error also occurs.

@radosuav
Copy link
Member

radosuav commented Jun 9, 2017

Two most suspect packages would be GDAL and GRASS plugin. On my machine I have the latest version of GDAL (2.2.0) and the GRASS plugin installed but for some reason it fails to load properly. GRASS 6 algorithms execute fine in Processing.

Maybe check if the problem computers have GRASS plugin installed and loaded and if GDAL is not up to date.

@j08lue
Copy link
Member Author

j08lue commented Jun 9, 2017

@radosuav you were right that the issue was because of GDAL: The OSGeo4W installer does not automatically include the gdal110dll package when installing GRASS 6. @KittelC found out in DHI-GRAS/qgis-processing-swat#14 that this was the cause of this issue.

So users who have this issue need to install just that package (5 MB download) by running the OSGeo4W setup and selecting the package:

gdal110

We will report this to OSGeo.

@j08lue j08lue closed this as completed Jun 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants