aw-watcher-window icon indicating copy to clipboard operation
aw-watcher-window copied to clipboard

Aw watcher window quits without any logged error on MacOS Catalina

Open SimoneGianni opened this issue 2 years ago • 2 comments

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)

SimoneGianni avatar Oct 31 '22 12:10 SimoneGianni

Looks like the same issue as https://github.com/ActivityWatch/activitywatch/issues/801

ErikBjare avatar Oct 31 '22 12:10 ErikBjare

I got the same behavior when updating the Mac hostname.

Get the hostname and make sure it does NOT contain spaces:

scutil --get HostName

If it contains spaces, they should be replaced with a hyphen or deleted. Set new hostname:

scutil --set HostName MacBook-Air

I'll be glad if this helps you.

MrPandir avatar Sep 03 '24 19:09 MrPandir