ActivityWatch / ActivityWatch/activitywatch

aw-qt fails to start on gnome 40 (Wayland) because of old libgio-2.0.so.0

オープン
#710 コメント 12 件 リアクション 4 件 担当者 0 名 GitHub で見る
platform: linux pyinstaller stale type: bug
主要言語
Python
スター
18.9k
フォーク
1k
平均マージ
1日 4時間
マージ済み PR(30日)
28

説明

- [x] I am on the [latest](https://github.com/ActivityWatch/activitywatch/releases/latest) ActivityWatch version.
- [x] I have searched the issues of this repo and believe that this is not a duplicate.

- **OS name and version**: Ubuntu 21.10 linux:5.13.0-28-generic
- **ActivityWatch version**: v0.11.0

## Describe the bug
Although default gnome does not have system-tray, most common distributions provide extensions to circumvent that. Thus, `aw-qt` should work in these cases. But upon starting it with `./aw-qt`, this error comes up and process is terminated:
```
...
2022-02-04 22:31:36 [INFO ]: Creating trayicon... (aw_qt.trayicon:206)
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

(aw-qt:7407): GLib-GIO-ERROR **: 22:31:36.281: Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'antialiasing'
2022-02-04 22:31:36 [INFO ]: aw-watcher-window started (aw_watcher_window.main:51)
2022-02-04 22:31:36 [INFO ]: aw-watcher-afk started (aw_watcher_afk.afk:55)
fish: Job 1, 'aw-qt' terminated by signal SIGTRAP (Trace or breakpoint trap)
```
# Workaround
the `libgio-2.0.so.0` bundled with the application is old and is requesting a key which is not present. I deleted the bundled lib and got the tray-icon to work.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。