[MacPorts] #68940: qgis3 @3.34.1_1 +grass: default GRASS GISBASE path not correct and error message not helpful

MacPorts noreply at macports.org
Tue Dec 19 18:22:25 UTC 2023


#68940: qgis3 @3.34.1_1 +grass: default GRASS GISBASE path not correct and error
message not helpful
------------------------------+---------------------------------
  Reporter:  bal-agates       |      Owner:  (none)
      Type:  enhancement      |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.8.1
Resolution:                   |   Keywords:  qgis3 grass GISBASE
      Port:  qgis3 qgis3-ltr  |
------------------------------+---------------------------------

Comment (by nilason):

 Replying to [comment:3 bal-agates]:
 > I may have jumped to a bad conclusion.  I didn't look close enough to
 what the following Portfile line was doing
 >
 > {{{
 > set grass_gis_base      [exec ${prefix}/bin/grass --config path]
 > }}}
 >

 I know, I wrote that line :).


 > This makes sense.  My problem was likely caused by the following in my
 ~/Library/Application
 Support/QGIS/QGIS3/profiles/default/qgis.org/QGIS3.ini
 >
 > {{{
 > gidbase\customDir=/opt/local/lib/grass83
 > customEnvVars="overwrite|GISBASE=/opt/local/bin",
 "overwrite|PATH=/opt/local/bin:/usr/bin:/usr/sbin:/sbin"
 > }}}
 >
 > The first line is what I just changed to make it work.  The first half
 of the second line is what was causing the problem.  I do not remember
 changing that but it likely was years ago and on a different computer.
 Something that got copied over with a file migration between computers?


 It was actually my first thought, to test with a new QGIS user profile,
 but great you found the culprit.


 >
 > I think you can close this issue.  Sorry for troubling you.
 >


 I have no access to close, if you have, please go ahead. No worries, feel
 free to cc me next time.

-- 
Ticket URL: <https://trac.macports.org/ticket/68940#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list