Opened 6 years ago

Last modified 6 years ago

#3842 new defect

PyGRASS: grass.pygrass.modules.Module("r.watershed").flags() raises UnicodeEncodeError

Reported by: itati01 Owned by: grass-dev@…
Priority: normal Milestone: 7.6.2
Component: PyGRASS Version: 7.2.2
Keywords: Cc:
CPU: x86-64 Platform: MSWindows

Description

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.

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

Change History (3)

comment:1 by martinl, 6 years ago

Milestone: 7.6.2

comment:2 by martinl, 6 years ago

Version: unspecified7.2.2

comment:3 by itati01, 6 years ago

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

Note: See TracTickets for help on using tickets.