aw-watcher-web: Firefox data is not shown in visualizations

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.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 9
  • Comments: 33 (5 by maintainers)

Most upvoted comments

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)

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.

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:

  1. Open a new tab and enter about:debugging in the address bar.
  2. In the sidebar, click on “This Firefox”.
  3. Scroll down to find “ActivityWatch” in the extension list.
  4. Click “Inspect” to open the extension’s developer tools window.
  5. In the header bar of this window, click the reload icon to refresh the extension.

image

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.

Hi guys, we just released v0.5.0, feel free to install and report if it still occurs 😃


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 unknown in the window watcher, the problem isn’t in the web extension, you probably need to install awatcher.

@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

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.

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!

@harshkhandeparkar What is the appname for Firefox for you? (under “Top Applications”)

It is unknown 😦

Same issue and I can reproduce @pi314ever 's solution. Seems like the extensions for some reason does not start properly when starting Firefox. I’m on Windows, both activity watch and the Firefox extension are up-to-date. @da-the-dev I just clicked on the aw extensions icon on the search bar (or in the extension menu in the search bar) and then there is a checkbox behind “Enabled” which I toggled (to disable the extension). Then I clicked somewhere else to close the pop-up and opened it again to toggle the checkbox again.