[GRASS-dev] [GRASS GIS] #3003: WinGRASS-7.0.4RC1-1-Setup-x86_64.exe crashes at startup by: UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 29: chara cter maps to <undefined>

GRASS GIS trac at osgeo.org
Tue Apr 26 05:45:31 PDT 2016


#3003: WinGRASS-7.0.4RC1-1-Setup-x86_64.exe crashes at startup by:
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 29:
chara cter maps to <undefined>
-------------------------+---------------------------------
 Reporter:  hellik       |      Owner:  grass-dev@…
     Type:  defect       |     Status:  new
 Priority:  blocker      |  Milestone:  7.0.4
Component:  wxGUI        |    Version:  svn-releasebranch70
 Keywords:               |        CPU:  x86-64
 Platform:  MSWindows 7  |
-------------------------+---------------------------------
 as posted here [https://lists.fossgis.de/pipermail/fossgis-talk-
 liste/2016-April/007825.html FOSSGIS-Talk]by testing

 [https://grass.osgeo.org/grass70/binary/mswindows/native/x86_64/WinGRASS-7.0.4RC1-1
 -Setup-x86_64.exe winGRASS standalone]

 and tested locally here:


 {{{
 Cleaning up temporary files...
 Starting GRASS GIS...
 WARNING: Concurrent mapset locking is not supported on Windows

           __________  ___   __________    _______________
          / ____/ __ \/   | / ___/ ___/   / ____/  _/ ___/
         / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
        / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
        \____/_/ |_/_/  |_/____/____/   \____/___//____/

 Welcome to GRASS GIS 7.0.4RC1
 GRASS GIS homepage:                      http://grass.osgeo.org
 This version running through:            Command Shell
 (C:\windows\system32\cmd.
 exe)
 Help is available with the command:      g.manual -i
 See the licence terms with:              g.version -c
 If required, restart the GUI with:       g.gui wxpython
 When ready to quit enter:                exit

 Launching <wxpython> GUI in the background, please wait...
 Microsoft Windows [Version 6.1.7601]
 Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

 C:\Users\myricaria>Traceback (most recent call last):
   File "C:\Program Files\GRASS GIS 7.0.4RC1\gui\wxpython\wxgui.py", line
 148, in
  <module>
     sys.exit(main())
   File "C:\Program Files\GRASS GIS 7.0.4RC1\gui\wxpython\wxgui.py", line
 135, in
  main
     app = GMApp(workspaceFile)
   File "C:\Program Files\GRASS GIS 7.0.4RC1\gui\wxpython\wxgui.py", line
 50, in
 __init__
     wx.App.__init__(self, False)
   File "C:\Program Files\GRASS GIS 7.0.4RC1\Python27\lib\site-
 packages\wx-2.8-ms
 w-unicode\wx\_core.py", line 7981, in __init__
     self._BootstrapApp()
   File "C:\Program Files\GRASS GIS 7.0.4RC1\Python27\lib\site-
 packages\wx-2.8-ms
 w-unicode\wx\_core.py", line 7555, in _BootstrapApp
     return _core_.PyApp__BootstrapApp(*args, **kwargs)
   File "C:\Program Files\GRASS GIS 7.0.4RC1\gui\wxpython\wxgui.py", line
 84, in
 OnInit
     workspace=self.workspaceFile)
   File "C:\Program Files\GRASS GIS 7.0.4RC1\gui\wxpython\lmgr\frame.py",
 line 93
 , in __init__
     grassVersion = grass.version()['version']
   File "C:\Program Files\GRASS GIS
 7.0.4RC1\etc\python\grass\script\core.py", li
 ne 1502, in version
     data = parse_command('g.version', flags='rge', errors='ignore')
   File "C:\Program Files\GRASS GIS
 7.0.4RC1\etc\python\grass\script\core.py", li
 ne 488, in parse_command
     return parse(res, **parse_args)
   File "C:\Program Files\GRASS GIS
 7.0.4RC1\etc\python\grass\script\utils.py", l
 ine 218, in parse_key_val
     v = decode(kv[1].strip())
   File "C:\Program Files\GRASS GIS
 7.0.4RC1\etc\python\grass\script\utils.py", l
 ine 160, in decode
     return string.decode(enc)
   File "C:\Program Files\GRASS GIS
 7.0.4RC1\Python27\lib\encodings\cp1252.py", l
 ine 15, in decode
     return codecs.charmap_decode(input,errors,decoding_table)
 UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 29:
 chara
 cter maps to <undefined>
 }}}

 no issue here in OSGeo4W-winGRASS71svn

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



More information about the grass-dev mailing list