Opened 10 years ago

Closed 9 years ago

#1117 closed defect (fixed)

WinGrass7 - wxgui not starting

Reported by: hellik Owned by: grass-dev@…
Priority: normal Milestone: 7.0.0
Component: Packaging Version: svn-trunk
Keywords: wingrass, wxgui Cc:
CPU: x86-32 Platform: MSWindows Vista

Description

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

Attachments (1)

WinGrass7_23072010_184524.png (19.5 KB) - added by hellik 10 years ago.
error message

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by hellik

error message

comment:1 in reply to:  description ; Changed 10 years ago by hellik

CPU: Unspecifiedx86-32
Keywords: wxgui added

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

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

Resolution: fixed
Status: newclosed

Replying to hellik:

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

comment:3 in reply to:  2 ; Changed 9 years ago by mmetz

Resolution: fixed
Status: closedreopened

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

comment:4 in reply to:  3 ; Changed 9 years ago by hellik

Replying to mmetz:

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

comment:5 in reply to:  4 Changed 9 years ago by mmetz

Resolution: fixed
Status: reopenedclosed

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

Note: See TracTickets for help on using tickets.