[GRASS-user] . winGRASS tester needed ... to fix upcoming releases

karsten karsten at terragis.net
Fri May 7 11:33:25 PDT 2021


On my windows 10 machine and using Grass version  7.8.5 I have added 
set PYTHONUTF8=1 to the bat file 
and Grass is starting up fine. I will report any issues that I'll find

Cheers
Karsten


-----Original Message-----
From: grass-user [mailto:grass-user-bounces at lists.osgeo.org] On Behalf Of
grass-user-request at lists.osgeo.org
Sent: Thursday, May 06, 2021 14:12
To: grass-user at lists.osgeo.org
Subject: grass-user Digest, Vol 181, Issue 3

Send grass-user mailing list submissions to
	grass-user at lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.osgeo.org/mailman/listinfo/grass-user
or, via email, send a message with subject or body 'help' to
	grass-user-request at lists.osgeo.org

You can reach the person managing the list at
	grass-user-owner at lists.osgeo.org

When replying, please edit your Subject line so it is more specific than
"Re: Contents of grass-user digest..."


Today's Topics:

   1. winGRASS tester needed ... to fix upcoming releases :-) ....
      nobody out there willing to test? (Helmut Kudrnovsky)
   2. Re: winGRASS tester needed ... to fix upcoming releases :-)
      .... nobody out there willing to test? (Maria Cecilia Zalazar)
   3. Re: winGRASS tester needed ... to fix upcoming releases :-)
      .... nobody out there willing to test? (Maria Cecilia Zalazar)


----------------------------------------------------------------------

Message: 1
Date: Thu, 6 May 2021 22:20:23 +0200
From: Helmut Kudrnovsky <hellik at web.de>
To: grass-user at lists.osgeo.org
Subject: [GRASS-user] winGRASS tester needed ... to fix upcoming
	releases :-) .... nobody out there willing to test?
Message-ID:
	
<trinity-050dd24e-81ac-4865-a0a1-ebf5a0c3161b-1620332423809 at 3c-app-webde-bap
16>
	
Content-Type: text/plain; charset=UTF-8

mail below was sent on Wed Apr 14 2021 => no reaction, no one a minute to
test?

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....

kind regards
Helmut

----------------------------------------------------------------------------
-------------------
dear GRASS GIS community,

testing of winGRASS is a important piece of puzzle to guarantee a stable and
useable software on the MS windows platform in the future.

For this, we would need the help of the community now. :-)

background is an _error in g.extension while installing i.fusion.hpf in
windows_

some more information

https://github.com/OSGeo/grass/issues/1477
https://github.com/OSGeo/grass/pull/1496

it's an encoding issue while opening files via python.

a possible solution may be set PYTHONUTF8=1 as environment variable.

and a way how you could help, just add

set PYTHONUTF8=1

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).

it would look like:

[...]
set PYTHONUTF8=1
set GRASS_PYTHON=%OSGEO4W_ROOT%\bin\python3.exe
[...]

and then happy GRASS GIS working :-) and report back if there are any issues
in your daily winGRASS work.

kind regards
Helmut


------------------------------

Message: 2
Date: Thu, 6 May 2021 17:47:19 -0300
From: Maria Cecilia Zalazar <zalazarmariacecilia at gmail.com>
To: Helmut Kudrnovsky <hellik at web.de>
Cc: grass-user at lists.osgeo.org
Subject: Re: [GRASS-user] winGRASS tester needed ... to fix upcoming
	releases :-) .... nobody out there willing to test?
Message-ID:
	<CADLxGovin56s+qdzPDbtRqLXrQqwnq55CSfPcY9RaNfD2SOOmw at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

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

Downloading precompiled GRASS Addons <i.fusion.hpf>...
Fetching <i.fusion.hpf> from <
http://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.5/i.fusion.hpf.z
ip>
(be patient)...
Traceback (most recent call last):
  File
"C:\OSGeo4W64\apps\grass\grass78/scripts/g.extension.py",
line 2350, in <module>
    sys.exit(main())
  File
"C:\OSGeo4W64\apps\grass\grass78/scripts/g.extension.py",
line 2330, in main
    install_extension(source=source, url=url, xmlurl=xmlurl,
branch=branch)
  File
"C:\OSGeo4W64\apps\grass\grass78/scripts/g.extension.py",
line 871, in install_extension
    ret1, new_modules_ext, new_files_ext =
install_extension_win(extension)
  File
"C:\OSGeo4W64\apps\grass\grass78/scripts/g.extension.py",
line 1259, in install_extension_win
    for line in file:
  File "C:\OSGeo4W64\apps\Python37\lib\fileinput.py", line 252, in __next__
    line = self._readline()
  File "C:\OSGeo4W64\apps\Python37\lib\fileinput.py", line 366, in _readline
    return self._readline()
  File "C:\OSGeo4W64\apps\Python37\lib\encodings\cp1252.py",
line 23, in decode
    return
codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 401:
character maps to <undefined>

El jue, 6 de may. de 2021 a la(s) 17:27, Helmut Kudrnovsky (hellik at web.de)
escribi?:

