#3915: wxGUI: crash with ValueError: list.remove(x): x not in list
----------------------------+-------------------------
Reporter: neteler | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.8.1
Component: wxGUI | Version: svn-trunk
Keywords: python3, g.gui | CPU: Unspecified
Platform: Unspecified |
----------------------------+-------------------------
At time, on Fedora 29, both G78 and master fail to start the GUI (after
`make distclean` and recompile):
{{{
g.gui
Traceback (most recent call last):
File "/home/mundialis/software/grass_master/dist.x86_64-pc-linux-
gnu/gui/wxpython/wxgui.py", line 106, in OnInit
workspace=self.workspaceFile)
File "/home/mundialis/software/grass_master/dist.x86_64-pc-linux-
gnu/gui/wxpython/lmgr/frame.py", line 143, in __init__
self.notebook = self._createNoteBook()
File "/home/mundialis/software/grass_master/dist.x86_64-pc-linux-
gnu/gui/wxpython/lmgr/frame.py", line 338, in _createNoteBook
gcstyle=GC_PROMPT)
File "/home/mundialis/software/grass_master/dist.x86_64-pc-linux-
gnu/gui/wxpython/gui_core/goutput.py", line 118, in __init__
self.cmdPrompt = GPromptSTC(parent=self, menuModel=self._menuModel)
File "/home/mundialis/software/grass_master/dist.x86_64-pc-linux-
gnu/gui/wxpython/gui_core/prompt.py", line 138, in __init__
GPrompt.__init__(self, parent=parent, menuModel=menuModel)
File "/home/mundialis/software/grass_master/dist.x86_64-pc-linux-
gnu/gui/wxpython/gui_core/prompt.py", line 57, in __init__
self.mapsetList = utils.ListOfMapsets()
File "/home/mundialis/software/grass_master/dist.x86_64-pc-linux-
gnu/gui/wxpython/core/utils.py", line 308, in ListOfMapsets
mapsets.remove(mapset)
ValueError: list.remove(x): x not in list
OnInit returned false, exiting...
Error in atexit._run_exitfuncs:
wx._core.wxAssertionError: C++ assertion "GetEventHandler() == this"
failed at ../src/common/wincmn.cpp(478) in ~wxWindowBase(): any pushed
event handlers must have been removed
#3915: wxGUI: crash with ValueError: list.remove(x): x not in list
--------------------------+----------------------------
Reporter: neteler | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.8.1
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: python3, g.gui
CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------
Comment (by annakrat):
Does this happen in any location? What does g.mapsets -l return? I don't
see anything problematic and it works here, so you would have to
investigate what it is trying to remove in core/utils.py L308.