# Evaluate the PySide6 in TSSW Develop-Env Image

XMLWordPrintable

#### Details

• Type: Story
• Status: Done
• Resolution: Done
• Fix Version/s: None
• Component/s:
• Labels:
• Story Points:
1
• Sprint:
TSSW Sprint - Jan 30 - Feb 13
• Team:
Telescope and Site
• Urgent?:
No

#### Description

Evaluate the PySide6 in TSSW developer-env image.

The test developer docker image is: ts-dockerhub.lsst.org/develop-env:PYSIDE.

Use the following instead: docker.io/wvreeven/develop-env:PYSIDE.

#### Activity

Hide
Te-Wei Tsai added a comment -

I tried to install the qt6-qtbase-devel package from rpm files that I could download from the pkgs.org, but there are too many dependencies behind this. I do not sure this would be a good idea or not.

Show
Te-Wei Tsai added a comment - I tried to install the qt6-qtbase-devel  package from rpm files that I could download from the pkgs.org , but there are too many dependencies behind this. I do not sure this would be a good idea or not.
Hide
Wouter van Reeven added a comment -

I can install that for you in another docker image if you want me to.

Show
Wouter van Reeven added a comment - I can install that for you in another docker image if you want me to.
Hide
Te-Wei Tsai added a comment - - edited

To get the repo for installing the qt6-qtbase-devel, I can do the following as a root:

 dnf -y install https://pkgs.dyn.su/el8/base/x86_64/raven-release.el8.noarch.rpm dnf clean metadata dnf upgrade 

Now, when doing the installation, the error is:

 [root@82644a01f02e yum.repos.d]# dnf install qt6-qtbase-devel Last metadata expiration check: 0:03:47 ago on Wed Feb 8 18:56:15 2023. Error:   Problem: package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires libQt6Gui.so.6()(64bit), but none of the providers can be installed  - package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires libQt6OpenGL.so.6()(64bit), but none of the providers can be installed  - package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires libQt6Widgets.so.6()(64bit), but none of the providers can be installed  - package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires libQt6OpenGLWidgets.so.6()(64bit), but none of the providers can be installed  - package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires libQt6PrintSupport.so.6()(64bit), but none of the providers can be installed  - package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires libQt6EglFSDeviceIntegration.so.6()(64bit), but none of the providers can be installed  - package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires libQt6EglFsKmsGbmSupport.so.6()(64bit), but none of the providers can be installed  - package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires libQt6EglFsKmsSupport.so.6()(64bit), but none of the providers can be installed  - package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires libQt6XcbQpa.so.6()(64bit), but none of the providers can be installed  - package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires qt6-qtbase-gui(x86-64), but none of the providers can be installed  - package qt6-qtbase-gui-6.3.0-1.el8.x86_64 requires libts.so.0()(64bit), but none of the providers can be installed  - conflicting requests  - nothing provides libSDL2-2.0.so.0()(64bit) needed by tslib-1.22-4.el8.x86_64 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) 

I need to do:

 dnf --enablerepo=raven-extras install SDL2-devel dnf install qt6-qtbase-devel 

But I still get the same error when running the GUI:

 qt.core.plugin.factoryloader: checking directory path "/opt/lsst/software/stack/conda/envs/lsst-scipipe-5.1.0/bin/platforms" ... qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. 

Therefore, my suspicion of qt6-qtbase-devel might not be correct.

Show
Te-Wei Tsai added a comment - - edited To get the repo for installing the qt6-qtbase-devel , I can do the following as a root : dnf -y install https: //pkgs .dyn. su /el8/base/x86_64/raven-release .el8.noarch.rpm dnf clean metadata dnf upgrade Now, when doing the installation, the error is: [root@82644a01f02e yum.repos.d]# dnf install qt6-qtbase-devel Last metadata expiration check: 0:03:47 ago on Wed Feb 8 18:56:15 2023. Error: Problem: package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires libQt6Gui.so.6()(64bit), but none of the providers can be installed - package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires libQt6OpenGL.so.6()(64bit), but none of the providers can be installed - package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires libQt6Widgets.so.6()(64bit), but none of the providers can be installed - package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires libQt6OpenGLWidgets.so.6()(64bit), but none of the providers can be installed - package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires libQt6PrintSupport.so.6()(64bit), but none of the providers can be installed - package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires libQt6EglFSDeviceIntegration.so.6()(64bit), but none of the providers can be installed - package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires libQt6EglFsKmsGbmSupport.so.6()(64bit), but none of the providers can be installed - package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires libQt6EglFsKmsSupport.so.6()(64bit), but none of the providers can be installed - package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires libQt6XcbQpa.so.6()(64bit), but none of the providers can be installed - package qt6-qtbase-devel-6.3.0-1.el8.x86_64 requires qt6-qtbase-gui(x86-64), but none of the providers can be installed - package qt6-qtbase-gui-6.3.0-1.el8.x86_64 requires libts.so.0()(64bit), but none of the providers can be installed - conflicting requests - nothing provides libSDL2-2.0.so.0()(64bit) needed by tslib-1.22-4.el8.x86_64 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) I need to do: dnf --enablerepo=raven-extras install SDL2-devel dnf install qt6-qtbase-devel But I still get the same error when running the GUI: qt.core.plugin.factoryloader: checking directory path "/opt/lsst/software/stack/conda/envs/lsst-scipipe-5.1.0/bin/platforms" ... qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Therefore, my suspicion of qt6-qtbase-devel might not be correct.
Hide
Te-Wei Tsai added a comment -

I did the test for 1 day but could not make the PySide6 to work. Since it is almost the end of sprint, I would like to review this effort first. Thanks!

Show
Te-Wei Tsai added a comment - I did the test for 1 day but could not make the PySide6 to work. Since it is almost the end of sprint, I would like to review this effort first. Thanks!
Hide
Wouter van Reeven added a comment -

Thanks for all the effort and sorry that this seems so hard to solve.

Show
Wouter van Reeven added a comment - Thanks for all the effort and sorry that this seems so hard to solve.

#### People

Assignee:
Te-Wei Tsai
Reporter:
Te-Wei Tsai
Reviewers:
Wouter van Reeven
Watchers:
Te-Wei Tsai, Wouter van Reeven
0 Vote for this issue
Watchers:
2 Start watching this issue

#### Dates

Created:
Updated:
Resolved:

#### Jenkins

No builds found.