[GRASS-user] no more gui after upgrade to buster

Hernán De Angelis dhdeangelis at comhem.se
Sat Jan 11 03:01:15 PST 2020


Hi

I had (and still have) a similar problem that I began experiencing when 
I updated to 7.8. I may be mistaken but as far as I understand it is not 
GRASS but something related to wxPython for python 3 in the platform in 
question. I am using openSUSE 15.1 and already spent a too much time 
trying in vain to solve this. For the time being I will use GRASS in 
command line or via QGIS.

/H.


On 2020-01-11 10:52, Frank David wrote:
>
> Hi,
>
> Yes why not. Is the installation procedure is same than stretch ? Is 
> Python3 support will not make problems with my Python2 scripts ? and 
> what to do to avoid in that case ?
>
> Do I follow this ? > 
> https://grasswiki.osgeo.org/wiki/Compile_and_Install#GRASS_7_on_Debian_Stretch
>
> Thank you
>
> Le 10/01/2020 à 21:01, Markus Neteler a écrit :
>> Hi,
>>
>> any chance that you update to the much more modern GRASS GIS 7.8?
>>
>> Best
>> Markus
>>
>> On Thu, Jan 9, 2020 at 6:05 PM Frank David<frank.david at geophom.fr>  wrote:
>>> Hello all,
>>>
>>> I have no more gui on grass 7.6 after upgrade from debian strech to buster.
>>>
>>> Thank you for your help !
>>>
>>> Regards
>>>
>>> Frank
>>>
>>> See below last errors :
>>>
>>> Traceback (most recent call last):
>>>    File "/usr/local/grass-7.6.0/gui/wxpython/wxgui.py", line 169, in <module>
>>>      sys.exit(main())
>>>    File "/usr/local/grass-7.6.0/gui/wxpython/wxgui.py", line 156, in main
>>>      app = GMApp(workspaceFile)
>>>    File "/usr/local/grass-7.6.0/gui/wxpython/wxgui.py", line 50, in __init__
>>>      wx.App.__init__(self, False)
>>>    File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/_core.py", line 8628, in __init__
>>>      self._BootstrapApp()
>>>    File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/_core.py", line 8196, in _BootstrapApp
>>>      return _core_.PyApp__BootstrapApp(*args, **kwargs)
>>>    File "/usr/local/grass-7.6.0/gui/wxpython/wxgui.py", line 103, in OnInit
>>>      workspace=self.workspaceFile)
>>>    File "/usr/local/grass-7.6.0/gui/wxpython/lmgr/frame.py", line 142, in __init__
>>>      self.notebook = self._createNoteBook()
>>>    File "/usr/local/grass-7.6.0/gui/wxpython/lmgr/frame.py", line 337, in _createNoteBook
>>>      gcstyle=GC_PROMPT)
>>>    File "/usr/local/grass-7.6.0/gui/wxpython/gui_core/goutput.py", line 118, in __init__
>>>      self.cmdPrompt = GPromptSTC(parent=self, menuModel=self._menuModel)
>>>    File "/usr/local/grass-7.6.0/gui/wxpython/gui_core/prompt.py", line 139, in __init__
>>>      GPrompt.__init__(self, parent=parent, menuModel=menuModel)
>>>    File "/usr/local/grass-7.6.0/gui/wxpython/gui_core/prompt.py", line 57, in __init__
>>>      self.mapList = self._getListOfMaps()
>>>    File "/usr/local/grass-7.6.0/gui/wxpython/gui_core/prompt.py", line 101, in _getListOfMaps
>>>      result['raster'] = grass.list_strings('raster')
>>>    File "/usr/local/grass-7.6.0/etc/python/grass/script/core.py", line 1252, in list_strings
>>>      mapset=mapset).splitlines():
>>>    File "/usr/local/grass-7.6.0/etc/python/grass/script/core.py", line 478, in read_command
>>>      return handle_errors(returncode, stdout, args, kwargs)
>>>    File "/usr/local/grass-7.6.0/etc/python/grass/script/core.py", line 334, in handle_errors
>>>      returncode=returncode)
>>> grass.exceptions.CalledModuleError: Module run None ['g.list', '--q', '-m', 'type=raster'] ended with error
>>> Process ended with non-zero return code 127. See errors in the (error) output.
>>> Error in atexit._run_exitfuncs:
>>> Traceback (most recent call last):
>>>    File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
>>>      func(*targs, **kargs)
>>> PyAssertionError: C++ assertion "GetEventHandler() == this" failed at ../src/common/wincmn.cpp(478) in ~wxWindowBase(): any pushed event handlers must have been removed
>>> Error in sys.exitfunc:
>>> Traceback (most recent call last):
>>>    File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
>>>      func(*targs, **kargs)
>>> wx._core.PyAssertionError: C++ assertion "GetEventHandler() == this" failed at ../src/common/wincmn.cpp(478) in ~wxWindowBase(): any pushed event handlers must have been removed
>>>
>>> --
>>> _______________________________________________
>>> grass-user mailing list
>>> grass-user at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/grass-user
> -- 
> *Geophom*
> 327 rue de Vieille Cour 44521 OUDON
> Tel +33(0)2 85 52 02 59 - Port +33(0)6 04 47 91 06
> www.geophom.fr
>
> _______________________________________________
> 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-user/attachments/20200111/6ee5a6b9/attachment-0001.html>


More information about the grass-user mailing list