msui on docker ImportError: libGL.so.1: cannot open shared object file

Issue #362 resolved
Reimar Bauer created an issue
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)

  1. Reimar Bauer 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)
    
  2. Reimar Bauer 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.
    
  3. Reimar Bauer 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
    
  4. Reimar Bauer reporter

    after

    apt-get install xfonts*

    all fonts seen, but which is needed

    at least this font

    • apt-get install xfonts-scalable
  5. Reimar Bauer 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

  6. Log in to comment