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

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 :slight_smile:

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@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 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
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@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Hi Frank,

On Thu, Nov 18, 2021 at 2:54 PM Frank David <frank.david@geophom.fr> wrote:

Hi Vero,

Thanks for your reply.

Shall I do "Make distclean" from the folder where I have built grass7.9 ?

I get :

sudo make distclean
include/Make/Vars.make:1: include/Make/Platform.make: Aucun fichier ou dossier de ce type
make: *** Aucune règle pour fabriquer la cible « include/Make/Platform.make ». Arrêt.

Something seems wrong ??

Same here, something I didn't fully understand yet. Trivial
workaround, after "make distclean":

touch include/Make/Platform.make

For the moment I prefer to keep on 7.9, but if I can't manage to repair 7.9 I will go to 8.0.

Let me highly recommend 8...

Cheers,
Markus

Hi Vero,

Thanks for your reply.

Shall I do “Make distclean” from the folder where I have built grass7.9 ?

I get :

sudo make distclean
include/Make/Vars.make:1: include/Make/Platform.make: Aucun fichier ou dossier de ce type
make: *** Aucune règle pour fabriquer la cible « include/Make/Platform.make ». Arrêt.

Something seems wrong ??

For the moment I prefer to keep on 7.9, but if I can’t manage to repair 7.9 I will go to 8.0.

Cheers,

Frank

···

Le 18/11/2021 à 13:22, Veronica Andreo a écrit :

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 :slight_smile:

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@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 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
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@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user