[GRASS-dev] wxGUI error on startup

Hi guys,

I’m using trunk, updated to rev 73962 today. Grass built and compiled with no errors, but I get this error on startup (not worried about the missing locations):

Starting GRASS GIS…

ERROR: Location <UNB_Lambert_Conformal> not found

ERROR: Mapset <Baffin_Bay> not found

Traceback (most recent call last):

File “/usr/local/grass-7.7.svn/gui/wxpython/gis_set.py”, line 1163, in

GRASSStartUp = StartUp(0)

File “/usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/_core.py”, line 8628, in init

self._BootstrapApp()

File “/usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/_core.py”, line 8196, in _BootstrapApp

return core.PyApp__BootstrapApp(*args, **kwargs)

File “/usr/local/grass-7.7.svn/gui/wxpython/gis_set.py”, line 1151, in OnInit

StartUp = GRASSStartup()

File “/usr/local/grass-7.7.svn/gui/wxpython/gis_set.py”, line 226, in init

self._set_properties(grassVersion, grassRevisionStr)

File “/usr/local/grass-7.7.svn/gui/wxpython/gis_set.py”, line 322, in _set_properties

self.lbmapsets.SetSelection(0, force=True)

File “/usr/local/grass-7.7.svn/gui/wxpython/gis_set.py”, line 1137, in SetSelection

wx.LIST_STATE_SELECTED)

File “/usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/_controls.py”, line 4529, in SetItemState

return controls.ListCtrl_SetItemState(*args, **kwargs)

wx._core.PyAssertionError: C++ assertion “litem >= 0 && (size_t)litem < GetItemCount()” failed at …/src/generic/listctrl.cpp(3422) in SetItemState(): invalid list ctrl item index in SetItem

ERROR: Error in GUI startup. See messages above (if any) and if necessary, please report this error to the GRASS developers.

On systems with package manager, make sure you have the right GUI package, probably named grass-gui, installed.

To run GRASS GIS in text mode use the --text flag.

Use ‘–help’ for further options

grass77 --help

See also: https://grass.osgeo.org/grass77/manuals/helptext.html

Exiting…

Any ideas what is happening?

···

~ Eric Patton

On Thu, Jan 17, 2019 at 12:40 PM Eric Patton <eric.r.patton@protonmail.com> wrote:

Hi guys,

I’m using trunk, updated to rev 73962 today. Grass built and compiled with no errors, but I get this error on startup (not worried about the missing locations):

Probably related to the errors:

Starting GRASS GIS…

ERROR: Location <UNB_Lambert_Conformal> not found

ERROR: Mapset <Baffin_Bay> not found

I changed the location and mapset in rc file and got the error above, but GUI still works for me.

Traceback (most recent call last):

File “/usr/local/grass-7.7.svn/gui/wxpython/gis_set.py”, line 1163, in

GRASSStartUp = StartUp(0)

File “/usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/_core.py”, line 8628, in init

self._BootstrapApp()

File “/usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/_core.py”, line 8196, in _BootstrapApp

return core.PyApp__BootstrapApp(*args, **kwargs)

File “/usr/local/grass-7.7.svn/gui/wxpython/gis_set.py”, line 1151, in OnInit

StartUp = GRASSStartup()

File “/usr/local/grass-7.7.svn/gui/wxpython/gis_set.py”, line 226, in init

self._set_properties(grassVersion, grassRevisionStr)

File “/usr/local/grass-7.7.svn/gui/wxpython/gis_set.py”, line 322, in _set_properties

self.lbmapsets.SetSelection(0, force=True)

File “/usr/local/grass-7.7.svn/gui/wxpython/gis_set.py”, line 1137, in SetSelection

wx.LIST_STATE_SELECTED)

File “/usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/_controls.py”, line 4529, in SetItemState

return controls.ListCtrl_SetItemState(*args, **kwargs)

wx._core.PyAssertionError: C++ assertion “litem >= 0 && (size_t)litem < GetItemCount()” failed at …/src/generic/listctrl.cpp(3422) in SetItemState(): invalid list ctrl item index in SetItem

ERROR: Error in GUI startup. See messages above (if any) and if necessary, please report this error to the GRASS developers.

On systems with package manager, make sure you have the right GUI package, probably named grass-gui, installed.

To run GRASS GIS in text mode use the --text flag.

Use ‘–help’ for further options

grass77 --help

See also: https://grass.osgeo.org/grass77/manuals/helptext.html

Exiting…

Any ideas what is happening?

~ Eric Patton


grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev