<div dir="ltr">Hi,<div><br></div><div>there is an addon r.landscape.evol for grass 7, can't you use that one?<br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 15, 2015 at 4:43 PM, Bulent Arikan <span dir="ltr"><<a href="mailto:bulent.arikan@gmail.com" target="_blank">bulent.arikan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">Dear List,<div><br></div><div>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>The add-on base is defined as: <span style="font-family:Monaco">bash: /Users/bulentarikan/Library/GRASS/7.0/Modules: is a directory</span></div><div><br></div><div>The path is: </div><div><span style="font-family:Monaco"><br></span></div><div><span style="font-family:Monaco">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><br></div><div>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><span style="font-family:Monaco"><br></span></div><div><span style="font-family:Monaco">chmod +x /Users/bulentarikan/Desktop/<a href="http://r.landscape.evol7.py" target="_blank">r.landscape.evol7.py</a></span><span style="font-family:Monaco"> </span></div><div><br></div><div>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> </div><div><br></div><div>In the Terminal, I call the script by typing its name. I get the error below:</div><div><br></div><div><img height="218" width="476" src="cid:03CBBC05-E87F-474A-8499-797447A0B286@mynet"></div></div></blockquote><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">Have you tried to run the module in command line with some parameters (not launching the dialog)? You can try  <a href="http://r.landscape.evol7.py">r.landscape.evol7.py</a> --help and you will see if it runs. I've seen this error before but I don't really know where it comes from.</div></blockquote><div><br></div><div>Anna</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Does this mean that I also need to have the executable file in <span style="font-family:Monaco">/Users/bulentarikan/Library/GRASS/7.0/Modules?</span></div><div> </div><div>Thank you!</div><div><br><div>
<div><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:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>Assistant Professor</div><div>Department of Ecology and Evolution<br>&<br>Assistant Director</div><div>Eurasia Institute of Earth Sciences<br>Istanbul Technical University <br>Maslak-Sarıyer<br>Istanbul<br>34469<br><div>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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><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"><span><img height="125" width="94" src="cid:897564C1-83A4-4260-9D55-1D8E53BE0943@Home"></span>
</span></div>
</div><br></div></div><br>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br></blockquote></div><br></div></div></div>