<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 5, 2020 at 1:52 PM Rainer M Krug <<a href="mailto:Rainer@krugs.de">Rainer@krugs.de</a>> wrote:<br></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;"><br><div><br><blockquote type="cite"><div>On 5 Mar 2020, at 17:53, Vaclav Petras <<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 5, 2020 at 11:37 AM Rainer M Krug <<a href="mailto:Rainer@krugs.de" target="_blank">Rainer@krugs.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>OK - one step closer to success. Now I just have to know the location where the data for the tests can be downloaded from (I guess).</div></blockquote><div><br></div><div>Everything is in the repo, well, it needs to be, I guess the only question is where in the repo, so:<br></div><div><br></div><div><a href="https://github.com/GRASS-GIS/grass-gis-experimental-ci/blob/homebrew-osgeo4mac/test_thorough.sh" target="_blank">https://github.com/GRASS-GIS/grass-gis-experimental-ci/blob/homebrew-osgeo4mac/test_thorough.sh</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div> Please check the log to at <a href="https://github.com/GRASS-GIS/grass-gis-experimental-ci/runs/487969965?check_suite_focus=true" target="_blank">https://github.com/GRASS-GIS/grass-gis-experimental-ci/runs/487969965?check_suite_focus=true</a> for the <b>Basic test</b> and the <b>Thorough test</b>. I will look at the return code later, when the tests are running.</div></blockquote><div><br></div><div>The problem there is probably a bad/missing path to PROJ db. I think it complains during the configuration already, so perhaps correct --with-proj-share will fix it. The runtime way of setting it is PROJ_LIB environmental variable. You can try something along these lines.<br></div></div></div></div></blockquote><div><br></div>I am trying to find the file `proj.db` but can’t find it - can you give me any indication, where it can be found in Linux (home-brew should use similar locations)?</div></div></blockquote><div><br></div><div>Often it is in `/usr/share/proj`. Now you can find things like that in the Docker/Singularity/Vagrant configurations included in GRASS GIS source code or in the CIs, e.g., here:</div><div><br></div><div><a href="https://github.com/GRASS-GIS/grass-gis-experimental-ci/blob/master/build.sh#L39">https://github.com/GRASS-GIS/grass-gis-experimental-ci/blob/master/build.sh#L39</a></div><div><br></div><div> </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;"><br><div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><br></div><div>Rainer<br><div><br></div><div><br><div><br><blockquote type="cite"><div>On 5 Mar 2020, at 16:28, Rainer M Krug <<a href="mailto:Rainer@krugs.de" target="_blank">Rainer@krugs.de</a>> wrote:</div><br><div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br><br><blockquote type="cite"><div>On 5 Mar 2020, at 16:22, Rainer M Krug <<a href="mailto:Rainer@krugs.de" target="_blank">Rainer@krugs.de</a>> wrote:</div><br><div><div><br><div><br><blockquote type="cite"><div>On 5 Mar 2020, at 14:52, Vaclav Petras <<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div dir="ltr"><br></div><br><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" target="_blank">Rainer@krugs.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>OK - found the ci.<div><br></div><div>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><br></div><blockquote style="margin:0px 0px 0px 40px;border:medium none;padding:0px"><div><div><font face="Menlo">If it is the case that you can change the shebang at the beginning of</font></div></div><div><font face="Menlo"><br></font></div><div><span style="font-family:Menlo">he script to enforce Python 3 usage.</span></div><div><font face="Menlo"><br></font></div><div><span style="font-family:Menlo">  </span><span style="font-family:Menlo">#!/usr/bin/env python</span></div><div><span style="font-family:Menlo"><br></span></div><div><span style="font-family:Menlo">Should be changed into</span></div><div><font face="Menlo"><br></font></div><div><span style="font-family:Menlo">  </span><span style="font-family:Menlo">#!/usr/bin/env python3</span></div><div><br></div></blockquote><div><br></div><div>I suspect that this needs to be done in GRASS itself?</div></div></blockquote><div><br></div><div>Hi, thanks for looking into this. 7.8.2 (and also above) has python3 everywhere in shebang. See e.g.:<br></div><div><br></div><div>$ grep -Irn "/usr/bin/env python[^3]"</div><div>scripts/g.extension/<a href="http://g.extension.py:1059/" target="_blank">g.extension.py:1059</a>:                    "#!/usr/bin/env python\n",<br>scripts/g.extension/<a href="http://g.extension.py:1308/" target="_blank">g.extension.py:1308</a>:                    "#!/usr/bin/env python\n",</div><div># (these two are in fact code which is doing the replacement to python3)<br></div><div><br></div><div>Can you please investigate locally where the message coming from?</div></div></div></div></blockquote><div><br></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><br></div><div>I will look into this.</div></div></div></blockquote><div><br></div>Please ignore the following about the checkout.</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">Found it.</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br><blockquote type="cite"><div><div><div><br></div><div>Do you know, why there is a </div><div><br></div><div><span style="white-space:pre-wrap">    </span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;white-space:pre-wrap;background-color:rgb(255,255,255)">- </span><span style="box-sizing:border-box;color:rgb(34,134,58);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;white-space:pre-wrap">uses</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;white-space:pre-wrap;background-color:rgb(255,255,255)">: </span><span style="box-sizing:border-box;color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;white-space:pre-wrap">actions/checkout@v2</span></div><div><br></div><div>In the action?</div><div><br></div><div>It seems, that it will be executed last, and there is no checkout needed.</div><div><br></div><div>Rainer</div><div><br></div><div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_quote"><div><br></div><div>Vaclav<br></div></div></div></div></blockquote></div><br><div><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="text-align:start;text-indent:0px"><div dir="auto" style="text-align:start;text-indent:0px">--<br>Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)<br><br></div><div dir="auto" style="text-align:start;text-indent:0px">Orcid ID: 0000-0002-7490-0066</div><div dir="auto" style="text-align:start;text-indent:0px"><br></div><div dir="auto" style="text-align:start;text-indent:0px">Department of Evolutionary Biology and Environmental Studies<br>University of Zürich<br>Office Y34-J-74<br>Winterthurerstrasse 190<br>8075 Zürich<br>Switzerland<br><br>Office:<span style="white-space:pre-wrap">        </span>+41 (0)44 635 47 64<br>Cell:      <span> </span><span style="white-space:pre-wrap"> </span>+41 (0)78 630 66 57<br></div><div dir="auto" style="text-align:start;text-indent:0px"><a href="mailto:Rainer.Krug@uzh.ch" target="_blank">email:      Rainer.Krug@uzh.ch</a></div><div dir="auto" style="text-align:start;text-indent:0px"><span style="white-space:pre-wrap">            </span><a href="mailto:Rainer@krugs.de" target="_blank">Rainer@krugs.de</a><br>Skype:    <span> </span>RMkrug<br><br>PGP: 0x0F52F982<br><br><br></div></div></div></div></div><br></div></div></blockquote></div><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="text-align:start;text-indent:0px"><div dir="auto" style="text-align:start;text-indent:0px">--<br>Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)<br><br></div><div dir="auto" style="text-align:start;text-indent:0px">Orcid ID: 0000-0002-7490-0066</div><div dir="auto" style="text-align:start;text-indent:0px"><br></div><div dir="auto" style="text-align:start;text-indent:0px">Department of Evolutionary Biology and Environmental Studies<br>University of Zürich<br>Office Y34-J-74<br>Winterthurerstrasse 190<br>8075 Zürich<br>Switzerland<br><br>Office:<span style="white-space:pre-wrap">     </span>+41 (0)44 635 47 64<br>Cell:      <span> </span><span style="white-space:pre-wrap"> </span>+41 (0)78 630 66 57<br></div><div dir="auto" style="text-align:start;text-indent:0px"><a href="mailto:Rainer.Krug@uzh.ch" target="_blank">email:      Rainer.Krug@uzh.ch</a></div><div dir="auto" style="text-align:start;text-indent:0px"><span style="white-space:pre-wrap">            </span><a href="mailto:Rainer@krugs.de" target="_blank">Rainer@krugs.de</a><br>Skype:    <span> </span>RMkrug<br><br>PGP: 0x0F52F982</div></div></div></div></div></div></blockquote></div><br><div>
<div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="text-align:start;text-indent:0px"><div dir="auto" style="text-align:start;text-indent:0px">--<br>Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)<br><br></div><div dir="auto" style="text-align:start;text-indent:0px">Orcid ID: 0000-0002-7490-0066</div><div dir="auto" style="text-align:start;text-indent:0px"><br></div><div dir="auto" style="text-align:start;text-indent:0px">Department of Evolutionary Biology and Environmental Studies<br>University of Zürich<br>Office Y34-J-74<br>Winterthurerstrasse 190<br>8075 Zürich<br>Switzerland<br><br>Office:<span style="white-space:pre-wrap">  </span>+41 (0)44 635 47 64<br>Cell:      <span> </span><span style="white-space:pre-wrap"> </span>+41 (0)78 630 66 57<br></div><div dir="auto" style="text-align:start;text-indent:0px"><a href="mailto:Rainer.Krug@uzh.ch" target="_blank">email:      Rainer.Krug@uzh.ch</a></div><div dir="auto" style="text-align:start;text-indent:0px"><span style="white-space:pre-wrap">            </span><a href="mailto:Rainer@krugs.de" target="_blank">Rainer@krugs.de</a><br>Skype:    <span> </span>RMkrug<br><br>PGP: 0x0F52F982<br><br><br></div></div></div></div>
</div>
<br></div></div></div></blockquote></div></div>
</div></blockquote></div><br><div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="text-align:start;text-indent:0px"><div dir="auto" style="text-align:start;text-indent:0px">--<br>Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)<br><br></div><div dir="auto" style="text-align:start;text-indent:0px">Orcid ID: 0000-0002-7490-0066</div><div dir="auto" style="text-align:start;text-indent:0px"><br></div><div dir="auto" style="text-align:start;text-indent:0px">Department of Evolutionary Biology and Environmental Studies<br>University of Zürich<br>Office Y34-J-74<br>Winterthurerstrasse 190<br>8075 Zürich<br>Switzerland<br><br>Office:<span style="white-space:pre-wrap">        </span>+41 (0)44 635 47 64<br>Cell:      <span> </span><span style="white-space:pre-wrap"> </span>+41 (0)78 630 66 57<br></div><div dir="auto" style="text-align:start;text-indent:0px"><a href="mailto:Rainer.Krug@uzh.ch" target="_blank">email:      Rainer.Krug@uzh.ch</a></div><div dir="auto" style="text-align:start;text-indent:0px"><span style="white-space:pre-wrap">            </span><a href="mailto:Rainer@krugs.de" target="_blank">Rainer@krugs.de</a><br>Skype:    <span> </span>RMkrug<br><br>PGP: 0x0F52F982<br><br><br></div></div></div></div>
</div>
<br></div></blockquote></div></div>