[Qgis-user] GRASS dependency problem on OS X

William Kyngesburye woklist at kyngchaos.com
Thu Mar 12 06:30:09 PDT 2015


Ah, yes, the user settings, hidden away in directory services.  Another place easy to forget about and not user-friendly for messing with.

I'll remember this as a troubleshooting point.  I may have stuff in my own from ages ago ;)

On Mar 12, 2015, at 2:31 AM, Howard Frederick <simbamangu at gmail.com> wrote:

> Aha, found it! 
> 
> I do have a customised .bash_profile but as you say it shouldn’t affect an application … however, I did start using a custom bash (v 4.3.24 from homebrew) some time ago, which necessitated changing /etc/shells (I cannot remember why I thought this was worthwhile). Looking in the QGIS environment variables I found:
> 
> SHELL  /usr/local/Cellar/bash/4.3.24/bin/bash 
> 
> … instead of /bin/bash. 
> 
> GRASS runs fine now that SHELL reports /bin/bash. Fixing this was not trivial, with several steps before the SHELL variable was reported correctly and GRASS ran:
> 	• I edited /etc/shells to remove the homebrew bash reference;
> 	• ran sudo dscl . -change /Users/$USER UserShell /usr/local/Cellar/bash/4.3.24/bin/bash /bin/bash
> 
> Note: adding a custom environment variable in QGIS to set shell did NOT work.
> 
> Many thanks for your help on this!
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"The beast is actively interested only in now, and, as it is always now and always shall be, there is an eternity of time for the accomplishment of objects."

- the wisdom of Tarzan








More information about the Qgis-user mailing list