ActivityWatch / ActivityWatch/activitywatch

Incorrectly exiting on logout and generating huge log files

Open
#629 7 comments 3 reactions 0 assignees View on GitHub
platform: linux type: bug
Dominant language
Python
Stars
18.9k
Forks
1k
Avg merge
1d 4h
Merged PRs (30d)
28

Description

- [x] I am on the [latest](https://github.com/ActivityWatch/activitywatch/releases/latest) ActivityWatch version.
- [x] I have searched the issues of this repo and believe that this is not a duplicate.

- **OS name and version**: Arch Linux 5.12.14, KDE Plasma 5.22.2 on X11
- **ActivityWatch version**: 0.11.0

## Describe the bug

Constant error messages logged to `~/.local/share/sddm/xorg-session.log`, which ends up filling up local storage very quickly, especially on already low space storage devices.

## To Reproduce
1. Start ActivityWatch normally
2. Log out
3. Log back in
4. Some errors pops up telling you the program quit unexpectedly (aw-watcher and some others)
5. Constant error messages are now flooding `xorg-session.log`

## Expected behavior

The program should quit normally after logout and start again on login
## Documentation
Log of errors in `xorg-session.log`: https://0bin.net/paste/Uv76U7hI#orjz0x57Es5-Mq/+hENWrmsTpsDy8842VUmKyYKKSdw
If more lines of the log or any more information is necessary I can provide it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.