qgis / QGIS-Mac-Packager

Scripts for Official QGIS MacOS Packages
https://www.qgis.org
GNU General Public License v2.0
54 stars 21 forks source link

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

Open mapninja opened 3 years ago

mapninja commented 3 years ago

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

PeterPetrik commented 3 years ago

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

mapninja commented 3 years ago

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.

PeterPetrik commented 3 years ago

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

marsofearth commented 1 year ago

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.