-
-
Notifications
You must be signed in to change notification settings - Fork 394
Closed
Labels
Milestone
Description
I have upgraded my system to F35 today (moved here from #1971) and get a wxGUI crash at launch:
# G78
Traceback (most recent call last):
File "/usr/lib64/python3.10/site-packages/wx/core.py", line 3285, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "/home/mneteler/software/grass78/dist.x86_64-pc-linux-gnu/gui/wxpython/wxgui.py", line 83, in show_main_gui
mainframe = GMFrame(parent=None, id=wx.ID_ANY, workspace=self.workspaceFile)
File "/home/mneteler/software/grass78/dist.x86_64-pc-linux-gnu/gui/wxpython/lmgr/frame.py", line 143, in __init__
self.notebook = self._createNoteBook()
File "/home/mneteler/software/grass78/dist.x86_64-pc-linux-gnu/gui/wxpython/lmgr/frame.py", line 365, in _createNoteBook
self.datacatalog = DataCatalog(
File "/home/mneteler/software/grass78/dist.x86_64-pc-linux-gnu/gui/wxpython/datacatalog/catalog.py", line 45, in __init__
self.toolbar = DataCatalogToolbar(parent=self)
File "/home/mneteler/software/grass78/dist.x86_64-pc-linux-gnu/gui/wxpython/datacatalog/toolbars.py", line 47, in __init__
self.InitToolbar(self._toolbarData())
File "/home/mneteler/software/grass78/dist.x86_64-pc-linux-gnu/gui/wxpython/gui_core/toolbars.py", line 123, in InitToolbar
self.CreateTool(*tool)
File "/home/mneteler/software/grass78/dist.x86_64-pc-linux-gnu/gui/wxpython/gui_core/toolbars.py", line 145, in CreateTool
toolWin = self.AddLabelTool(tool, label, bitmap,
File "/home/mneteler/software/grass78/dist.x86_64-pc-linux-gnu/gui/wxpython/gui_core/wrap.py", line 434, in AddLabelTool
return wx.ToolBar.AddTool(self, toolId=toolId, label=label, bitmap=bitmap, bmpDisabled=bmpDisabled,
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'
and
G8:
Traceback (most recent call last):
File "/usr/lib64/python3.10/site-packages/wx/core.py", line 3285, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu/gui/wxpython/wxgui.py", line 88, in show_main_gui
mainframe = GMFrame(parent=None, id=wx.ID_ANY, workspace=self.workspaceFile)
File "/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu/gui/wxpython/lmgr/frame.py", line 153, in __init__
self._createDataCatalog(self.notebook)
File "/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu/gui/wxpython/lmgr/frame.py", line 337, in _createDataCatalog
self.datacatalog = DataCatalog(parent=parent, giface=self._giface)
File "/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu/gui/wxpython/datacatalog/catalog.py", line 67, in __init__
self.toolbar = DataCatalogToolbar(parent=self)
File "/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu/gui/wxpython/datacatalog/toolbars.py", line 64, in __init__
self.InitToolbar(self._toolbarData())
File "/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu/gui/wxpython/gui_core/toolbars.py", line 119, in InitToolbar
self.CreateTool(*tool)
File "/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu/gui/wxpython/gui_core/toolbars.py", line 141, in CreateTool
toolWin = self.AddLabelTool(
File "/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu/gui/wxpython/gui_core/wrap.py", line 504, 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'
Originally posted by @neteler in #1971 (comment)