Attempting to start wxGUI in I sci-geosciences/grass-8.2.0-r1 fails: GRASS world_latlong_wgs84/PERMANENT:~ > g.gui wxpython Launching <wxpython> GUI in the background, please wait... Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/wx/core.py", line 3285, in <lambda> lambda event: event.callable(*event.args, **event.kw) ) File "/usr/lib64/grass82/gui/wxpython/wxgui.py", line 95, in show_main_gui mainframe = GMFrame(parent=None, id=wx.ID_ANY, workspace=self.workspaceFile) File "/usr/lib64/grass82/gui/wxpython/lmgr/frame.py", line 158, in __init__ self._createDataCatalog(self.notebook) File "/usr/lib64/grass82/gui/wxpython/lmgr/frame.py", line 363, in _createDataCatalog self.datacatalog = DataCatalog(parent=parent, giface=self._giface) File "/usr/lib64/grass82/gui/wxpython/datacatalog/catalog.py", line 67, in __init__ self.toolbar = DataCatalogToolbar(parent=self) File "/usr/lib64/grass82/gui/wxpython/datacatalog/toolbars.py", line 107, in __init__ self.InitToolbar(self._toolbarData()) File "/usr/lib64/grass82/gui/wxpython/gui_core/toolbars.py", line 127, in InitToolbar self.CreateTool(*tool) File "/usr/lib64/grass82/gui/wxpython/gui_core/toolbars.py", line 155, in CreateTool toolWin = self.AddLabelTool( File "/usr/lib64/grass82/gui/wxpython/gui_core/wrap.py", line 539, in AddLabelTool return wx.ToolBar.AddTool( TypeError: ToolBar.AddTool(): arguments did not match any overloaded call: overload 1: 'toolId' is not a valid keyword argument overload 2: argument 'toolId' has unexpected type 'WindowIDRef' overload 3: argument 'toolId' has unexpected type 'WindowIDRef' Looks similar to https://github.com/OSGeo/grass/issues/2019. As a workaround, using dev-python/wxpython-4.2.0_p20220629:4.0::stefantalpalaru from bug 766914, comment 6 I was able to start the GUI.
The issue was already reported upstream: https://github.com/OSGeo/grass/issues/1971 https://github.com/OSGeo/grass/issues/2019 It seems that only installations with Python version 3.10 are affected whereas Python 3.9 works. Nevertheless we need an update of wxPython. We have to wait on #766914 to get this issue fixed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd7a1032c62f7cd7dfa3fe736b3860c4eceb5f0b commit cd7a1032c62f7cd7dfa3fe736b3860c4eceb5f0b Author: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> AuthorDate: 2023-02-19 22:16:01 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2023-03-07 09:09:23 +0000 sci-geosciences/grass: bump dependency to >=dev-python/wxpython-4.1 Closes: https://bugs.gentoo.org/858548 Closes: https://bugs.gentoo.org/897210 Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/29674 Signed-off-by: Joonas Niilola <juippis@gentoo.org> sci-geosciences/grass/{grass-8.2.1.ebuild => grass-8.2.1-r1.ebuild} | 4 ++-- sci-geosciences/grass/grass-9999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)