question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Chrome extension is not logging data

See original GitHub issue

I use Vivaldi browser and I installed the extension for chromium-like web browsers. The logging from websites worked in 8.0 or maybe even 8.1 (I do not recall) but I noticed it is broken with 8.3.0.

image

Number of active tabs: 1
Tabs:
{
    "active": true,
    "audible": false,
    "autoDiscardable": true,
    "discarded": false,
    "extData": "{\"useDefaultIcon\":false,\"read\":true,\"ext_id\":\"ck375lp3o01ab3h5oc4gn111c\",\"urlForThumbnail\":\"https://github.com/ActivityWatch/activitywatch/issues/new?assignees=&labels=&template=bug_report.md&title=\",\"thumbnail\":\"data:image/jpeg;base64,/9j/********TRUNCATED*******f/9k=\"}",
    "favIconUrl": "https://github.githubassets.com/favicon.ico",
    "height": 963,
    "highlighted": true,
    "id": 933,
    "incognito": false,
    "index": 13,
    "mutedInfo": {
        "muted": false,
        "reason": "capture"
    },
    "openerTabId": 190,
    "pinned": false,
    "selected": true,
    "status": "complete",
    "title": "New Issue · ActivityWatch/activitywatch",
    "url": "https://github.com/ActivityWatch/activitywatch/issues/new?assignees=&labels=&template=bug_report.md&title=",
    "width": 1700,
    "windowId": 158
}

{"testing":null,"lastSyncSuccess":true}

GUI is not showing the data, nor the “Dropdown”.

image

I tried installing Chrome (ugh) and it works there. It seems like Vivaldi specigic issue. Potentially other chromium-based browsers. I tried Brave too, and it works. To sum it up:

  1. Vivaldi stable 2.9 ❌
  2. Vivaldi snapshot 1719.3 ❌
  3. Chrome stable ✅
  4. Chrome canary ✅
  5. Brave ✅

Environment

  • ActivityWatch version: 8.3.0
  • OS: Manjaro Linux i3 18.1 with 5.3.11-1 kernel

Additional context

In your bug report template, you refer to log files for Linux being in /.cache/SuperApp/ but it seems the standard path is /.cache/activitywatch/. I can send you some of them in private, but I consider my “activity” history private so I will only forward it if absolutely necessary (ideally using keybase). If I was you, I would specify what logs are most relevant and what personal data would be the person sharing if they chose to upload it to Github.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ChenDanCMUcommented, Nov 25, 2019

Same issue here with Firefox-esr 68.2 on Debian 10 stable. I think just add ‘firefox-esr’ to https://github.com/ActivityWatch/aw-webui/blob/10d931767d0ed6f41b9bf479f49ecb660b029972/src/queries.ts#L89 should fix the bug.

0reactions
LeBauxcommented, Dec 3, 2019

Just to confirm, vivaldi and vivaldi snapshot are both vivaldi.exe on Windows platform. Thank you for the fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chrome Extension is Not Working - Copper Help Center
In the Chrome menu, go to Preferences ⇨ Advanced ⇨ Privacy and Security ⇨ Clear Browsing Data. · Make sure the following options...
Read more >
Google Chrome Logging You Out? Here's How to Fix the ...
1. Checking Chrome Sign in Settings · 2. Turn On Cookies in Chrome · 3. Turn Off Chrome Sync · 4. Turn Off...
Read more >
Chrome Browser debug logs - Google Support
You can troubleshoot problems with Chrome Browser, such as hanging tabs and error messages. Use debug logs to help you. These logs aren't...
Read more >
Chrome extension doesn't execute console.log, it just skips ...
The console for your extension is in a separate window.You can inspect your console.log() messages by: Go to chrome://extension.
Read more >
How to troubleshoot common problems with Chrome Browser
Update Chrome to the latest version to rule out any unsupported versions. · Compare the extension version installed to what is present in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found