[GRASS-user] grass 7.8 failed to start

Markus Neteler neteler at osgeo.org
Mon Nov 25 13:19:32 PST 2019


Hi,

On Mon, Nov 25, 2019 at 4:35 PM Asaf Lavi <laviasa at post.bgu.ac.il> wrote:
>
> Hello,
> I'm trying to run GRASS for the first time but got the error below:

did you compile it yourself?


> Starting GRASS GIS...
> Traceback (most recent call last):
>   File "/usr/local/grass78/gui/wxpython/core/globalvar.py", line 49, in CheckWxVersion
>     parsed_version = list(map(int, split_ver))
> ValueError: invalid literal for int() with base 10: 'post2'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File "/usr/local/grass78/gui/wxpython/gis_set.py", line 34, in <module>
>     from core import globalvar
>   File "/usr/local/grass78/gui/wxpython/core/globalvar.py", line 237, in <module>
>     hasAgw = CheckWxVersion([2, 8, 11, 0])
>   File "/usr/local/grass78/gui/wxpython/core/globalvar.py", line 55, in CheckWxVersion
>     parsed_version = list(map(int, split_ver[:-1])) + [int(split_ver[-1][:i])]
> ValueError: invalid literal for int() with base 10: ''
> 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...
>
> what should be the solution for this?

I suppose that it is addressed by this fix:
https://github.com/OSGeo/grass/commit/b7fb30a1da066e8864c8e36c5d55a93402e29dd0

which will be part of the upcoming GRASS GIS 7.8.2.

You may apply the change locally.

Best
Markus


More information about the grass-user mailing list