Bug 456662 - kajongg crashes on startup.
Summary: kajongg crashes on startup.
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kajongg
Classification: Applications
Component: general (show other bugs)
Version: 22.04.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Wolfgang Rohdewald
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-13 02:06 UTC by sederb
Modified: 2022-07-13 06:40 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
xsession error log. (12.16 KB, text/plain)
2022-07-13 02:06 UTC, sederb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sederb 2022-07-13 02:06:35 UTC
Created attachment 150574 [details]
xsession error log.

SUMMARY
Clean install of fedora 36 xfce on virtualbox (same result on host fedora 36 xfce system)


STEPS TO REPRODUCE
1. run kajongg either from applications menu or from terminal
2. crash reporter immediately reports error or terminal displays error 
from xsession log.3. 
  File "/usr/bin/kajongg", line 20, in <module>
    from qt import QObject, QCommandLineParser, QCommandLineOption, Qt, QGuiApplication
  File "/usr/share/kajongg/qt.py", line 12, in <module>
    from qtpy import uic
ModuleNotFoundError: No module named 'qtpy'

OBSERVED RESULT
from terminal or in xfce session log
"raceback (most recent call last):
  File "/usr/bin/kajongg", line 20, in <module>
    from qt import QObject, QCommandLineParser, QCommandLineOption, Qt, QGuiApplication
  File "/usr/share/kajongg/qt.py", line 12, in <module>
    from qtpy import uic
ModuleNotFoundError: No module named 'qtpy'

EXPECTED RESULT
Kajongg should run

SOFTWARE/OS VERSIONS
Linux/Fedora 5.17.5-300.fc36.x86_64
XFCE
(available in About System)
Qt Version: 

ADDITIONAL INFORMATION
several months ago kajongg did run on the parent f36 xfce system but after a routine dnf update which updated the kernel the current error appeared. I had tried downgrading the update but to no avail.
I cannot recall which kernel version the problem started at. possibly 5.16.x
last week I setup a ubuntu virtualbox session and kajongg runs correctly so the problem appears to be fedora specific.
the snap install also fails with the same error message. ditto installation using noarch.
Comment 1 Antonio Rojas 2022-07-13 06:19:47 UTC
This is a packaging issue, please report it to Fedora.
Comment 2 Wolfgang Rohdewald 2022-07-13 06:40:09 UTC
according to kajongg/debian.control, kajongg has a new dependency on pyqt since May 2021. The Fedora people seem to have missed that. Maybe there is a better way to define dependencies in a distribution independent way - if so, I will gladly implement that.