<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dear List,<div class=""><br class=""></div><div class="">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 </div><div class="">The add-on base is defined as: <span style="font-family: Monaco;" class="">bash: /Users/bulentarikan/Library/GRASS/7.0/Modules: is a directory</span></div><div class=""><br class=""></div><div class="">The path is: </div><div class=""><span style="font-family: Monaco;" class=""><br class=""></span></div><div class=""><span style="font-family: Monaco;" class="">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:</span></div><div class=""><br class=""></div><div class="">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:</div><div class=""><span style="font-family: Monaco;" class=""><br class=""></span></div><div class=""><span style="font-family: Monaco;" class="">chmod +x /Users/bulentarikan/Desktop/r.landscape.evol7.py</span><span style="font-family: Monaco;" class=""> </span></div><div class=""><br class=""></div><div class="">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?</div><div class=""> </div><div class=""><br class=""></div><div class="">In the Terminal, I call the script by typing its name. I get the error below:</div><div class=""><br class=""></div><div class=""><img height="218" width="476" apple-width="yes" apple-height="yes" apple-inline="yes" id="5E41A3CD-342C-4AB1-93DC-DAF0CA188AE6" src="cid:03CBBC05-E87F-474A-8499-797447A0B286@mynet" class=""></div><div class=""><br class=""></div><div class="">Does this mean that I also need to have the executable file in <span style="font-family: Monaco;" class="">/Users/bulentarikan/Library/GRASS/7.0/Modules?</span></div><div class=""> </div><div class="">Thank you!</div><div class=""><br class=""><div apple-content-edited="true" class="">
<div class=""><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">BÜLENT ARIKAN</span><br style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class="">Assistant Professor</div><div class="">Department of Ecology and Evolution<br class="">&<br class="">Assistant Director</div><div class="">Eurasia Institute of Earth Sciences<br class="">Istanbul Technical University <br class="">Maslak-Sarıyer<br class="">Istanbul<br class="">34469<br class=""><div class="">Turkey</div></div></div><a href="http://web.itu.edu.tr/~bulentarikan/index.html" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://web.itu.edu.tr/~bulentarikan/index.html</a><br style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2;" class=""><span><img height="125" width="94" apple-inline="yes" id="35665758-86C4-417F-84F7-5A529A857E6D" apple-width="yes" apple-height="yes" src="cid:897564C1-83A4-4260-9D55-1D8E53BE0943@Home" class=""></span>
</span></div>
</div><br class=""></div></body></html>