[GRASS-dev] [GRASS GIS] #1117: WinGrass7 - wxgui not starting

#1117: WinGrass7 - wxgui not starting
-------------------------+--------------------------------------------------
Reporter: hellik | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Packaging | Version: svn-trunk
Keywords: wingrass | Platform: MSWindows Vista
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Hi,

tested with WinGRASS-7.0.SVN-r42866-1-Setup.exe and
WinGRASS-7.0.SVN-r42881-1-Setup.exe

the location wizard is opening, but after choosing a location, the wxgui
crashes:

{{{
GRASS 7.0.svn> Der Befehl "g.list" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "g.list" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Traceback (most recent call last):
   File "C:\Program Files\GRASS-70-SVN\etc\gui\wxpython\wxgui.py", line
1597, in <module>
     sys.exit(main())
   File "C:\Program Files\GRASS-70-SVN\etc\gui\wxpython\wxgui.py", line
1590, in main
     app = GMApp(workspaceFile)
   File "C:\Program Files\GRASS-70-SVN\etc\gui\wxpython\wxgui.py", line
1512, in __init__
     wx.App.__init__(self, False)
   File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-
unicode\wx\_core.py", line 7935, in __init__
     self._BootstrapApp()
   File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-
unicode\wx\_core.py", line 7509, in _BootstrapApp
     return _core_.PyApp__BootstrapApp(*args, **kwargs)
   File "C:\Program Files\GRASS-70-SVN\etc\gui\wxpython\wxgui.py", line
1533, in OnInit
     workspace = self.workspaceFile)
   File "C:\Program Files\GRASS-70-SVN\etc\gui\wxpython\wxgui.py", line
179, in __init__
     self.NewDisplay(show=False)
   File "C:\Program Files\GRASS-70-SVN\etc\gui\wxpython\wxgui.py", line
1112, in NewDisplay
     auimgr=self._auimgr, showMapDisplay=show)
   File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
mingw32/etc/gui/wxpython/gui_modules/layertree.py", line 120, in __init__
     Map=self.Map, auimgr=self.auimgr)
   File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
mingw32/etc/gui/wxpython/gui_modules/mapdisp.py", line 285, in __init__
     self.MapWindow.ZoomHistory(self.Map.region['n'],
KeyError: 'n'
}}}

and a error-message pops up (see attached image).

a self-built WinGrass7-installer, at least with r42871, is starting
normally.

best regards
Helmut

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1117&gt;
GRASS GIS <http://grass.osgeo.org>

#1117: WinGrass7 - wxgui not starting
-----------------------------+----------------------------------------------
Reporter: hellik | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Packaging | Version: svn-trunk
Keywords: wingrass, wxgui | Platform: MSWindows Vista
      Cpu: x86-32 |
-----------------------------+----------------------------------------------
Changes (by hellik):

  * keywords: wingrass => wingrass, wxgui
  * cpu: Unspecified => x86-32

Comment:

Replying to [ticket:1117 hellik]:
> Hi,
>
> tested with WinGRASS-7.0.SVN-r42866-1-Setup.exe and
WinGRASS-7.0.SVN-r42881-1-Setup.exe
[...]
> a self-built WinGrass7-installer, at least with r42871, is starting
> normally.

tested again with a self-built WinGrass7-installer at r42884, WinGrass7
starts normally.

maybe a messed build-environment for the WinGrass-nightly builds?

best regards
Helmut

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

#1117: WinGrass7 - wxgui not starting
------------------------------+---------------------------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.0
Component: Packaging | Version: svn-trunk
Resolution: fixed | Keywords: wingrass, wxgui
  Platform: MSWindows Vista | Cpu: x86-32
------------------------------+---------------------------------------------
Changes (by hellik):

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

Comment:

Replying to [comment:1 hellik]:
> Replying to [ticket:1117 hellik]:
> > Hi,
> >
> > tested with WinGRASS-7.0.SVN-r42866-1-Setup.exe and
WinGRASS-7.0.SVN-r42881-1-Setup.exe
> [...]
> > a self-built WinGrass7-installer, at least with r42871, is starting
> > normally.
>
> tested again with a self-built WinGrass7-installer at r42884, WinGrass7
starts normally.
>
> maybe a messed build-environment for the WinGrass-nightly builds?
>
> best regards
> Helmut

closing the ticket after a more than a year successfull testing.

Helmut

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

#1117: WinGrass7 - wxgui not starting
------------------------------+---------------------------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: reopened
  Priority: normal | Milestone: 7.0.0
Component: Packaging | Version: svn-trunk
Resolution: | Keywords: wingrass, wxgui
  Platform: MSWindows Vista | Cpu: x86-32
------------------------------+---------------------------------------------
Changes (by mmetz):

  * status: closed => reopened
  * resolution: fixed =>

Comment:

Replying to [comment:2 hellik]:
>
> closing the ticket after a more than a year successfull testing.
>
Bad news: I tested
http://wingrass.fsv.cvut.cz/grass70/WinGRASS-7.0.SVN-r50400-1-Setup.exe
and does not work on xp. Exactly nothing happens. When executing the start
bat files from the windows command line, there seems to be a problem with
an unquoted path somewhere.

Markus M

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

#1117: WinGrass7 - wxgui not starting
------------------------------+---------------------------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: reopened
  Priority: normal | Milestone: 7.0.0
Component: Packaging | Version: svn-trunk
Resolution: | Keywords: wingrass, wxgui
  Platform: MSWindows Vista | Cpu: x86-32
------------------------------+---------------------------------------------

Comment(by hellik):

Replying to [comment:3 mmetz]:
> Replying to [comment:2 hellik]:
> >
> > closing the ticket after a more than a year successfull testing.
> >
> Bad news: I tested
http://wingrass.fsv.cvut.cz/grass70/WinGRASS-7.0.SVN-r50400-1-Setup.exe
and does not work on xp. Exactly nothing happens. When executing the start
bat files from the windows command line, there seems to be a problem with
an unquoted path somewhere.
>
> Markus M

now it seems to be another issue than the original one, connected to the
switch to python272 with wingrass standalone/wingrass-osgeo4w.

tested here on win7-64bit with WinGRASS-7.0.SVN-r50415-1-Setup.exe,
wingrass is starting here on my side.

there seems to be some other issues related to the switch, but maybe it's
worth to open another ticket.

I suggest to close this ticket.

Helmut
>

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

#1117: WinGrass7 - wxgui not starting
------------------------------+---------------------------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.0
Component: Packaging | Version: svn-trunk
Resolution: fixed | Keywords: wingrass, wxgui
  Platform: MSWindows Vista | Cpu: x86-32
------------------------------+---------------------------------------------
Changes (by mmetz):

  * status: reopened => closed
  * resolution: => fixed

Comment:

Replying to [comment:4 hellik]:
>
> tested here on win7-64bit with WinGRASS-7.0.SVN-r50415-1-Setup.exe,
wingrass is starting here on my side.
>
> there seems to be some other issues related to the switch, but maybe
it's worth to open another ticket.
>
> I suggest to close this ticket.
>
r50415 is working for me too, closing ticket.

Markus M

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