ActivityWatch / activitywatch

The best free and open-source automated time tracker. Cross-platform, extensible, privacy-focused.
https://activitywatch.net/
Mozilla Public License 2.0
12.64k stars 564 forks source link

Different versions of Qt on Arch (Cannot mix incompatible Qt library (6.5.3) with this library (6.7.2)) #1091

Open losogudok opened 4 months ago

losogudok commented 4 months ago

Expected behavior

App should open (Dashboard)

Documentation

/.cache/activitywatch/log

2024-07-22 16:15:56 [INFO ]: Started aw-qt...  (aw_qt.main:53)
2024-07-22 16:15:56 [WARNING]: Found matching file but was not executable: /tmp/.mount_activi9R8hjy/aw-qt.desktop  (aw_qt.manager:64)
2024-07-22 16:15:56 [INFO ]: Found 8 bundled modules  (aw_qt.manager:85)
2024-07-22 16:15:56 [INFO ]: Found 0 system modules  (aw_qt.manager:119)
2024-07-22 16:15:56 [INFO ]: Starting module aw-server  (aw_qt.manager:148)
2024-07-22 16:15:56 [INFO ]: Starting module aw-watcher-afk  (aw_qt.manager:148)
2024-07-22 16:15:56 [INFO ]: Starting module aw-watcher-window  (aw_qt.manager:148)
2024-07-22 16:15:56 [INFO ]: Creating trayicon...  (aw_qt.trayicon:208)
2024-07-22 16:15:57 [INFO ]: Initialized aw-qt and trayicon successfully  (aw_qt.trayicon:264)
2024-07-22 16:15:59 [WARNING]: Tried to stop module aw-watcher-window, but it wasn't running  (aw_qt.manager:185)
2024-07-22 16:15:59 [WARNING]: Tried to stop module aw-server, but it wasn't running  (aw_qt.manager:185)
2024-07-22 16:15:59 [WARNING]: Tried to stop module aw-watcher-afk, but it wasn't running  (aw_qt.manager:185)

Journald

22.07.2024 16:40    kde-open    Cannot mix incompatible Qt library (6.5.3) with this library (6.7.2)
22.07.2024 16:40    systemd-coredump    Process 78276 (kde-open) of user 1000 terminated abnormally with signal 6/ABRT, processing...
22.07.2024 16:40    systemd Started Process Core Dump (PID 78280/UID 0).
22.07.2024 16:40    systemd Started Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling.
22.07.2024 16:40    systemd-coredump    Process 78276 (kde-open) of user 1000 dumped core.

Stack trace of thread 78276:
#0  0x00007b20f08a8e44 n/a (libc.so.6 + 0x94e44)
#1  0x00007b20f0850a30 raise (libc.so.6 + 0x3ca30)
#2  0x00007b20f08384c3 abort (libc.so.6 + 0x244c3)
#3  0x00007b20f0e8c643 n/a (libQt6Core.so.6 + 0x8c643)
#4  0x00007b20f0e8cde7 _ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0x8cde7)
#5  0x00007b20f0e9bbd0 n/a (libQt6Core.so.6 + 0x9bbd0)
#6  0x00007b20ec838dea n/a (/tmp/.mount_activi0mY1qv/PyQt6/Qt6/lib/libQt6XcbQpa.so.6 + 0x5fdea)
#7  0x000063a9db184170 n/a (n/a + 0x0)
ELF object binary architecture: AMD x86-64

Additional context

github-actions[bot] commented 4 months ago

Hi there! As you're new to this repo, please make sure you've used an appropriate issue template and searched for duplicates (it helps us focus on actual development!). We'd also like to suggest that you read our contribution guidelines and our code of conduct. Thanks a bunch for opening your first issue! 🙏

losogudok commented 4 months ago

It seems that updating pyproject.toml

-PyQt6 = "6.5.3"
-PyQt6-Qt6 = "6.5.3"
+PyQt6 = ">=6.7.1"
+PyQt6-Qt6 = ">=6.7.1"

fixed the problem but I need more testing.

losogudok commented 4 months ago

I believe AUR version need updated version of PyQt6 and PyQt6-Qt6