QGIS-Mac-Packager icon indicating copy to clipboard operation
QGIS-Mac-Packager copied to clipboard

SAGA & GRASS not possible to activate after renaming the QGIS.app

Open mapninja opened this issue 4 years ago • 4 comments

Just deleted my User Profiles and installed PR, and wanted to confirm, should SAGA & GRASS tools not be active? Or is there a way to manually config?

SAGANG doesn't seem to help.

System Version: macOS 10.15.7 (19H2) Kernel Version: Darwin 19.6.0 Boot Volume: Macintosh HD Boot Mode: Normal

QGIS version | 3.16.0-Hannover | QGIS code revision | 4af1cbfb97

Compiled against Qt | 5.14.2 | Running against Qt | 5.14.2 Compiled against GDAL/OGR | 3.1.2 | Running against GDAL/OGR | 3.1.2 Compiled against GEOS | 3.8.1-CAPI-1.13.3 | Running against GEOS | 3.8.1-CAPI-1.13.3 Compiled against SQLite | 3.31.1 | Running against SQLite | 3.31.1 PostgreSQL Client Version | 12.3 | SpatiaLite Version | 4.3.0a QWT Version | 6.1.4 | QScintilla2 Version | 2.11.4 Compiled against PROJ | 6.3.2 | Running against PROJ | Rel. 6.3.2, May 1st, 2020 OS Version | macOS 10.15 Active python plugins | processing; db_manager; MetaSearch

image

mapninja avatar Oct 31 '20 18:10 mapninja

So if you activate and restart QGIS it is not in the processing algorithms ?

  • any messages in the message log (processing or general)?
  • any messages that pop-out?
  • if you start qgis from command line with export QGIS_DEBUG=5; open /Applications/QGIS.app, anything processing relatated in the command line output?

PeterPetrik avatar Nov 02 '20 05:11 PeterPetrik

UPDATE: Did some testing and determined that changing the name of the QGIS.app (to QGISPR.app) after installation, but before first launch, on a clean install with previous profiles deleted, caused GRASS & SAGA to fail to load. I keep several versions, and previous installers accommodate changing the name, but this seems to introduce breaking changes for GRASS & SAGA in the current PR and Nightly.

mapninja avatar Nov 04 '20 05:11 mapninja

renaming and starting with clean profile should be working. This is a bug (however low priority I assume), so lets keep it open for now

PeterPetrik avatar Nov 04 '20 05:11 PeterPetrik

This little bug has caused me hours trouble-shooting multiple issues. Besides not able to load GRASS and SAGA processing tools, many many plugins will throw "calling classFactory() errors" when trying to load them.

While the fix is very simple. Simply rename QGIS'string'.app back to QGIS.app it is not a readily apparent to the user.
I keep multiple versions of QGIS.app which means having the QGIS.app renamed automatically on installation.

It would be a GREAT HELP if this information was placed on the QGIS DOWNLOAD page. While a very low priority bug, it causes a lot of headaches.

marsofearth avatar Feb 06 '23 19:02 marsofearth