Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3003 closed defect (duplicate)

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>

Reported by: hellik Owned by: grass-dev@…
Priority: blocker Milestone: 7.0.4
Component: wxGUI Version: svn-releasebranch70
Keywords: Cc:
CPU: x86-64 Platform: MSWindows 7

Description

as posted here FOSSGIS-Talkby testing

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

Change History (6)

comment:1 by wenzeslaus, 9 years ago

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

in reply to:  1 ; comment:2 by hellik, 9 years ago

Replying to 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.

comment:3 by wenzeslaus, 9 years ago

Resolution: duplicate
Status: newclosed

Let's move to the original ticket.

in reply to:  2 ; comment:4 by hellik, 9 years ago

Replying to hellik:

Replying to 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

in reply to:  4 ; comment:5 by martinl, 9 years ago

Replying to 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 like to 7.0.3 and to RCs! I fixed that.

Version 1, edited 9 years ago by martinl (previous) (next) (diff)

in reply to:  5 comment:6 by hellik, 9 years ago

Replying to martinl:

Replying to 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

Note: See TracTickets for help on using tickets.