[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>

#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&gt;
GRASS GIS <https://grass.osgeo.org>

#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
Resolution: | Keywords:
       CPU: x86-64 | Platform: MSWindows 7
----------------------+---------------------------------

Comment (by wenzeslaus):

Are you sure you have the latest version? See #2995.

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

#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
Resolution: | Keywords:
       CPU: x86-64 | Platform: MSWindows 7
----------------------+---------------------------------

Comment (by hellik):

Replying to [comment:1 wenzeslaus]:
> Are you sure you have the latest version? See #2995.

Oh I see, but it's the installer version linked on the download website
which I get in my browser.

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

#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: closed
  Priority: blocker | Milestone: 7.0.4
Component: wxGUI | Version: svn-releasebranch70
Resolution: duplicate | Keywords:
       CPU: x86-64 | Platform: MSWindows 7
------------------------+---------------------------------
Changes (by wenzeslaus):

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

Comment:

Let's move to the original ticket.

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

#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: closed
  Priority: blocker | Milestone: 7.0.4
Component: wxGUI | Version: svn-releasebranch70
Resolution: duplicate | Keywords:
       CPU: x86-64 | Platform: MSWindows 7
------------------------+---------------------------------

Comment (by hellik):

Replying to [comment:2 hellik]:
> Replying to [comment:1 wenzeslaus]:
> > Are you sure you have the latest version? See #2995.
>
> Oh I see, but it's the installer version linked on the download website
which I get in my browser.

From here https://grass.osgeo.org/download/software/ms-windows/

I get this link
https://grass.osgeo.org/grass70/binary/mswindows/native/x86_64/WinGRASS-7.0.4RC1-1
-Setup-x86_64.exe

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

#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: closed
  Priority: blocker | Milestone: 7.0.4
Component: wxGUI | Version: svn-releasebranch70
Resolution: duplicate | Keywords:
       CPU: x86-64 | Platform: MSWindows 7
------------------------+---------------------------------

Comment (by martinl):

Replying to [comment:4 hellik]:
> > Oh I see, but it's the installer version linked on the download
website which I get in my browser.

I fixed news page, https://grass.osgeo.org/news/55/95/GRASS-
GIS-7-0-4RC1-released/

> From here https://grass.osgeo.org/download/software/ms-windows/
>
> I get this link
>
https://grass.osgeo.org/grass70/binary/mswindows/native/x86_64/WinGRASS-7.0.4RC1-1
-Setup-x86_64.exe

This is wrong. The page should like to 7.0.3 and to RCs! I fixed that.

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

#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: closed
  Priority: blocker | Milestone: 7.0.4
Component: wxGUI | Version: svn-releasebranch70
Resolution: duplicate | Keywords:
       CPU: x86-64 | Platform: MSWindows 7
------------------------+---------------------------------

Comment (by hellik):

Replying to [comment:5 martinl]:
> Replying to [comment:4 hellik]:
> > > Oh I see, but it's the installer version linked on the download
website which I get in my browser.
>
> I have already fixed news page, https://grass.osgeo.org/news/55/95
/GRASS-GIS-7-0-4RC1-released/
>
> > From here https://grass.osgeo.org/download/software/ms-windows/
> >
> > I get this link
> >
https://grass.osgeo.org/grass70/binary/mswindows/native/x86_64/WinGRASS-7.0.4RC1-1
-Setup-x86_64.exe
>
> This is wrong. The page should link to 7.0.3 and to RCs! I fixed that.

now it points to the right version, thanks for fixing

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