<div dir="ltr"><div><br></div>Sorry, the previous one was an accidental send....<br><div><br><div class="gmail_quote">---------- COMPLETE MESSAGE IS HERE: ----------<br><br><br><div dir="ltr"><div>Hello,<br><br></div><div>I've realized that m.printws won't compile on windows from the repository.<br><br></div><div>------------------------------<wbr>-Information source:<br><br><a href="https://wingrass.fsv.cvut.cz/grass70/x86_64/addons/latest/logs/" target="_blank">https://wingrass.fsv.cvut.cz/<wbr>grass70/x86_64/addons/latest/<wbr>logs/</a><br></div><div><br></div><div>and especially:<br><br><a href="https://wingrass.fsv.cvut.cz/grass70/x86_64/addons/latest/logs/m.printws.log" target="_blank">https://wingrass.fsv.cvut.cz/<wbr>grass70/x86_64/addons/latest/<wbr>logs/m.printws.log</a><br></div><div><br></div><div>------------------------------<wbr>-End of Log:<br><pre>[...]<br>m.printws.tmp.html ; fi
Traceback (most recent call last):
  File "C:/Users/landa/grass_<wbr>packager/grass705RC1/x86_64/<wbr>addons/m.printws/scripts/<a href="http://m.printws.py" target="_blank">m.<wbr>printws.py</a>", line 177, in <module>
    import pwd
ImportError: No module named pwd
/c/msys64/usr/src/grass705RC1/<wbr>include/Make/Html.make:14: recipe for target 'm.printws.tmp.html' failed
make: *** [m.printws.tmp.html] Error 1
rm m.printws.tmp.html</pre><br></div><div>I've realized that pwd module is not available on windows. Very well, I<br></div><div>made a functional workaround and the key part is this:<br></div><div><br><span>if</span> <a href="http://os.name" target="_blank">os.name</a> <span><></span> <span><span>'</span>nt<span>'</span></span>:<br><span>    import</span> pwd<br></div></div>
</div><br></div><div>(and yes, later on it is handled as well.... but his causes the compilation error)<br></div><div><br><br></div><div><b>Will it pass the compile test? Or should I do something completely different?</b><br></div><div><br><br></div><div>thanks Robert<br><br></div><div><br><br></div></div>