ActivityWatch / ActivityWatch/activitywatch

Always AFK - crash of aw-wather thread

オープン
#1,122 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
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.
- [ ] I have searched the issues of this repo and believe that this is not a duplicate.

installed 0.13.2 via AUR - Arch - but web interface reports 0.13.1

- **Manjaro testing**:
- **ActivityWatch 0.13.1**:

should be 0.13.2 though - see above

## Describe the bug

activity is not registered - always shows AFK

## Additional context

seems to be python version 3.13.1 does not support mouse listener. second computer with python 3.12.7 works fine.

error log:

```
2024-12-26 15:58:58 [ERROR]: Unhandled exception in listener callback (pynput.mouse.Listener:233)
Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/pynput/_util/__init__.py", line 229, in inner
return f(self, *args, **kwargs)
File "/usr/lib/python3.13/site-packages/pynput/_util/xorg.py", line 470, in _handler
self._handle(self._display_stop, event)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '_thread._ThreadHandle' object is not callable
```

EDIT: here some background:

https://github.com/moses-palmer/pynput/issues/614

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

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

調査の方向性

Reproduce the AFK failure on Python 3.13.1 and compare it with the working Python 3.12.7 setup on Manjaro/Arch. Start with the pynput.mouse.Listener traceback and the upstream pynput issue 614; done means mouse activity is registered without the callback error and the web interface no longer remains AFK.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
desktop, operating-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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