Thank you Charles. The system variable was correct, but wasn’t being updated in 
qgis-bin.env. I edited the file with the correct value and all is well. I found 
an alternative workaround also. On the System tab of the QGIS Options dialog I 
could enter a value for the GISBASE variable that would override the incorrect 
value.
Regards, Rick


From: Charles Dixon-Paver<mailto:[email protected]>
Sent: Tuesday, September 7, 2021 1:11 PM
To: Rick Rupp<mailto:[email protected]>
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [Qgis-user] GISBASE environment variable contains the wrong value

I imagine a few things could be happening here. One way to test if the "system" 
environment variable is set correctly is to use cmd to run echo %GISBASE% and 
see where the default path is pointing to. If it is pointing to the correct 
path then likely the variable is being overwritten by the QGIS bootstrapping 
configuration. Have a look in the C:\OSGeo4W\bin\qgis-bin.env or 
C:\OSGeo4W\bin\qgis-dev-bin.env files to see if the references are correct. 
Otherwise maybe try a new user profile.

On Tue, 7 Sept 2021 at 19:15, Rick Rupp 
<[email protected]<mailto:[email protected]>> wrote:
I am using QGIS 3.20 on Windows 10. I installed QGIS using the new version of 
OSGeo4W. My installation is in a \OSGeo4W folder. When I try to execute a GRASS 
function, I get an error saying the program couldn’t find the function, but it 
is looking for it in a \OSGeo4W64 folder(default for the old version of 
OSGeo4W). I checked my Windows environment variables, and the GISBASE variable 
was pointing to the old location. I corrected this, rebooted, but QGIS still 
reports the old location on the System Options dialog. All the other OSGeo4W 
paths are correct. Is there another location from where the GISBASE variable is 
read?

My work around is to just use GRASS for the needed functions, as the standalone 
program runs fine. Any suggestions are appreciated.

Regards, Rick

_______________________________________________
Qgis-user mailing list
[email protected]<mailto:[email protected]>
List info: 
https://lists.osgeo.org/mailman/listinfo/qgis-user<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-user&data=04%7C01%7C%7C575042cb96a74d21559108d9723bb025%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637666422940379873%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=jDCEetfkacMzbTTEDLXxY%2FFDU0FgDQ%2F4P8UhXslDNz8%3D&reserved=0>
Unsubscribe: 
https://lists.osgeo.org/mailman/listinfo/qgis-user<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-user&data=04%7C01%7C%7C575042cb96a74d21559108d9723bb025%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637666422940389873%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=78stX0CyIOBdz6RP8Qv8XMWBumuBy%2FYIhwb2IFk4vBs%3D&reserved=0>

_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to