<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">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.</p>
<p class="MsoNormal">Regards, Rick</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:charles@kartoza.com">Charles Dixon-Paver</a><br>
<b>Sent: </b>Tuesday, September 7, 2021 1:11 PM<br>
<b>To: </b><a href="mailto:palousegeo@outlook.com">Rick Rupp</a><br>
<b>Cc: </b><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<b>Subject: </b>Re: [Qgis-user] GISBASE environment variable contains the wrong value</p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">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
<span style="font-family:"Courier New"">echo %GISBASE%</span> 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 <span style="font-family:"Courier New"">C:\OSGeo4W\bin\qgis-bin.env</span>
 or <span style="font-family:"Courier New"">C:\OSGeo4W\bin\qgis-dev-bin.env</span> files to see if the references are correct. Otherwise maybe try a new user profile.<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Tue, 7 Sept 2021 at 19:15, Rick Rupp <<a href="mailto:palousegeo@outlook.com">palousegeo@outlook.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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?</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">My work around is to just use GRASS for the needed functions, as the standalone program runs fine. Any suggestions are appreciated.</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Regards, Rick</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:4.8pt">_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="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" target="_blank">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="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" target="_blank">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>