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

index.html plot is weird and very tiny, most probably bugged #20

Open
Naereen opened this issue Feb 18, 2024 · 3 comments
Open

index.html plot is weird and very tiny, most probably bugged #20

Naereen opened this issue Feb 18, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Naereen
Copy link

Naereen commented Feb 18, 2024

Hi there,
I managed to install your ActivityWatch plugin, and it works well to report data.
I think there is a bug in the index.html file though.
Here is what the plot looks like, after precisely following the instructions from https://github.com/Alwinator/aw-watcher-utilization?tab=readme-ov-file#custom-visualizations
Capture d’écran_2024-02-19_00-05-03
It's all skewed on a specific time, and does not show a nice plot with different point like on your example.

Thanks in advance, if you have time to investigate this issue.
I'm available to test any change to the index.html or to answer any question you could have regarding this issue.
Regards, -- @Naereen.

@Alwinator Alwinator added the bug Something isn't working label Mar 7, 2024
@Alwinator
Copy link
Owner

Are there any error logs from Activity Watch or in the browser console?

@Naereen
Copy link
Author

Naereen commented Mar 7, 2024

Hi there @Alwinator :)
In the browser console I got the following message:

Unchecked runtime.lastError: The message `aw-watcher-utilization/:1` port closed before a response was received.

And maybe the next error message also concerns aw-watcher-utilization:

inject.js:1 [Deprecation] Listener added for a synchronous
'DOMNodeInserted' DOM Mutation Event.
This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types)
and work is underway to remove it from this browser.
Usage of this event listener will cause performance issues today,
and represents a risk of future incompatibility.
Consider using MutationObserver instead.

@Alwinator
Copy link
Owner

@Naereen Thank you your quick reply, for me it looks like this issue is more related to Activity Watch than to my watcher.

@ErikBjare Do you have any ideas what the root cause could be here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants