ActivityWatch / activitywatch-old

[DEPRECATED] :watch: Logs your computer activities, a RescueTime replacement.
MIT License
16 stars 2 forks source link

[X11Watcher] pid_property was None #2

Open ErikBjare opened 9 years ago

ErikBjare commented 9 years ago

The following error appears every now and then for certain windows.

2015-07-03 23:15:00,891 ERROR from X11Watcher: Exception was thrown while running loop: 'pid_property was None', trying again.

Which windows it happens for will be listed here:

The error message should be improved so the window title is included, makes for easier debugging and finding the windows that cause it.

The output from the X11 watcher could be improved in general.

ErikBjare commented 8 years ago

Also appeared for me in Kerbal Space Program. RescueTime didn't detect it either. Instead they picked the last event (Chrome) and just kept going, giving false impressions about the activity during that time.

Perhaps we should create events indicating missing information/error periods.

ErikBjare commented 8 years ago

It seems that Steam doesn't have a _NET_WM_PID entry and that's why it fails. Should probably just fetch the WM_NAME and WM_CLASS directly.