Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0s activity #1006

Open
2 tasks done
lucianosarno opened this issue Jan 10, 2024 · 2 comments
Open
2 tasks done

0s activity #1006

lucianosarno opened this issue Jan 10, 2024 · 2 comments

Comments

@lucianosarno
Copy link

lucianosarno commented Jan 10, 2024

  • I am on the latest ActivityWatch version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • OS name and version: Windows 11
  • ActivityWatch version: Version: v0.12.2

Describe the bug

For today (Jan-10) dashboard just shows 0s activity.

To Reproduce

Additional context

Copy link

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! 🙏

@wonka929
Copy link

This bug desciption is awful.
I will continue with this bug bringing some light.

So, the issue was similar to an old one
#190

Schermata del 2024-01-25 12-50-04
Schermata del 2024-01-25 12-48-57
query_22_gen.har.zip

I'm trying to visualize the activity summary for day 22 gen and it does not seem it's able to do so (same for 23).

What i've tested:

  • changed the server from python to rust
  • deleting events that where crossing the midnight
  • moved the day start from 04:00 to 00:00

No changes except that if i pu start of day at 00:00 insteaf of 4:00 i can see the activities from 0:00 to 2:00 but not everything else.

I have also parsed the Chrome Har file with the activity in Network page of developer.
The query from Chrome clearly shows it can get all the activities of the day, but something happen probably during the merging process.

As such, i've seen both python and rust server log (attached to this comment) and i see many of these lines:

[2024-01-25 12:44:51][�[33mWARN�[0m][aw_transform::flood]: Gap was of negative duration and could NOT be safely merged (-PT1407.768Ss). This warning will only show once per batch.
[2024-01-25 12:44:51][�[33mWARN�[0m][aw_transform::flood]: Gap was of negative duration (-PT255.328391Ss), but could be safely merged. This error will only show once per batch.

aw-server-rust.zip
aw-server_2024-01-25T12-16-40.zip

Seems like there is an error involving negative times, without particular reason for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants