-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Firefox data is not shown in visualizations #107
Comments
I did look through the bug reports, found #32, but that seems to be not the issue that I have. Maybe they are related, though I'm not sure. |
I'm having this issue as well, it seems to work again if you disable then enable again in the extension menu (not in the firefox preferences) |
Hm, I toggled the checkbox off and then on, but the issue still persists. Could you describe what you did in a bit more detail? Maybe I'm missing some step. |
I have the same issue |
Same issue and I can reproduce @pi314ever 's solution. Seems like the extensions for some reason does not start properly when starting Firefox. |
I've discovered a temporary solution that allows logging and synchronization by reloading the extension within the "Inspect" developer tools window while debugging is activated. It seems that when the extension is loaded in the typical manner, it doesn't properly integrate with the browser and fails to operate in the background. Workaround steps:
|
The background script is not executed on browser startup because Line 28 in b53d099
For reference: https://github.com/Cookie-AutoDelete/Cookie-AutoDelete/blob/ca628ccfa567eeb5e088c74812090659185132b2/extension/manifest.json#L2-L11 |
I releases v0.4.8 with a possible fix this morning, it has been published on Mozilla Addons: https://github.com/ActivityWatch/aw-watcher-web/releases/tag/v0.4.8 Plrease report any continued issues you experience. |
This doesn't fix it. I would like to mention that there is data in the bucket but it isn't displayed in the visualizations. (I'm on Wayland but the hostname for the bucket does match my hostname) |
@harshkhandeparkar What is the appname for Firefox for you? (under "Top Applications") |
It is unknown :( |
I had to give consent to the collection of offline data again, but now it seems to work :) (still, I will check it regularly the next days to make sure it works reliably) Thanks for the fix! |
|
I just found this issue after having the same problem. I'm running Firefox 116.0.3, under Ubuntu 22.04. It will only record data if I disable the add-on, then re-enable it, when I start Firefox. I'm running add-on version 0.4.8. |
For me the information shows in the timeline view and when looking at the Bucket directly. |
Same here for me on Floorp. Also Unknown hostname and no browser data. The bucket however is syncing. |
Hello, I just installed ActivityWatcher and I'm experiencing the same issue. |
Same here for me on Librewolf using MacOS 12.
Here I get "LibreWolf". |
I am on Arch Linux Kde plasma firefox, and the plugin report my devices as "unknown" |
What could be the reason for this? I'm facing this on Windows with Floorp. There is raw data but no visualizations Is it related to https://github.com/ActivityWatch/aw-webui/pull/111/files? |
I hope this issue of browser not supported by the default should be documented somewhere so newcomers who use non-traditional browsers like forks are not steered away from the fact that ActivityWatch don't work right away. @ErikBjare |
Here I still have the problem, without the firefox monitoring data. The algers solution works as a stopgap. Mozilla Firefox (126.0) |
I have this problem also since Dec 2023. Previous to that date it was working perfectly, after then Firefox is never listed in "Top Applications" and the time spent using it shows as "unknown" in both "Top Application" and "Window Title" lists and "Browser Domains" and "Browser URLs" show "No Data". ActivityWatch Version: v0.12.2 I have tried reinstalling and restarting the Firefox Plugin, disable the add-on and then re-enabling it, and reloading the extension as suggested by algers. Going to http://localhost:5600/#/buckets/aw-watcher-web-firefox shows all my Firefox activity accurately up to the moment. Regarding the comment by SettingDust: I see that the window title for Firefox on my machine is "Firefox Web Browser" which is not in the browser_appnames list for Firefox. Is there a simple way that I can edit this file and see if that helps without having to build ActivityWatch? |
@GitFr33 You needn't build it since the file in screenshot is the built one. Just search and edit it. |
Right! |
Following up on this: adding "Firefox Web Browser" to the list of names for firefox didn't seem to help. The problem does not exist after switching from wayland to x11. I also noticed that activity for Thunderbird, and the tray icon, are also both not working in wayland but work with x11. Unfortunately, my system is unusably gimpy in x11. |
@SettingDust Hi, can you tell me which file you changed? What directory was aw_server folder in? |
IDK. Depends on your installation path. For file name. IDK either. It's hash instead of a readable filename. You can try to find the file with the same name in my image or search in the directory with tool like VSCode in the image |
Hi guys, we just released If your specific bug is still occurring, please open a new issue with exact details, as there are several different problems being discussed here. If you have a browser named |
I can see
aw-watcher-web-firefox
bucket in the timeline and in the raw data tab, but "Top Browser Domains" and "Top Browser URLs" visualizations show that there's no data. Browser extension says that it's connected to the server. I'm on Fedora 37 if it helps.The text was updated successfully, but these errors were encountered: