ActivityWatch / ActivityWatch/activitywatch

Issues with Activity having no data, while Timeline and query still does

オープン
#1,111 コメント 11 件 リアクション 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.
- [x] I have searched the issues of this repo and believe that this is not a duplicate.

- OS: Arch 6.11.5-arch1-1
- WM: Hyprland 0.44.1
- ActivityWatch version: 0.13.1 (rust) (strange as I built from source yesterday)
- Awatcher version: 0.3.0 (built from source)

## Describe the bug

I am having trouble using ActivityWatch on Wayland using awatcher. I have two database, one from another machine, one from this. They share hostname though.
However, only the data from the synced buckets (from db of old machine) are displayed in Activity page.

This is from Timeline to show that the data exists.
![image](https://github.com/user-attachments/assets/0f17f7ac-6fcc-44b7-85fd-bd2c7cda139a)

And here the Activity page still shows the data from the synced buckets
![image](https://github.com/user-attachments/assets/cb17deb6-e18a-47cf-8999-f1df19346ab8)

However, the ones from the current watchers are not displayed. In addition, the bar chart works the opposite way, showing only the current watchers but not the synced buckets.
![image](https://github.com/user-attachments/assets/a7809a56-2343-4f7d-a488-8aea058da63c)

## To Reproduce

1. Create a new database (to replicate I chose to rename the folder of the database)
2. Run ActivityWatch including aw-sync

## Expected behavior

Activity page show data properly like timeline.

## Documentation

I am not sure what logs are relevant please let me know so I can provide.

## Additional context

This works normally on the first run after when I delete the database of the current machine. But afterwards, it shows no data again.

## Remarks
Also the version should be update to 0.13.2 for the servers as well right? I see in the changelog of version 0.13.2 the version of servers are only bumped to 0.13.1.

P.S. I am not sure if this is issue from awatcher or the webui from ActivityWatch so I post the issues on both, sorry for the inconvenience :sweat:

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

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

評価

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

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

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