[GRASS-user] Error launching GUI in Grass 7.8.1

Eric Patton eric.r.patton at protonmail.com
Thu Nov 14 07:39:39 PST 2019


Hi Markus,

If you need the version number of specific libraries, let me know. I'm not sure which ones are relevant. I noticed that my python-wxtools and python-gtk libraries are version 3.0.2.


--
Eric


‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, 14 November 2019 10:59, Markus Neteler <neteler at osgeo.org> wrote:

> Hi Maris,
>
> On Wed, Nov 13, 2019 at 7:00 PM Markus Neteler neteler at osgeo.org wrote:
>
> > On Wed, Nov 13, 2019 at 4:20 PM Eric Patton
> >
> > > I upgraded my Grass version from 7.6.0 to 7.6.1 via the UbuntuGIS PPA in my package manager, and on launching the new version for the first time today, I get the following error:
>
> ...
>
> > > 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'
> > > ERROR: Error in GUI startup. See messages above (if any) and if necessary, please report this error to the GRASS developers.
> > > On systems with package manager, make sure you have the right GUI package, probably named grass-gui, installed.
> > > To run GRASS GIS in text mode use the --text flag.
> > > Use '--help' for further options
> > > grass78 --help
> > > See also: https://grass.osgeo.org/grass78/manuals/helptext.html
> > > Exiting...
> > > I'm running it on Linux Mint 19.2, with gdal 2.4.2, proj 5.2.1, and wx libraries are 3.0.4. Running grass -text seems to be ok.
> >
> > There was this related change some time ago:
> > https://github.com/OSGeo/grass/pull/155
> > wxGUI: NewIdRef was added only in wxPyhton 4.0.3. Fix import for <4.0.3
> > Apparently not enough?
>
> in gui/wxpython/gui_core/wrap.py
>
> `if wxPythonPhoenix and CheckWxVersion([4, 0, 3, 0]):`
>
> ... is it possible that this line still fails on Ubuntu/Mint with wx
> libraries 3.0.4
> ?
>
> Markus




More information about the grass-user mailing list