<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 5 Mar 2020, at 16:22, Rainer M Krug <<a href="mailto:Rainer@krugs.de" class="">Rainer@krugs.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 5 Mar 2020, at 14:52, Vaclav Petras <<a href="mailto:wenzeslaus@gmail.com" class="">wenzeslaus@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><br class=""></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 5, 2020 at 4:27 AM Rainer M Krug <<a href="mailto:Rainer@krugs.de" class="">Rainer@krugs.de</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class="">OK - found the ci.<div class=""><br class=""></div><div class="">The formula installs, but I get a warning at the end, which results in a warning, which is than interpreted as an error. The warning (which I also get locally) is the following:</div><div class=""><br class=""></div><blockquote style="margin:0px 0px 0px 40px;border:medium none;padding:0px" class=""><div class=""><div class=""><font face="Menlo" class="">If it is the case that you can change the shebang at the beginning of</font></div></div><div class=""><font face="Menlo" class=""><br class=""></font></div><div class=""><span style="font-family:Menlo" class="">he script to enforce Python 3 usage.</span></div><div class=""><font face="Menlo" class=""><br class=""></font></div><div class=""><span style="font-family:Menlo" class="">  </span><span style="font-family:Menlo" class="">#!/usr/bin/env python</span></div><div class=""><span style="font-family:Menlo" class=""><br class=""></span></div><div class=""><span style="font-family:Menlo" class="">Should be changed into</span></div><div class=""><font face="Menlo" class=""><br class=""></font></div><div class=""><span style="font-family:Menlo" class="">  </span><span style="font-family:Menlo" class="">#!/usr/bin/env python3</span></div><div class=""><br class=""></div></blockquote><div class=""><br class=""></div><div class="">I suspect that this needs to be done in GRASS itself?</div></div></blockquote><div class=""><br class=""></div><div class="">Hi, thanks for looking into this. 7.8.2 (and also above) has python3 everywhere in shebang. See e.g.:<br class=""></div><div class=""><br class=""></div><div class="">$ grep -Irn "/usr/bin/env python[^3]"</div><div class="">scripts/g.extension/<a href="http://g.extension.py:1059/" class="">g.extension.py:1059</a>:                    "#!/usr/bin/env python\n",<br class="">scripts/g.extension/<a href="http://g.extension.py:1308/" class="">g.extension.py:1308</a>:                    "#!/usr/bin/env python\n",</div><div class=""># (these two are in fact code which is doing the replacement to python3)<br class=""></div><div class=""><br class=""></div><div class="">Can you please investigate locally where the message coming from?</div></div></div></div></blockquote><div class=""><br class=""></div>The message comes from the formula as a Caveat. I *think* it is always displayed. But at the moment, I am not to sure where the error code comes from, as I get an error code at the end of the brew command of 0 locally.</div><div class=""><br class=""></div><div class="">I will look into this.</div></div></div></blockquote><div><br class=""></div>Please ignore the following about the checkout.</div><div><br class=""></div><div>Found it.</div><div><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">Do you know, why there is a </div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">    </span><span style="caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; white-space: pre; background-color: rgb(255, 255, 255);" class="">- </span><span class="pl-ent" style="box-sizing: border-box; color: rgb(34, 134, 58); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; white-space: pre;">uses</span><span style="caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; white-space: pre; background-color: rgb(255, 255, 255);" class="">: </span><span class="pl-s" style="box-sizing: border-box; color: rgb(3, 47, 98); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; white-space: pre;">actions/checkout@v2</span></div><div class=""><br class=""></div><div class="">In the action?</div><div class=""><br class=""></div><div class="">It seems, that it will be executed last, and there is no checkout needed.</div><div class=""><br class=""></div><div class="">Rainer</div><div class=""><br class=""></div><div class=""><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_quote"><div class=""><br class=""></div><div class="">Vaclav<br class=""></div></div></div>
</div></blockquote></div><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">--<br class="">Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)<br class=""><br class=""></div><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Orcid ID: 0000-0002-7490-0066</div><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""></div><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Department of Evolutionary Biology and Environmental Studies<br class="">University of Zürich<br class="">Office Y34-J-74<br class="">Winterthurerstrasse 190<br class="">8075 Zürich<br class="">Switzerland<br class=""><br class="">Office:<span class="Apple-tab-span" style="white-space: pre;">    </span>+41 (0)44 635 47 64<br class="">Cell:      <span class="Apple-converted-space"> </span><span class="Apple-tab-span" style="white-space: pre;">    </span>+41 (0)78 630 66 57<br class=""></div><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><a href="mailto:Rainer.Krug@uzh.ch" class="">email:      Rainer.Krug@uzh.ch</a></div><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span class="Apple-tab-span" style="white-space: pre;">                </span><a href="mailto:Rainer@krugs.de" class="">Rainer@krugs.de</a><br class="">Skype:    <span class="Apple-converted-space"> </span>RMkrug<br class=""><br class="">PGP: 0x0F52F982<br class=""><br class=""><br class=""></div></div></div></div>
</div>
<br class=""></div></div></blockquote></div><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">--<br class="">Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)<br class=""><br class=""></div><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Orcid ID: 0000-0002-7490-0066</div><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""></div><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Department of Evolutionary Biology and Environmental Studies<br class="">University of Zürich<br class="">Office Y34-J-74<br class="">Winterthurerstrasse 190<br class="">8075 Zürich<br class="">Switzerland<br class=""><br class="">Office:<span class="Apple-tab-span" style="white-space: pre;">  </span>+41 (0)44 635 47 64<br class="">Cell:      <span class="Apple-converted-space"> </span><span class="Apple-tab-span" style="white-space: pre;">    </span>+41 (0)78 630 66 57<br class=""></div><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><a href="mailto:Rainer.Krug@uzh.ch" class="">email:      Rainer.Krug@uzh.ch</a></div><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span class="Apple-tab-span" style="white-space: pre;">                </span><a href="mailto:Rainer@krugs.de" class="">Rainer@krugs.de</a><br class="">Skype:    <span class="Apple-converted-space"> </span>RMkrug<br class=""><br class="">PGP: 0x0F52F982<br class=""><br class=""><br class=""></div></div></div></div>
</div>
<br class=""></body></html>