https://bugzilla.redhat.com/show_bug.cgi?id=2134911
Bug ID: 2134911 Summary: QSocketNotifier: Can only be used with threads started with QThread Product: Fedora Version: 36 Hardware: x86_64 OS: Linux Status: NEW Component: python-matplotlib Assignee: quantum.analyst@gmail.com Reporter: dev@javinator9889.com QA Contact: extras-qa@fedoraproject.org CC: epel-packagers-sig@lists.fedoraproject.org, gwync@protonmail.com, jonathan.underwood@gmail.com, paulo.cesar.pereira.de.andrade@gmail.com, python-packagers-sig@lists.fedoraproject.org, quantum.analyst@gmail.com, thibault@north.li, tomspur@fedoraproject.org Target Milestone: --- Classification: Fedora
Created attachment 1918084 --> https://bugzilla.redhat.com/attachment.cgi?id=1918084&action=edit Python script to replicate exactly the issue (one needs to have cuDNN and CUDA for make it work)
Description of problem:
Trying to replicate a convolutional AI model on my local computer I faced this issue when simply trying to display the generated images by such model. The "guide" I'm following is: https://keras.io/guides/keras_cv/generate_images_with_stable_diffusion/?s=09...
There is no issue when generating the images but when displaying them.
Version-Release number of selected component (if applicable): tried with both matplotlib from pip (3.6.1) and the one bundled with Fedora 36 (3.5.3-2, at the time of writting this). Notice that the shipped Python version is in use (3.10.2)
How reproducible: always, inside a Wayland environment (I didn't tried with Xorg but I've seen in general that this issue is only related to Wayland)
Steps to Reproduce: 1. Generate a bunch of images using the model, or any other application 2. In a Python console: ``` import matplotlib.pyplot as plt
# images = <matrix of generated images> plt.imshow(images) ```
Actual results: QSocketNotifier: Can only be used with threads started with QThread
Expected results: The set of images show up and are displayed
https://bugzilla.redhat.com/show_bug.cgi?id=2134911
--- Comment #1 from dev@javinator9889.com --- I can confirm the issue is not happenning anymore: the library had a missing call to `plt.show()` to actually display the images.
Nevertheless, when working with Wayland the following messages appear on screen:
QSocketNotifier: Can only be used with threads started with QThread qt.qpa.wayland: Wayland does not support QWindow::requestActivate() qt.qpa.wayland: Wayland does not support QWindow::requestActivate() qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
I don't know if they are important but I would suggest to disable them or not to show them up when working with matplotlib. Thanks in advance
https://bugzilla.redhat.com/show_bug.cgi?id=2134911
Elliott Sales de Andrade quantum.analyst@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Doc Type|--- |If docs needed, set a value
--- Comment #2 from Elliott Sales de Andrade quantum.analyst@gmail.com --- Those are not Fedora packages, so I'm not going to install them to test this. Please simplify the example so that it only uses Matplotlib, and shows that it is specific to Matplotlib.
https://bugzilla.redhat.com/show_bug.cgi?id=2134911
--- Comment #3 from Ben Cotton bcotton@redhat.com --- This message is a reminder that Fedora Linux 36 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '36'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it.
Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 36 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
https://bugzilla.redhat.com/show_bug.cgi?id=2134911
Ludek Smid lsmid@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |EOL Last Closed| |2023-05-25 18:26:24
--- Comment #4 from Ludek Smid lsmid@redhat.com --- Fedora Linux 36 entered end-of-life (EOL) status on 2023-05-16.
Fedora Linux 36 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field.
If you are unable to reopen this bug, please file a new report against an active release.
Thank you for reporting this bug and we are sorry it could not be fixed.
epel-packagers-sig@lists.fedoraproject.org