#1416: wingrass7 nightly build crash on start
---------------------+------------------------------------------------------
Reporter: MilenaN | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Startup | Version: svn-trunk
Keywords: | Platform: MSWindows 7
Cpu: x86-64 |
---------------------+------------------------------------------------------
Hi,
wingrass7 behaves in a strange way on start:
1. It starts in a minimised window, so the user is not sure if anything
happened after clicking the grass icon.
2. When the (windows) user finds eventually the minimised grass window and
makes it bigger, the cmd window (!) appears, encouraging him gently to
"Hit RETURN to continue" (what on earth RETURN is, the user thinks).
3. Finally Welcome window appears but no grass database can be found (when
grass 64 and 65 have no problem with it on the same pc). Pointed to the
path, grass crasches with the following message in cmd:
Traceback (most recent call last):
File "C:\Program Files (x86)\GRASS 7.0.SVN\etc\gui\wxpython\gis_set.py",
line
877, in <module>
GRASSStartUp = StartUp(0)
File "c:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-
unicode\wx\_core.p
y", line 7935, in __init__
self._BootstrapApp()
File "c:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-
unicode\wx\_core.p
y", line 7509, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "C:\Program Files (x86)\GRASS 7.0.SVN\etc\gui\wxpython\gis_set.py",
line
862, in OnInit
StartUp.OnBrowse(None)
File "C:\Program Files (x86)\GRASS 7.0.SVN\etc\gui\wxpython\gis_set.py",
line
697, in OnBrowse
self.OnSetDatabase(event)
File "C:\Program Files (x86)\GRASS 7.0.SVN\etc\gui\wxpython\gis_set.py",
line
686, in OnSetDatabase
self.OnSelectLocation(None)
File "C:\Program Files (x86)\GRASS 7.0.SVN\etc\gui\wxpython\gis_set.py",
line
635, in OnSelectLocation
self.listOfLocations[self.lblocations.GetSelection()]))
File "C:\Program Files (x86)\GRASS 7.0.SVN\etc\gui\wxpython\gis_set.py",
line
599, in UpdateMapsets
gisdbase = self.gisdbase)
File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
mingw32/etc/gui/wxpython/gui
_modules/gcmd.py", line 610, in RunCommand
File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
mingw32/etc/gui/wxpython/gui
_modules/gcmd.py", line 610, in <lambda>
File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
mingw32/etc/gui/wxpython/gui
_modules/utils.py", line 664, in DecodeString
File "C:\Program Files (x86)\GRASS
7.0.SVN\Python25\lib\encodings\utf_8.py", l
ine 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa3 in position 26:
unexpect
ed code byte
Error in GUI startup. If necessary, please report this error to the GRASS
develo
pers.
Switching to text mode now.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1416>
GRASS GIS <http://grass.osgeo.org>