[Ubuntu] GRASS 7.8.1 fails to start GUI on Ubuntu 18.04

Luí­s Moreira de Sousa luis.de.sousa at protonmail.ch
Tue Nov 26 01:20:29 PST 2019


Hi folks,

the latest GRASS package pushed to ubuntugis-unstable fails to start the GUI on Ubuntu 18.04. The output is below, looks like the version of pythonwx is not the right one.

Thank you.

$ grass --gui ~/Work/GRASSDATA/global_ighomolosine/duque004
Starting GRASS GIS...
Cleaning up temporary files...

          __________  ___   __________    _______________
         / ____/ __ \/   | / ___/ ___/   / ____/  _/ ___/
        / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
       / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
       \____/_/ |_/_/  |_/____/____/   \____/___//____/

Welcome to GRASS GIS 7.8.1
GRASS GIS homepage:                      https://grass.osgeo.org
This version running through:            Bash Shell (/bin/bash)
Help is available with the command:      g.manual -i
See the licence terms with:              g.version -c
See citation options with:               g.version -x
If required, restart the GUI with:       g.gui wxpython
When ready to quit enter:                exit

Launching <wxpython> GUI in the background, please wait...
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

GRASS 7.8.1 (global_ighomolosine):~ > Traceback (most recent call last):
  File "/usr/lib/grass78/gui/wxpython/wxgui.py", line 105, in OnInit
    from lmgr.frame import GMFrame
  File "/usr/lib/grass78/gui/wxpython/lmgr/frame.py", line 50, in <module>
    from gui_core.preferences import MapsetAccess, PreferencesDialog
  File "/usr/lib/grass78/gui/wxpython/gui_core/preferences.py", line 51, in <module>
    from gui_core.dialogs import SymbolDialog, DefaultFontDialog
  File "/usr/lib/grass78/gui/wxpython/gui_core/dialogs.py", line 50, in <module>
    from gui_core.gselect import LocationSelect, MapsetSelect, Select, \
  File "/usr/lib/grass78/gui/wxpython/gui_core/gselect.py", line 64, in <module>
    from gui_core.widgets import ManageSettingsWidget, CoordinatesValidator
  File "/usr/lib/grass78/gui/wxpython/gui_core/widgets.py", line 92, in <module>
    from gui_core.wrap import Button, SearchCtrl, StaticText, StaticBox, \
  File "/usr/lib/grass78/gui/wxpython/gui_core/wrap.py", line 39, in <module>
    from wx import NewIdRef as NewId
ImportError: cannot import name 'NewIdRef'
OnInit returned false, exiting...
^C
GRASS 7.8.1 (global_ighomolosine):~ > apt policy grass
grass:
  Installed: 7.8.1-1~bionic1
  Candidate: 7.8.1-1~bionic1
  Version table:
*** 7.8.1-1~bionic1 500
        500 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu bionic/main amd64 Packages
        500 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu bionic/main i386 Packages
        100 /var/lib/dpkg/status
     7.4.0-1 500
        500 http://nl.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        500 http://nl.archive.ubuntu.com/ubuntu bionic/universe i386 Packages

--
Luís
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/ubuntu/attachments/20191126/792266f2/attachment.html>


More information about the Ubuntu mailing list