[GRASS-user] issues with addon scripts

Anna Petrášová kratochanna at gmail.com
Sun Mar 15 15:03:31 PDT 2015


Hi,

there is an addon r.landscape.evol for grass 7, can't you use that one?

On Sun, Mar 15, 2015 at 4:43 PM, Bulent Arikan <bulent.arikan at gmail.com>
wrote:

> Dear List,
>
> I am having issues with adding on scripts to GRASS 7.0 stable (running Mac
> OS 10.10.2 Yosemite). I am the Administrator. I have the “Modules” folder
> that contains bin, scripts, etc. in /Users/bulentarikan/Library/GRASS/7.0
> The add-on base is defined as: bash:
> /Users/bulentarikan/Library/GRASS/7.0/Modules: is a directory
>
> The path is:
>
> bash:
> /Applications/GRASS_7.0/GRASS-7.0.app/Contents/MacOS/bin:/Applications/GRASS_7.0/GRASS-7.0.app/Contents/MacOS/scripts:/Users/bulentarikan/Library/GRASS/7.0/Modules/bin:/Users/bulentarikan/Library/GRASS/7.0/Modules/scripts:-framework:
>
> The script I am trying to add on is not available in the add-on repository
> as far as I know. I used BatChmod to make sure that I have the permissions
> of the (.py) script folder. Then I moved the script into the “scripts”
> folder located under (right click on the GRASS 7.0 app >Contents>MacOS). In
> the scripts folder, all scripts have black icons with the word ‘exec’ on
> the upper left corner. The script I dropped into the scripts folder did not
> have that, so I used:
>
> chmod +x /Users/bulentarikan/Desktop/r.landscape.evol7.py
>
> However, that did not change anything! The file is still not executable.
> So, my first question is, how can I make the script file an executable file?
>
>
> In the Terminal, I call the script by typing its name. I get the error
> below:
>
>
Have you tried to run the module in command line with some parameters (not
> launching the dialog)? You can try  r.landscape.evol7.py --help and you
> will see if it runs. I've seen this error before but I don't really know
> where it comes from.
>

Anna


> Does this mean that I also need to have the executable file in
> /Users/bulentarikan/Library/GRASS/7.0/Modules?
>
> Thank you!
>
> BÜLENT ARIKAN
> Assistant Professor
> Department of Ecology and Evolution
> &
> Assistant Director
> Eurasia Institute of Earth Sciences
> Istanbul Technical University
> Maslak-Sarıyer
> Istanbul
> 34469
> Turkey
> http://web.itu.edu.tr/~bulentarikan/index.html
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150315/63dc51a6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ITU LOGO.jpg
Type: image/jpeg
Size: 21703 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150315/63dc51a6/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2015-03-15 at 10.02.52 PM.png
Type: image/png
Size: 41017 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150315/63dc51a6/attachment-0001.png>


More information about the grass-user mailing list