[GRASS-dev] [GRASS-user] gui not working in 7.9 after debian uprade to bullseye

Veronica Andreo veroandreo at gmail.com
Thu Nov 18 04:22:38 PST 2021


Hi Frank,

Did you `make distclean`, configure and recompile your grass79 after the
system upgrade?
Also, maybe update your local copy as there have been changes.

So, if you only did a simple git clone to get the source code and compile,
then:
make distclean
git fetch --all --prune && git checkout main && git pull && sh
conf_grass_dev.sh && make

## Note we now also have a releasebranch_8_0 :)
## conf_grass_dev.sh is my configuration script

my 0.2 cents

Vero

El jue, 18 nov 2021 a las 9:56, Frank David (<frank.david at geophom.fr>)
escribió:

> Hello,
>
> I have upgraded my distro from debian buster to bullseye. I had two grass
> release installed installed : 1- grass 7.8.5 from repository, still works
> fine. 2- a grass 7.9 compiled. When I run this one I get this message :
>
> Lancement de l'interface graphique <wxpython> en tâche de fond, merci de
> patienter ...
> GRASS 7.9.dev (France_L93):~ > free(): double free detected in tcache 2
> Impossible de déterminer la version de GRASS
> free(): double free detected in tcache 2
> Traceback (most recent call last):
>   File "/usr/local/grass79/scripts/g.extension", line 2177, in <module>
>     version = grass_version['version'].split('.')
> KeyError: 'version'
> free(): double free detected in tcache 2
> Traceback (most recent call last):
>   File "/usr/local/grass79/gui/wxpython/wxgui.py", line 106, in OnInit
>     mainframe = GMFrame(parent=None, id=wx.ID_ANY,
>   File "/usr/local/grass79/gui/wxpython/lmgr/frame.py", line 143, in
> __init__
>     self.notebook = self._createNoteBook()
>   File "/usr/local/grass79/gui/wxpython/lmgr/frame.py", line 337, in
> _createNoteBook
>     self.goutput = GConsoleWindow(
>   File "/usr/local/grass79/gui/wxpython/gui_core/goutput.py", line 118, in
> __init__
>     self.cmdPrompt = GPromptSTC(parent=self, menuModel=self._menuModel)
>   File "/usr/local/grass79/gui/wxpython/gui_core/prompt.py", line 138, in
> __init__
>     GPrompt.__init__(self, parent=parent, menuModel=menuModel)
>   File "/usr/local/grass79/gui/wxpython/gui_core/prompt.py", line 56, in
> __init__
>     self.mapList = self._getListOfMaps()
>   File "/usr/local/grass79/gui/wxpython/gui_core/prompt.py", line 100, in
> _getListOfMaps
>     result['raster'] = grass.list_strings('raster')
>   File "/usr/local/grass79/etc/python/grass/script/core.py", line 1347, in
> list_strings
>     for line in read_command("g.list",
>   File "/usr/local/grass79/etc/python/grass/script/core.py", line 565, in
> read_command
>     return handle_errors(returncode, stdout, args, kwargs)
>   File "/usr/local/grass79/etc/python/grass/script/core.py", line 392, in
> handle_errors
>     raise CalledModuleError(module=module, code=code,
> grass.exceptions.CalledModuleError: Module run g.list g.list --q -m
> type=raster ended with error
> Process ended with non-zero return code -6. See errors in the (error)
> output.
> OnInit returned false, exiting...
> Error in atexit._run_exitfuncs:
> wx._core.wxAssertionError: C++ assertion "GetEventHandler() == this"
> failed at ../src/common/wincmn.cpp(477) in ~wxWindowBase(): any pushed
> event handlers must have been removed
>
> Do you have an idea to solve this problem ?
>
> Thank you
>
> Frank
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20211118/cdd9cd94/attachment.html>


More information about the grass-dev mailing list