> mail below was sent on Wed Apr 14 2021 => no reaction, no one a minute 
> to test?
>
> 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....
>
> kind regards
> Helmut
>
>
> ----------------------------------------------------------------------
> -------------------------
> dear GRASS GIS community,
>
> testing of winGRASS is a important piece of puzzle to guarantee a 
> stable and useable software on the MS windows platform in the future.
>
> For this, we would need the help of the community now. :-)
>
> background is an _error in g.extension while installing i.fusion.hpf 
> in windows_
>
> some more information
>
> https://github.com/OSGeo/grass/issues/1477
> https://github.com/OSGeo/grass/pull/1496
>
> it's an encoding issue while opening files via python.
>
> a possible solution may be set PYTHONUTF8=1 as environment variable.
>
> and a way how you could help, just add
>
> set PYTHONUTF8=1
>
> 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).
>
> it would look like:
>
> [...]
> set PYTHONUTF8=1
> set GRASS_PYTHON=%OSGEO4W_ROOT%\bin\python3.exe
> [...]
>
> and then happy GRASS GIS working :-) and report back if there are any 
> issues in your daily winGRASS work.
>
> kind regards
> Helmut
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.osgeo.org/pipermail/grass-user/attachments/20210506/333c9f5e/a
ttachment-0001.html>

------------------------------

Message: 3
Date: Thu, 6 May 2021 18:11:53 -0300
From: Maria Cecilia Zalazar <zalazarmariacecilia at gmail.com>
To: Helmut Kudrnovsky <hellik at web.de>
Cc: grass-user at lists.osgeo.org
Subject: Re: [GRASS-user] winGRASS tester needed ... to fix upcoming
	releases :-) .... nobody out there willing to test?
Message-ID:
	<CADLxGot2c4-42Zs3uEHKPNa20FH=H85=C6yg51Qfa4vUsGg5gw at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Sorry.... and If I added  "set PYTHONUTF8=1" in
C:\OSGeo4W64\apps\grass\grass78\etc\env.bat just before GRASS_PYTHON is
setting, grass stops to work...

[image: image.png]

El jue, 6 de may. de 2021 a la(s) 17:47, Maria Cecilia Zalazar (
zalazarmariacecilia at gmail.com) escribi?:

> 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
>
> Downloading precompiled GRASS Addons <i.fusion.hpf>...
> Fetching <i.fusion.hpf> from <
> http://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.5/i.fusion
> .hpf.zip>
> (be patient)...
> Traceback (most recent call last):
>   File
> "C:\OSGeo4W64\apps\grass\grass78/scripts/g.extension.py",
> line 2350, in <module>
>     sys.exit(main())
>   File
> "C:\OSGeo4W64\apps\grass\grass78/scripts/g.extension.py",
> line 2330, in main
>     install_extension(source=source, url=url, xmlurl=xmlurl,
> branch=branch)
>   File
> "C:\OSGeo4W64\apps\grass\grass78/scripts/g.extension.py",
> line 871, in install_extension
>     ret1, new_modules_ext, new_files_ext =
> install_extension_win(extension)
>   File
> "C:\OSGeo4W64\apps\grass\grass78/scripts/g.extension.py",
> line 1259, in install_extension_win
>     for line in file:
>   File "C:\OSGeo4W64\apps\Python37\lib\fileinput.py", line 252, in 
> __next__
>     line = self._readline()
>   File "C:\OSGeo4W64\apps\Python37\lib\fileinput.py", line 366, in 
> _readline
>     return self._readline()
>   File "C:\OSGeo4W64\apps\Python37\lib\encodings\cp1252.py",
> line 23, in decode
>     return
> codecs.charmap_decode(input,self.errors,decoding_table)[0]
> UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 
> 401: character maps to <undefined>
>
> El jue, 6 de may. de 2021 a la(s) 17:27, Helmut Kudrnovsky 
> (hellik at web.de)
> escribi?:
>
>> mail below was sent on Wed Apr 14 2021 => no reaction, no one a 
>> minute to test?
>>
>> 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....
>>
>> kind regards
>> Helmut
>>
>>
>> ---------------------------------------------------------------------
>> --------------------------
>> dear GRASS GIS community,
>>
>> testing of winGRASS is a important piece of puzzle to guarantee a 
>> stable and useable software on the MS windows platform in the future.
>>
>> For this, we would need the help of the community now. :-)
>>
>> background is an _error in g.extension while installing i.fusion.hpf 
>> in windows_
>>
>> some more information
>>
>> https://github.com/OSGeo/grass/issues/1477
>> https://github.com/OSGeo/grass/pull/1496
>>
>> it's an encoding issue while opening files via python.
>>
>> a possible solution may be set PYTHONUTF8=1 as environment variable.
>>
>> and a way how you could help, just add
>>
>> set PYTHONUTF8=1
>>
>> 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).
>>
>> it would look like:
>>
>> [...]
>> set PYTHONUTF8=1
>> set GRASS_PYTHON=%OSGEO4W_ROOT%\bin\python3.exe
>> [...]
>>
>> and then happy GRASS GIS working :-) and report back if there are any 
>> issues in your daily winGRASS work.
>>
>> kind regards
>> Helmut
>> _______________________________________________
>> grass-user mailing list
>> grass-user at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/grass-user
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.osgeo.org/pipermail/grass-user/attachments/20210506/d78826f3/a
ttachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 33302 bytes
Desc: not available
URL:
<http://lists.osgeo.org/pipermail/grass-user/attachments/20210506/d78826f3/a
ttachment.png>

------------------------------

Subject: Digest Footer

_______________________________________________
grass-user mailing list
grass-user at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


------------------------------

End of grass-user Digest, Vol 181, Issue 3
******************************************




More information about the grass-user mailing list