On Tue, Jul 30, 2019 at 6:32 PM Markus Neteler <nete...@osgeo.org> wrote:
> Hi, > > I am trying to create a docker image with wxGUI. > > After hours of attempts (since Alpine does not offer the wxPython > package, so it needs to be pip installed in the Dcokerfile) I got it > build: > > https://hub.docker.com/r/neteler/docker-alpine-grass-gis-gui > > # fetch image > docker pull neteler/docker-alpine-grass-gis-gui > > # run image > 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 grass77 --gui > Starting GRASS GIS... > WARNING: GRASS GUI not found. Please check your installation. > Switching to text based interface mode. > > Hit RETURN to continue. > > As you see - no GUI while g.gui is there!? > > # 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/ > Starting GRASS GIS... > WARNING: GRASS GUI not found. Please check your installation. > Switching to text based interface mode. > Hit RETURN to continue. > Cleaning up temporary files... > > __________ ___ __________ _______________ > / ____/ __ \/ | / ___/ ___/ / ____/ _/ ___/ > / / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \ > / /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ / > \____/_/ |_/_/ |_/____/____/ \____/___//____/ > > Welcome to GRASS GIS 7.7.dev\ > 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 > Start the GUI with: g.gui wxpython > When ready to quit enter: exit > > 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.")); > GRASS 7.7.dev (nc_spm_08_grass7):/grassdb > ldd $(which g.gui) > /lib/ld-musl-x86_64.so.1 (0x7fcf65ef1000) > libgrass_gis.7.7.so => /usr/local/grass77/lib/libgrass_gis.7.7.so > (0x7fcf65e71000) > libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x7fcf65ef1000) > libgrass_datetime.7.7.so => > /usr/local/grass77/lib/libgrass_datetime.7.7.so (0x7fcf65e65000) > libz.so.1 => /lib/libz.so.1 (0x7fcf65c4e000) > libbz2.so.1 => /usr/lib/libbz2.so.1 (0x7fcf65c3f000) > libzstd.so.1 => /usr/lib/libzstd.so.1 (0x7fcf65b99000) > > bash-5.0# python3 > Python 3.7.3 (default, Apr 17 2019, 11:48:37) > [GCC 8.3.0] on linux > Type "help", "copyright", "credits" or "license" for more information. > >>> import wx > > Looks ok. > > I suspect some missing lib on my Alpine image but have no idea which one. > > Does anyone has an idea? > > thanks, > Markus > _______________________________________________ > grass-dev mailing list > grass-dev@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/grass-dev
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev