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

2019-11-26 Thread Bas Couwenberg

On 2019-11-26 10:20, Luí­s Moreira de Sousa wrote:

ImportError: cannot import name 'NewIdRef'


Should be fixed in the next release, see:

 
https://github.com/OSGeo/grass/commit/b7fb30a1da066e8864c8e36c5d55a93402e29dd0


Kind Regards,

Bas
___
UbuntuGIS mailing list
Ubuntu@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/ubuntu
http://trac.osgeo.org/ubuntugis/wiki

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

2019-11-26 Thread Luí­s Moreira de Sousa
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  GUI in the background, please wait...
To run a command as administrator (user "root"), use "sudo ".
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 
from gui_core.preferences import MapsetAccess, PreferencesDialog
  File "/usr/lib/grass78/gui/wxpython/gui_core/preferences.py", line 51, in 

from gui_core.dialogs import SymbolDialog, DefaultFontDialog
  File "/usr/lib/grass78/gui/wxpython/gui_core/dialogs.py", line 50, in 
from gui_core.gselect import LocationSelect, MapsetSelect, Select, \
  File "/usr/lib/grass78/gui/wxpython/gui_core/gselect.py", line 64, in 
from gui_core.widgets import ManageSettingsWidget, CoordinatesValidator
  File "/usr/lib/grass78/gui/wxpython/gui_core/widgets.py", line 92, in 
from gui_core.wrap import Button, SearchCtrl, StaticText, StaticBox, \
  File "/usr/lib/grass78/gui/wxpython/gui_core/wrap.py", line 39, in 
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___
UbuntuGIS mailing list
Ubuntu@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/ubuntu
http://trac.osgeo.org/ubuntugis/wiki