- marked as minor
msui on docker ImportError: libGL.so.1: cannot open shared object file
Issue #362
resolved
docker run -i -t dreimark/mss:1.7.3 /bin/bash
(base) root@f171abfc3995:/# mss
Traceback (most recent call last):
File "/opt/conda/bin/mss", line 7, in <module>
from mslib.msui.mss_pyui import main
File "/opt/conda/lib/python3.6/site-packages/mslib/msui/mss_pyui.py", line 49, in <module>
from mslib.msui.mss_qt import ui_mainwindow as ui
File "/opt/conda/lib/python3.6/site-packages/mslib/msui/mss_qt.py", line 36, in <module>
from fslib.fs_filepicker import getSaveFileName, getOpenFileName, getExistingDirectory
File "/opt/conda/lib/python3.6/site-packages/fslib/fs_filepicker.py", line 35, in <module>
from PyQt5 import QtWidgets, QtCore
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
Comments (11)
-
reporter -
reporter we have to install in the docker setup
apt-get install libgl1-mesa-glx
-
reporter Next problem
# mss WARNING:root:*** NAppy is not available. You will not be able to read NASA Ames files. *** INFO: MSS Version: 1.7.3 INFO: Python Version: 3.6.5 |Anaconda, Inc.| (default, Apr 29 2018, 16:14:56) [GCC 7.2.0] INFO: Platform: Linux-4.4.0-133-generic-x86_64-with-debian-9.5 (('64bit', '')) INFO: Launching user interface... This application failed to start because it could not find or load the Qt platform plugin "xcb" in "". Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, xcb. Reinstalling the application may fix this problem. Aborted (core dumped)
-
reporter - apt-get install python-xpyb
- apt-get install libx11-xcb1
- apt-get install libxi6
mss WARNING:root:*** NAppy is not available. You will not be able to read NASA Ames files. *** INFO: MSS Version: 1.7.3 INFO: Python Version: 3.6.5 |Anaconda, Inc.| (default, Apr 29 2018, 16:14:56) [GCC 7.2.0] INFO: Platform: Linux-4.4.0-133-generic-x86_64-with-debian-9.5 (('64bit', '')) INFO: Launching user interface... QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' qt.qpa.screen: QXcbConnection: Could not connect to display Could not connect to any X display.
-
reporter xhost +local:docker docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix dreimark/mss:1.7.3 /bin/bash mss
-
reporter not soo bad, but where are the fonts?
-
reporter after
apt-get install xfonts*
all fonts seen, but which is needed
at least this font
- apt-get install xfonts-scalable
-
reporter text input is blocked, mouse works.
this is because this is not exposed, solution on
https://stackoverflow.com/questions/50789172/libinput-in-a-docker-container
-
reporter docker run -ti --rm --device /dev/input/event3 -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix dreimark/mss:1.7.3 /bin/bash
-
reporter - changed status to resolved
docker image setup adjusted to run also the mss ui, fixes
#362→ <<cset 21c194f56b09>>
-
reporter Merged in ReimarBauer/mss/stable (pull request #572)
docker image setup adjusted to run also the mss ui, fixes
#362→ <<cset 7440ab5e3c5e>>
- Log in to comment
minor becaus new platform was initially only for server setup