Aw watcher window quits without any logged error on MacOS Catalina

Open
#74 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
macos, python, swift

Research direction

Start at aw_watcher_window.main around the startup and Swift-strategy logging, then inspect the Swift binary invoked there on macOS Catalina. Reproduce the quit with the supplied environment and check why no actionable error reaches the log; done means the watcher remains running or records a useful failure.

Written by the indexing model from the issue text.

Description

I'm on a rather old MacOS:

  System Version:	macOS 10.15.7 (19H2)
  Kernel Version:	Darwin 19.6.0
  Boot Volume:	Macintosh HD
  Boot Mode:	Normal
  Secure Virtual Memory:	Enabled
  System Integrity Protection:	Enabled

Just installed ActivityWatch, v0.12.1, it had a small hiccup when starting the first time, had to start it a second time, then the tray icon appeared, but also a message about aw-watcher-window having quit unexpectedly:

image

Clicking "restart" closes the window, but the module just quit again without giving the error window.

In the log there is nothing significant:

2022-10-31 13:13:57 [INFO ]: aw-watcher-window started  (aw_watcher_window.main:62)
2022-10-31 13:13:58 [INFO ]: Using swift strategy, calling out to swift binary  (aw_watcher_window.main:67)
2022-10-31 13:13:58 [INFO ]: Connection to aw-server established by aw-watcher-window  (aw_client.client:429)
Dominant language
Python
Stars
133
Forks
92
Avg merge
5d 3h
Merged PRs (30d)
4

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ActivityWatch/aw-watcher-window

All issues in ActivityWatch/aw-watcher-window

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.