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

Advanced setting / Processing Configuration / "GRASS7 Folder" is not automatically updated when user install a new version of QGIS on Windows. #27517

Closed
qgib opened this issue Aug 25, 2018 · 10 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GRASS

Comments

@qgib
Copy link
Contributor

qgib commented Aug 25, 2018

Author Name: sand thorn (sand thorn)
Original Redmine Issue: 19692
Affected QGIS version: 3.2.2
Redmine category:processing/grass


Steps to reproduce:

  1. install QGIS 3.0
  2. Open / Open Advanced Setting / OK / Close application
  3. uninstall QGIS 3.0
  4. install QGIS 3.2.2
  5. Open application
  6. Open Setting
  7. click OK
  8. A dialog complains "GRASS7 Folder" is invalid

wrong value for parameter GRASS7 folder....

  1. Open Setting / Goto advance config
  2. Processing / Configuration / GRASS7 Folder remains to QGIS3.0's grass folder

I'm not sure if this also happens with Linux.
I'm not sure this should be filed under category "GUI" or "Windows Package".


Related issue(s): #27082 (duplicates)
Redmine related issue(s): 19254


@qgib
Copy link
Contributor Author

qgib commented Aug 25, 2018

Author Name: Giovanni Manghi (@gioman)


  • category_id was changed from GUI to Processing/GRASS

@qgib
Copy link
Contributor Author

qgib commented Aug 26, 2018

Author Name: Alexander Bruy (@alexbruy)


This is expected and correct behaviour. QGIS does not wipe its settings when reinstalled or updated. Note that all other setting also does not reset, so why Processing settings should change?


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Aug 27, 2018

Author Name: sand thorn (sand thorn)


I just think it took me a bit long time to find out the location of settings, perhaps my bad anyway.
So I can come up with two resolution.

  1. Installer should always reset the grass folder to the default location of new GRASS in the package.
    (or perhaps a checked checkbox at setup for those who want to opt out.)

  2. The advanced configuration warning should give details of exact setting path to look for like:
    "Advanced Configuration / Processing / Configuration / GRASS7 Folder"

@qgib
Copy link
Contributor Author

qgib commented Oct 29, 2018

Author Name: sand thorn (sand thorn)


In version 3.4
Settings / Advanced / Processing / Configuration / GRASS7 Folder
seems not affected and unused.

However, one might still find "GRASS7 folder" error when clicking "OK" in Advanced setting after upgrade.
The coresponding setting now moves to
Settings / Processing / Providers / GRASS / GRASS7 folder

Manually change those settings to current installation path will suppress the warning.

@qgib
Copy link
Contributor Author

qgib commented Oct 29, 2018

Author Name: Giovanni Manghi (@gioman)


sand thorn wrote:

In version 3.4
Settings / Advanced / Processing / Configuration / GRASS7 Folder
seems not affected and unused.

However, one might still find "GRASS7 folder" error when clicking "OK" in Advanced setting after upgrade.
The coresponding setting now moves to
Settings / Processing / Providers / GRASS / GRASS7 folder

Manually change those settings to current installation path will suppress the warning.

try a new/clean profile.

@qgib
Copy link
Contributor Author

qgib commented Nov 10, 2018

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


In 3a4a3af / bd5c44d GRASS_FOLDER is now autodetected on Windows/OSGeo4W.


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

@qgib qgib closed this as completed Nov 10, 2018
@qgib
Copy link
Contributor Author

qgib commented Nov 11, 2018

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


@qgib
Copy link
Contributor Author

qgib commented Nov 11, 2018

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


@qgib
Copy link
Contributor Author

qgib commented Nov 11, 2018

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


@qgib
Copy link
Contributor Author

qgib commented Jan 26, 2019

Author Name: Bas wein (Bas wein)


Last night I had a similar experience with installing QGIS 3.4 using OSGeo4W. I got a "can't find grass.bat" error when trying to run grass algorithms in qgis. Eventually I figured out that OSGeo had installed Grass 7.6 and I used it to install Grass 7.4 and it started working again. But not after I learned that the path to grass folder is no longer in Options/Processing/Providers/Grass and I did not find it in options/advanced/processing/(no configuration folder) or in any of the advanced setting that I could find.

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

No branches or pull requests

1 participant