Bug 503856 - Kajongg can't start from snap
Summary: Kajongg can't start from snap
Status: ASSIGNED
Alias: None
Product: kajongg
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.0
Platform: Snap Linux
: NOR normal
Target Milestone: ---
Assignee: Scarlett Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-06 16:56 UTC by showfom
Modified: 2025-05-15 13:17 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description showfom 2025-05-06 16:56:53 UTC
SUMMARY

Kajongg can't start, installed from snap

STEPS TO REPRODUCE
1.  `sudo snap install kajongg`
2.  `snap run kajongg`

OBSERVED RESULT

```
Traceback (most recent call last):
  File "/snap/kajongg/52/usr/bin/kajongg", line 18, in <module>
    from qt import QObject, QCommandLineParser, QCommandLineOption, Qt, QGuiApplication
  File "/snap/kajongg/52/usr/share/kajongg/qt.py", line 18, in <module>
    from qtpy import QT6, PYQT6, PYSIDE6
ModuleNotFoundError: No module named 'qtpy'
```

I also tried to run it directly but failed:

```
$ /snap/kajongg/52/usr/bin/kajongg
Traceback (most recent call last):
  File "/snap/kajongg/52/usr/bin/kajongg", line 18, in <module>
    from qt import QObject, QCommandLineParser, QCommandLineOption, Qt, QGuiApplication
ModuleNotFoundError: No module named 'qt'
```
Comment 1 Wolfgang Rohdewald 2025-05-06 17:02:28 UTC
seems like snapcraft.yaml is missing a dependency: https://pypi.org/project/QtPy/
Comment 2 Scarlett Moore 2025-05-15 13:17:46 UTC
Having issues getting pip to build qtpy, tried with both pyside6 and pyqt6. I am guessing because they are qt6.9 and snaps are still at 6.8.3 so this is stuck for now.