Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-35756

Support the PySide2 in Developer Image

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ts_main_telescope
    • Labels:

      Description

      Please help to support the pyside2, qasync, and qt5-qtbase-devel in the developer docker image: lsstts/develop-env:develop. This is to support to run the M2 Python EUI under the QT framework (pyside2). The qasync is the repository to allow the QT application to use the asyncio in Python. These two modules can be installed by conda. The module of qt5-qtbase-devel is needed to run the QT in CentOS 7 (install by yum).

      I tried to demonstrate the above dependencies in the developer docker image. I entered the image by:

      docker run -it --rm -u root lsstts/develop-env:develop
      

      If I tried to use yum to install the qt5-qtbase-devel, I would get the following errors:

      [root@5c4ba225f2e2 ~]# yum install qt5-qtbase-devel
      There was a problem importing one of the Python modules
      required to run yum. The error leading to this problem was:
       
         /opt/lsst/software/stack/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-4.0.1/lib/liblzma.so.5: version `XZ_5.1.2alpha' not found (required by /lib64/librpmio.so.3)
       
      Please install a package which provides this module, or
      verify that the module is installed correctly.
       
      It's possible that the above module doesn't match the
      current version of Python, which is:
      2.7.5 (default, Aug  7 2019, 00:51:29) 
      [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
       
      If you cannot solve this problem yourself, please go to 
      the yum faq at:
        http://yum.baseurl.org/wiki/Faq
      

      Please help to test and support the pyside2 in the docket image. You could use the QT example to check this can work in the docker image or not.

      Thanks!

        Attachments

          Issue Links

            Activity

            ttsai Te-Wei Tsai created issue -
            ttsai Te-Wei Tsai made changes -
            Field Original Value New Value
            Link This issue is triggered by DM-35748 [ DM-35748 ]
            ttsai Te-Wei Tsai made changes -
            Labels M2
            wvreeven Wouter van Reeven made changes -
            Sprint TSSW Sprint - Aug 1 - Aug 15 [ 1182 ]
            aclements Andy Clements made changes -
            Epic Link DM-27719 [ 442124 ] DM-27720 [ 442125 ]
            ttsai Te-Wei Tsai made changes -
            Link This issue is triggered by DM-35779 [ DM-35779 ]
            ttsai Te-Wei Tsai made changes -
            Comment [ We are still in QT5 at this moment. Please only install the PySide2 at this moment. Thanks! ]
            wvreeven Wouter van Reeven made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            wvreeven Wouter van Reeven made changes -
            Story Points 1
            wvreeven Wouter van Reeven made changes -
            Reviewers Tiago Ribeiro [ tribeiro ]
            Status In Progress [ 3 ] In Review [ 10004 ]
            wvreeven Wouter van Reeven made changes -
            Status In Review [ 10004 ] Reviewed [ 10101 ]
            wvreeven Wouter van Reeven made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]
            ttsai Te-Wei Tsai made changes -
            Link This issue is triggering DM-35876 [ DM-35876 ]
            aclements Andy Clements made changes -
            Epic Link DM-27720 [ 442125 ] DM-27721 [ 442128 ]
            ttsai Te-Wei Tsai made changes -
            Link This issue is triggering DM-36459 [ DM-36459 ]
            ttsai Te-Wei Tsai made changes -
            Link This issue relates to DM-37453 [ DM-37453 ]

              People

              Assignee:
              wvreeven Wouter van Reeven
              Reporter:
              ttsai Te-Wei Tsai
              Reviewers:
              Tiago Ribeiro
              Watchers:
              Petr Kubanek, Te-Wei Tsai, Tiago Ribeiro, Wouter van Reeven
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.