[GRASS-user] ascii decode special character

Markus Neteler neteler at osgeo.org
Wed Jan 2 10:43:55 PST 2019


Hi Frank,


Am Mi., 2. Jan. 2019, 16:56 hat Frank David <frank.david at geophom.fr>
geschrieben:

> Hello all,
>
> I wish a very nice year to every GRASS user and also for GRASS
> developments !
>

Happy New Year!

I met a decoding problem with "v.db.select map=my_vector
> columns=my_name" when GRASS meet some special characters in the string
> of my_name field. The string value is "Côte de la Bouchère".
>
> See below the error message :
>
> Traceback (most recent call last):
>    File
> "/usr/local/grass-7.5.svn/gui/wxpython/gui_core/goutput.py",
> line 472, in OnCmdOutput
>
> self.cmdOutput.AddStyledMessage(message, type)
>    File
> "/usr/local/grass-7.5.svn/gui/wxpython/gui_core/goutput.py",
> line 771, in AddStyledMessage
>
> self.AddTextWrapped(message, wrap=None)
>    File
> "/usr/local/grass-7.5.svn/gui/wxpython/gui_core/goutput.py",
> line 722, in AddTextWrapped
>
> self.AddText(txt)
>    File "/usr/lib/python2.7/dist-
> packages/wx-3.0-gtk2/wx/stc.py", line 2041, in AddText
>
> return _stc.StyledTextCtrl_AddText(*args, **kwargs)
> UnicodeDecodeError
> :
> 'ascii' codec can't decode byte 0xc3 in position 1: ordinal
> not in range(128)
> (Wed Jan  2 16:40:24 2019) Command finished (0 sec)
>
> Is there anybody who know how I can solve this ? (with GRASS v7.5 on
> debian9)
>

Could you please send the precise version? It looks a bit dated.

g.version -g

?

Best
Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20190102/fe19d13d/attachment.html>


More information about the grass-user mailing list