[GRASS-dev] wxGUI error on startup

Anna Petrášová kratochanna at gmail.com
Thu Jan 17 18:26:50 PST 2019


On Thu, Jan 17, 2019 at 12:40 PM Eric Patton <eric.r.patton at 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
> <module>
>     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 at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20190117/182d1f7d/attachment-0001.html>


More information about the grass-dev mailing list