[GRASS-dev] [GRASS GIS] #3842: PyGRASS: grass.pygrass.modules.Module("r.watershed").flags() raises UnicodeEncodeError

#3842: PyGRASS: grass.pygrass.modules.Module("r.watershed").flags() raises
UnicodeEncodeError
-----------------------+-------------------------
Reporter: itati01 | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: PyGRASS | Version: unspecified
Keywords: | CPU: x86-64
Platform: MSWindows |
-----------------------+-------------------------
Hello,

These lines result in an UnicodeEncodeError on my Windows machine (W10
64bit, German language). I am using Grass 7.6.0 which comes with Python
2.7.14.

{{{
#!div style="font-size: 80%"
   {{{#!python
   import grass.pygrass.modules as gmod
   wat = gmod.Module("r.watershed")
   wat.flags()
   }}}
}}}

The docstring contains a mix of German and English descriptions, including
German umlauts. The same happens in GRASS 7.2.2.

Best
Andreas

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3842&gt;
GRASS GIS <https://grass.osgeo.org>

#3842: PyGRASS: grass.pygrass.modules.Module("r.watershed").flags() raises
UnicodeEncodeError
----------------------+-------------------------
  Reporter: itati01 | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.6.2
Component: PyGRASS | Version: unspecified
Resolution: | Keywords:
       CPU: x86-64 | Platform: MSWindows
----------------------+-------------------------
Changes (by martinl):

* milestone: => 7.6.2

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3842#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3842: PyGRASS: grass.pygrass.modules.Module("r.watershed").flags() raises
UnicodeEncodeError
----------------------+-------------------------
  Reporter: itati01 | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.6.2
Component: PyGRASS | Version: 7.2.2
Resolution: | Keywords:
       CPU: x86-64 | Platform: MSWindows
----------------------+-------------------------
Changes (by martinl):

* version: unspecified => 7.2.2

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3842#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#3842: PyGRASS: grass.pygrass.modules.Module("r.watershed").flags() raises
UnicodeEncodeError
----------------------+-------------------------
  Reporter: itati01 | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.6.2
Component: PyGRASS | Version: 7.2.2
Resolution: | Keywords:
       CPU: x86-64 | Platform: MSWindows
----------------------+-------------------------

Comment (by itati01):

Note: This issue is not specific to r.watershed (e.g. r.univar).

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3842#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>