[Qgis-user] Using GRASS through Processing

William Kyngesburye woklist at kyngchaos.com
Thu Nov 21 07:13:02 PST 2013


For all those having trouble with GRASS and Processing - I remember fixing this in an update, but it looks like the packaging software had cached the old state of grass.sh and "unfixed" it on me.  I'll get a new package out soon, but for an immediate fix, just run this in a Terminal:

sudo chmod +x /Applications/QGIS.app/Contents/MacOS/grass/grass.sh

This doesn't affect the GRASS plugin for loading GRASS data directly in QGIS, since that bypasses grass.sh.

On Nov 21, 2013, at 7:37 AM, Manuel SpĂ­nola wrote:

> Thank you very much.
> 
> 
> 
> This is what I got:
> 
> 
> 
> Last login: Thu Nov 21 07:30:34 on console
> 
> MacBook-Pro-de-Manuel:~ manuelspinola$ ls -la /Applications/QGIS.app/Contents/MacOS/grass/
> 
> total 8
> 
> drwxrwxr-x   12 root  admin    408 Oct 30 11:11 .
> 
> drwxrwxr-x    7 root  admin    238 Oct 30 11:11 ..
> 
> drwxrwxr-x  327 root  admin  11118 Oct 30 11:11 bin
> 
> drwxrwxr-x   44 root  admin   1496 Oct 30 11:11 bwidget
> 
> drwxrwxr-x    3 root  admin    102 Aug  3 10:25 docs
> 
> drwxrwxr-x    8 root  admin    272 Oct 30 11:11 driver
> 
> drwxrwxr-x   85 root  admin   2890 Oct 30 11:11 etc
> 
> drwxrwxr-x   25 root  admin    850 Oct 30 11:11 fonts
> 
> -rw-r--r--    1 root  admin   3074 Sep  7 09:12 grass.sh
> 
> drwxrwxr-x  110 root  admin   3740 Oct 30 11:11 lib
> 
> drwxrwxr-x   88 root  admin   2992 Oct 30 11:11 scripts
> 
> drwxrwxr-x    5 root  admin    170 Oct 30 11:11 tools
> 
> MacBook-Pro-de-Manuel:~ manuelspinola$ 
> 
> 
> 
> 
> 
> 
> 
> 2013/11/20 William Kyngesburye <woklist at kyngchaos.com>
> What system version are you on?
> 
> To check the execute setting, in a Terminal type:
> 
>     ls -la /Applications/QGIS.app/Contents/MacOS/grass/
> 
> the first part of the line for grass.sh should read "-rwxr-xr-x@".  If there are not 3 x's in there, you can fix it with (again in a terminal):
> 
>     sudo chmod +x /Applications/QGIS.app/Contents/MacOS/grass/grass.sh
> 
> On Nov 20, 2013, at 5:39 PM, Mark Seibel wrote:
> 
> > Hi.
> >
> > > I took a look at the INFO in Processing and I got this message
> > >
> > > GRASS execution console output
> > >
> > > /bin/sh: /Applications/QGIS.app/Contents/MacOS/grass/grass.sh: Permission denied
> > >
> > > /bin/sh: /Applications/QGIS.app/Contents/MacOS/grass/grass.sh: Permission denied
> > >
> > >
> > > How can I have access to GRASS to Processing?
> >
> > Is this file " /Applications/QGIS.app/Contents/MacOS/grass/grass.sh" set to executable?
> >
> > Mark
> >


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

"Mon Dieu! but they are all alike.  Cheating, murdering, lying, fighting, and all for things that the beasts of the jungle would not deign to possess - money to purchase the effeminate pleasures of weaklings.  And yet withal bound down by silly customs that make them slaves to their unhappy lot while firm in the belief that they be the lords of creation enjoying the only real pleasures of existence....

- the wisdom of Tarzan





More information about the Qgis-user mailing list