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.

Opening the dashboard crashes aw-qt

See original GitHub issue

I don’t have a trace yet (I tend to close the console in which I launch aw-qt and I don’t know where to find logs), but it already happened twice (/2), to me today that clicking “Open Dashboard” would make aw-qt crash, with only the aw-server process staying alive (nothing unexpected here).

Is there a known issue about this ?

More details to come.

(Edit : Arch Linux)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ErikBjarecommented, Nov 11, 2017

aw-qt can be difficult to debug since some types of crashes don’t leave error messages in the log (sigsegv in something Qt related for example, possibly caused by bugs PyInstaller).

Could you run aw-qt from a terminal and check the output of the aw-qt command when it crashes? There might be something in stdout/stderr that isn’t in the logs. Try --verbose as well if that’s implemented for aw-qt.

On Nov 11, 2017 22:56, “Nikana” notifications@github.com wrote:

Ah, thanks, I forgot that. Arch linux. Nothing noticeable in those logs.

$ cat ~/.cache/activitywatch/log// | grep 23:50 [there’s nothing here at 23:50:31] 2017-11-10 23:50:56,912 [INFO ]: Starting module aw-server (aw_qt.manager:44) 2017-11-10 23:50:57,916 [INFO ]: Starting module aw-watcher-afk (aw_qt.manager:44) 2017-11-10 23:50:57,922 [INFO ]: Starting module aw-watcher-window (aw_qt.manager:44) 2017-11-10 23:50:57,927 [INFO ]: Creating trayicon… (aw_qt.trayicon:145)

{“asctime”: “2017-11-10 23:50:57,519”, “filename”: “main.py”, “funcName”: “main”, “levelname”: “INFO”, “lineno”: 25, “module”: “main”, “message”: “Using storage method: peewee”, “name”: “aw_server.main”, “pathname”: “/home/will/.local/lib/python3.6/site-packages/aw_server/main.py”} {“asctime”: “2017-11-10 23:50:57,520”, “filename”: “main.py”, “funcName”: “main”, “levelname”: “INFO”, “lineno”: 30, “module”: “main”, “message”: “Starting up…”, “name”: “aw_server.main”, “pathname”: “/home/will/.local/lib/python3.6/site-packages/aw_server/main.py”} {“asctime”: “2017-11-10 23:50:57,520”, “filename”: “peewee.py”, “funcName”: “init”, “levelname”: “INFO”, “lineno”: 111, “module”: “peewee”, “message”: “Using database file: /home/will/.local/share/activitywatch/aw-server/peewee-sqlite.v2.db”, “name”: “aw_datastore.storages.peewee”, “pathname”: “/home/will/.local/lib/python3.6/site-packages/aw_core-0.4.0-py3.6.egg/aw_datastore/storages/peewee.py”} {“asctime”: “2017-11-10 23:50:57,525”, “filename”: “_internal.py”, “funcName”: “_log”, “levelname”: “INFO”, “lineno”: 87, “module”: “_internal”, “message”: " * Running on http://localhost:5600/ (Press CTRL+C to quit)", “name”: “werkzeug”, “pathname”: “/usr/lib/python3.6/site-packages/werkzeug/_internal.py”}

2017-11-10 23:50:31,108 [INFO ]: afkwatcher stopped because parent process died (aw_watcher_afk.afk:76) 2017-11-10 23:50:58,399 [INFO ]: afkwatcher started (aw_watcher_afk.afk:59) 2017-11-10 23:50:58,446 [INFO ]: Connection to aw-server established (aw_client.client:257)

2017-11-10 23:50:31,153 [INFO ]: window-watcher stopped because parent process died (aw_watcher_window.main:62) 2017-11-10 23:50:58,342 [INFO ]: Running watcher with poll time 1.0 seconds (aw_watcher_window.main:35) 2017-11-10 23:50:58,343 [INFO ]: aw-watcher-window has started (aw_watcher_window.main:44) 2017-11-10 23:50:58,401 [INFO ]: Connection to aw-server established (aw_client.client:257)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ActivityWatch/activitywatch/issues/132#issuecomment-343696842, or mute the thread https://github.com/notifications/unsubscribe-auth/ABVxut6zgM3lxNdG4M7CxuEdFNJBGCTcks5s1hgjgaJpZM4QaXpX .

0reactions
stale[bot]commented, Aug 13, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows Security Center crashes on opening
Hello, I have a PC running windows 10 version 1909. And for some time now the security center isn't working properly.
Read more >
G2 SteamVR dashboard crashes : r/HPReverb - Reddit
I have my global resolution set to 50% (2228x2184) in SteamVR, and games are running great on my RTX3080, however, most of the...
Read more >
Dashboard causing Quicken to crash the first time it's ...
I'm a third-decade Quicken user with a large data file, on Windows 11.
Read more >
How to Fix NVIDIA Control Panel Crashing/Not Opening
But don't worry. This issue might not be so hard to fix. And here're some ways you can get the Control Panel working...
Read more >
How to Fix Crashing Apps on an iPhone or Android?
I am a developer of iPhone/Android and my app keeps crashing on users phones… ... all the apps you have open, including the...
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