[GRASS-dev] [GRASS GIS] #3530: wxgui: refreshing display after erasing displayed map creates encoding error

#3530: wxgui: refreshing display after erasing displayed map creates encoding
error
--------------------------------+-------------------------
Reporter: mlennert | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.4.1
Component: wxGUI | Version: svn-trunk
Keywords: encoding rendering | CPU: Unspecified
Platform: Unspecified |
--------------------------------+-------------------------
When I display a map, then erase it and then refresh the display, I get
the following encoding error with a fresh trunk:

{{{
Traceback (most recent call last):
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-
linux-gnu/gui/wxpython/core/gthread.py", line 117, in OnDone

event.ondone(event)
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-
linux-gnu/gui/wxpython/core/render.py", line 434, in
OnRenderDone

(self.layer, event.ret, time.time() - self._startTime))
UnicodeDecodeError
:
'ascii' codec can't decode byte 0xc3 in position 70: ordinal
not in range(128)
}}}

My build info:

{{{
g.version -g
version=7.5.svn
date=2018
revision=r72399
build_date=2018-03-20
build_platform=x86_64-pc-linux-gnu
build_off_t_size=8
}}}

My locale info:

{{{
> locale
LANG=fr_BE
LANGUAGE=fr_BE
LC_CTYPE=fr_BE.UTF-8
LC_NUMERIC=C
LC_TIME=fr_BE.UTF-8
LC_COLLATE=fr_BE.UTF-8
LC_MONETARY=fr_BE.UTF-8
LC_MESSAGES=fr_BE.UTF-8
LC_PAPER=fr_BE.UTF-8
LC_NAME=fr_BE.UTF-8
LC_ADDRESS=fr_BE.UTF-8
LC_TELEPHONE=fr_BE.UTF-8
LC_MEASUREMENT=fr_BE.UTF-8
LC_IDENTIFICATION=fr_BE.UTF-8
LC_ALL=
}}}

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

#3530: wxgui: refreshing display after erasing displayed map creates encoding
error
--------------------------+--------------------------------
  Reporter: mlennert | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.4.1
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: encoding rendering
       CPU: Unspecified | Platform: Unspecified
--------------------------+--------------------------------

Comment (by marisn):

See also #3517

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

#3530: wxgui: refreshing display after erasing displayed map creates encoding
error
--------------------------+--------------------------------
  Reporter: mlennert | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.4.1
Component: wxGUI | Version: svn-trunk
Resolution: duplicate | Keywords: encoding rendering
       CPU: Unspecified | Platform: Unspecified
--------------------------+--------------------------------
Changes (by mlennert):

* status: new => closed
* resolution: => duplicate

Comment:

Replying to [comment:1 marisn]:
> See also #3517

Yes, you're right. That seems to be exactly the same thing. Closing this
one as duplicate of #3517.

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