[GRASS-dev] [GRASS GIS] #3925: v.report - UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d

GRASS GIS trac at osgeo.org
Wed Oct 23 14:21:18 PDT 2019


#3925: v.report - UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d
------------------------------------+---------------------------------
 Reporter:  hellik                  |      Owner:  grass-dev@…
     Type:  defect                  |     Status:  new
 Priority:  major                   |  Milestone:  7.8.1
Component:  Vector                  |    Version:  git-releasebranch78
 Keywords:  python3, py3, wingrass  |        CPU:  x86-64
 Platform:  MSWindows               |
------------------------------------+---------------------------------
 tested with

 {{{
 GRASS Version: 7.8.1dev
 Code revision: d1c4ad132
 Build date: 2019-10-22
 Build platform: x86_64-w64-mingw32
 GDAL: 2.4.1
 PROJ: 5.2.0
 GEOS: 3.8.0
 SQLite: 3.29.0
 Python: 3.7.0
 wxPython: 4.0.3
 Platform: Windows-10-10.0.18362-SP0 (OSGeo4W)
 }}}

 downloaded data from geonames.org and imported data by v.in.geonames

 {{{
 v.report map=at_out at data option=coor
 Traceback (most recent call last):
   File "C:\OSGEO4~1\apps\grass\grass78/scripts/v.report.py",
 line 226, in <module>
     main()
   File "C:\OSGEO4~1\apps\grass\grass78/scripts/v.report.py",
 line 108, in main
     cols = decode(line).rstrip('\r\n').split('|')
   File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\scri
 pt\utils.py", line 193, in decode
     return bytes_.decode(enc)
   File "C:\OSGEO4~1\apps\Python37\lib\encodings\cp1252.py",
 line 15, in decode
     return
 codecs.charmap_decode(input,errors,decoding_table)
 UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d
 in position 195: character maps to <undefined>
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3925>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list