<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>-------------------------------Information source:<br><br><a href="https://wingrass.fsv.cvut.cz/grass70/x86_64/addons/latest/logs/">https://wingrass.fsv.cvut.cz/grass70/x86_64/addons/latest/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">https://wingrass.fsv.cvut.cz/grass70/x86_64/addons/latest/logs/m.printws.log</a><br></div><div><br></div><div>-------------------------------End of Log:<br><pre>[...]<br>m.printws.tmp.html ; fi
Traceback (most recent call last):
  File "C:/Users/landa/grass_packager/grass705RC1/x86_64/addons/m.printws/scripts/<a href="http://m.printws.py">m.printws.py</a>", line 177, in <module>
    import pwd
ImportError: No module named pwd
/c/msys64/usr/src/grass705RC1/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 class="gmail-pl-k">if</span> <a href="http://os.name">os.name</a> <span class="gmail-pl-k"><></span> <span class="gmail-pl-s"><span class="gmail-pl-pds">'</span>nt<span class="gmail-pl-pds">'</span></span>:<br><span class="gmail-pl-k">import</span> pwd<br></div></div>