[GRASS-user] Error when launching GRASS GIS 8.3.2

Markus Neteler neteler at osgeo.org
Thu May 9 02:53:59 PDT 2024


Hi Filipe,

On Fri, Apr 26, 2024 at 4:13 PM Filipe Dias via grass-user
<grass-user at lists.osgeo.org> wrote:
>
> Dear All,
> When I try to launch grass 8.3.2 (Pop OS/ Ubuntu 22.04) I get this error. I did a clean installation from ubuntugis unstable. "grass-gui" is installed.
> Is this a bug or am I doing something wrong?
> Thank you
> Best
>
>
> Starting GRASS GIS...
>
>           __________  ___   __________    _______________
>          / ____/ __ \/   | / ___/ ___/   / ____/  _/ ___/
>         / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
>        / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
>        \____/_/ |_/_/  |_/____/____/   \____/___//____/
>
> Welcome to GRASS GIS 8.3.2
> GRASS GIS homepage:                      https://grass.osgeo.org
> This version running through:            Bash Shell (/bin/bash)
> Help is available with the command:      g.manual -i
> See the licence terms with:              g.version -c
> See citation options with:               g.version -x
> If required, restart the GUI with:       g.gui wxpython
> When ready to quit enter:                exit
>
> Launching <wxpython> GUI in the background, please wait...
> GRASS tmploc/PERMANENT:~ > Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/wx/core.py", line 3427, in <lambda>
>     lambda event: event.callable(*event.args, **event.kw) )
>   File "/usr/lib/grass83/gui/wxpython/wxgui.py", line 95, in show_main_gui
>     mainframe = GMFrame(
>   File "/usr/lib/grass83/gui/wxpython/main_window/frame.py", line 174, in __init__
>     self.workspace_manager.CreateRecentFilesMenu(
>   File "/usr/lib/grass83/gui/wxpython/lmgr/workspace.py", line 515, in CreateRecentFilesMenu
>     file_menu = menu.GetMenu(
> wx._core.wxAssertionError: C++ assertion ""node"" failed at ./src/common/menucmn.cpp(923) in GetMenu(): bad index in wxMenuBar::GetMenu()

AFAIK the shipped wxPython version is too old.

You may try to update it:

pip3 install -U -f
https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04
wxPython

Then GRASS GIS should start properly.

HTH,
Markus

-- 
Markus Neteler, PhD
https://www.mundialis.de - company
https://grass.osgeo.org - FOSS
https://neteler.org - freelancing & blog


More information about the grass-user mailing list