<div dir="ltr">Sorry.... and If I added  "set PYTHONUTF8=1" in C:\OSGeo4W64\apps\grass\grass78\etc\env.bat just before GRASS_PYTHON is setting,<div>grass stops to work...<br><div><br></div><div><img src="cid:ii_koddsscd0" alt="image.png" width="517" height="146"><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El jue, 6 de may. de 2021 a la(s) 17:47, Maria Cecilia Zalazar (<a href="mailto:zalazarmariacecilia@gmail.com">zalazarmariacecilia@gmail.com</a>) escribió:<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 dir="ltr">Dear Grass community, I´m using wingrass 7.8.5 (daily, mainly to process and analyze raster DEM). No new issues to report in my daily task.  But if I try to install i.fusion.hpf, as Helmut suggested, I obtain the following error message. I hope it is useful. Best regards<div><br><div><div>Downloading precompiled GRASS Addons <i.fusion.hpf>...<br>Fetching <i.fusion.hpf> from <<a href="http://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.5/i.fusion.hpf.zip" target="_blank">http://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.5/i.fusion.hpf.zip</a>> (be patient)...<br>Traceback (most recent call last):<br>  File<br>"C:\OSGeo4W64\apps\grass\grass78/scripts/<a href="http://g.extension.py" target="_blank">g.extension.py</a>",<br>line 2350, in <module><br>    sys.exit(main())<br>  File<br>"C:\OSGeo4W64\apps\grass\grass78/scripts/<a href="http://g.extension.py" target="_blank">g.extension.py</a>",<br>line 2330, in main<br>    install_extension(source=source, url=url, xmlurl=xmlurl,<br>branch=branch)<br>  File<br>"C:\OSGeo4W64\apps\grass\grass78/scripts/<a href="http://g.extension.py" target="_blank">g.extension.py</a>",<br>line 871, in install_extension<br>    ret1, new_modules_ext, new_files_ext =<br>install_extension_win(extension)<br>  File<br>"C:\OSGeo4W64\apps\grass\grass78/scripts/<a href="http://g.extension.py" target="_blank">g.extension.py</a>",<br>line 1259, in install_extension_win<br>    for line in file:<br>  File "C:\OSGeo4W64\apps\Python37\lib\fileinput.py", line<br>252, in __next__<br>    line = self._readline()<br>  File "C:\OSGeo4W64\apps\Python37\lib\fileinput.py", line<br>366, in _readline<br>    return self._readline()<br>  File "C:\OSGeo4W64\apps\Python37\lib\encodings\cp1252.py",<br>line 23, in decode<br>    return<br>codecs.charmap_decode(input,self.errors,decoding_table)[0]<br>UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d<br>in position 401: character maps to <undefined><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El jue, 6 de may. de 2021 a la(s) 17:27, Helmut Kudrnovsky (<a href="mailto:hellik@web.de" target="_blank">hellik@web.de</a>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">mail below was sent on Wed Apr 14 2021 => no reaction, no one a minute to test?<br>
<br>
if no one of the community has a minute to test winGRASS, then I guess it's time to propose to the PSC dropping winGRASS at all....<br>
<br>
kind regards<br>
Helmut<br>
<br>
-----------------------------------------------------------------------------------------------<br>
dear GRASS GIS community,<br>
<br>
testing of winGRASS is a important piece of puzzle to guarantee a stable and useable software on the MS windows platform in the future.<br>
<br>
For this, we would need the help of the community now. :-)<br>
<br>
background is an _error in g.extension while installing i.fusion.hpf in windows_<br>
<br>
some more information<br>
<br>
<a href="https://github.com/OSGeo/grass/issues/1477" rel="noreferrer" target="_blank">https://github.com/OSGeo/grass/issues/1477</a><br>
<a href="https://github.com/OSGeo/grass/pull/1496" rel="noreferrer" target="_blank">https://github.com/OSGeo/grass/pull/1496</a><br>
<br>
it's an encoding issue while opening files via python.<br>
<br>
a possible solution may be set PYTHONUTF8=1 as environment variable.<br>
<br>
and a way how you could help, just add<br>
<br>
set PYTHONUTF8=1<br>
<br>
in C:\OSGeo4W64\apps\grass\grass79\etc\env.bat just before GRASS_PYTHON is set. (or in the same file in the standalone winGRASS installation).<br>
<br>
it would look like:<br>
<br>
[...]<br>
set PYTHONUTF8=1<br>
set GRASS_PYTHON=%OSGEO4W_ROOT%\bin\python3.exe<br>
[...]<br>
<br>
and then happy GRASS GIS working :-) and report back if there are any issues in your daily winGRASS work.<br>
<br>
kind regards<br>
Helmut<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div>
</blockquote></div>