[Qgis-user] GRASS dependency problem on OS X

William Kyngesburye woklist at kyngchaos.com
Tue Mar 10 15:13:03 PDT 2015


One things that sometimes trips GRASS - executable permissions.  The installer is supposed to make sure GRASS is executable, because there were problems with that in the past.  Easy brute force method - delete QGIS and reinstall.

But it would be good to know if that is still a problem for some odd reason.  You can check from a terminal with:

ls -l /Applications/QGIS.app/Contents/MacOS/grass/grass.sh

You'll see a line starting with a bunch of letters and hyphens, it should look like:

-rwxr-xr-x

If one "x" is missing, especially the last one, this could cause problems for one user but not another.

On Mar 10, 2015, at 2:38 PM, Howard Frederick <simbamangu at gmail.com> wrote:

> Processing algorithms for other providers work - tested R and SAGA at least.
> 
> The dependency error is thrown the moment I try to open any GRASS tool, and the tool dialog never appears - so there is no opportunity to even try to run any GRASS algorithm!
> 
> Error dialog:
> Missing dependency. This algorithm cannot be run :-( 
> This algorithm requires GRASS to be run. Unfortunately, it seems that GRASS is not installed in your system, or it is not correctly configured to be used from QGIS
> Click here to know more about how to install and configure GRASS to be used with QGIS
> 
> On 10 March 2015 at 17:17, William Kyngesburye <woklist at kyngchaos.com> wrote:
> I mean the Processing log for the algorithm.  Turn on that Processing option for keeping algorithm windows open, then you should hopefully see the details of the error in the algorithm window.  You might not since I'm not sure the dependency check shows up there.
> 
> Do Processing algorithms from other providers run?
> 
> One thing I found while checking SAGA is that I needed to delete the path for its configuration so it could automatically find the internal path again (even though the stored path was correct).  Though you get the same effect by trashing ~/.qgis2.
> 
> On Mar 10, 2015, at 8:56 AM, Howard Frederick <simbamangu at gmail.com> wrote:
> 
> > It allows GRASS to be activated in the Processing options, but gives the dependency error if I actually try to run any of the tools.
> >
> > The OS X console logs this when this failure happens:
> >
> > 10/03/15 16:42:05.779 QGIS[3835]: modalSession has been exited prematurely - check for a reentrant call to endModalSession:
> >
> >
> >
> > On 10 March 2015 at 16:25, William Kyngesburye <woklist at kyngchaos.com> wrote:
> > Does it allow you to turn on GRASS in Processing?  If so, you can see what the actual error is in the algorithm output when you try to run one if you turn on the Processing option to leave windows open when done.
> >
> > On Mar 9, 2015, at 11:47 PM, Howard Frederick <simbamangu at gmail.com> wrote:
> >
> > > Frustrating and inconsistent problem with GRASS dependency in QGIS 2.8 (and 2.6 before upgrading).
> > >
> > > I get the usual “unmet dependency” error when trying to run any GRASS tool - but the Options link correctly to the location of the grass folder inside QGIS.app.
> > >
> > > I have done a clean install, removing the preferences (org.qgis.QGIS2.plist), the .qgis2 folder and anything else I could find, but the problem persists.
> > >
> > > The puzzle: on the same machine, if I create a new user and log in, GRASS tools run just fine in QGIS, with no modifications of the Processing configuration! Seems there is some configuration file that is messing with things - or possibly a path setting?
> > >
> > > Any suggestions as to what I could look for?
> > > _______________________________________________
> > > 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/
> >
> > "This is a question about the past, is it? ... How can I tell that the past isn't a fiction designed to account for the discrepancy between my immediate physical sensations and my state of mind?"
> >
> > - The Ruler of the Universe
> >
> >
> >
> > _______________________________________________
> > 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/
> 
> "We are at war with them. Neither in hatred nor revenge and with no particular pleasure I shall kill every ___ I can until the war is over. That is my duty."
> 
> "Don't you even hate 'em?"
> 
> "What good would it do if I did? If all the many millions of people of the allied nations devoted an entire year exclusively to hating the ____ it wouldn't kill one ___ nor shorten the war one day."
> 
> <Ha, ha> "And it might give 'em all stomach ulcers."
> 
> - Tarzan, on war
> 
> 
> _______________________________________________
> 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/

[Trillian]  What are you supposed to do WITH a maniacally depressed robot?

[Marvin]  You think you have problems?  What are you supposed to do if you ARE a maniacally depressed robot?  No, don't try and answer, I'm 50,000 times more intelligent than you and even I don't know the answer...

- HitchHiker's Guide to the Galaxy





More information about the Qgis-user mailing list