[GRASS-dev] Docker image based on Alpine Linux with GRASS GIS 7.7.git and wxGUI

Markus Neteler neteler at osgeo.org
Wed Jul 31 08:41:38 PDT 2019


On Wed, Jul 31, 2019 at 5:04 AM Anna Petrášová <kratochanna at gmail.com> wrote:
> On Tue, Jul 30, 2019 at 6:32 PM Markus Neteler <neteler at osgeo.org> wrote:
>>
>> Hi,
>>
>> I am trying to create a docker image with wxGUI.
...
>> # interactive test
>> docker run -i -t --rm -v $(pwd):/tmp -v /tmp/.X11-unix:/tmp/.X11-unix
>> -e uid=$(id -u) -e gid=$(id -g) -e DISPLAY=unix$DISPLAY --name grass77
>> neteler/docker-alpine-grass-gis-gui /bin/bash
>>
>> bash-5.0# grass77 /tmp/grassdata/nc_spm_08_grass7/user1/
...
>> GRASS 7.7.dev (nc_spm_08_grass7):/grassdb > g.gui
>> ERROR: Your installation doesn't include GUI, exiting.
>
> not sure if that helps but this error probably comes from general/g.gui/main.c:
>
>     sprintf(progname, "%s/gui/wxpython/wxgui.py", G_gisbase());
>     if (access(progname, F_OK) == -1)
>         G_fatal_error(_("Your installation doesn't include GUI, exiting."));

In fact, $GISBASE/gui/wxpython/wxgui.py isn't present in the docker image.

Do you have an idea what to look for (say, what does it (not) generate)?

thanks
Markus


More information about the grass-dev mailing list