ActivityWatch / ActivityWatch/activitywatch

Linux: `[Errno 5] Input/output error (aw_server.server:122)` when starting-up `aw-qt`

Đang mở
#828 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
stale type: bug
Ngôn ngữ chính
Python
Star
18.9k
Fork
1k
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
28

Mô tả

- [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**: Manjaro (latest, rolling upgrading)
- **ActivityWatch version**: 0.12.1

## Describe the bug

I install `activitywatch-bin` (0.12.1-1) from AUR on Manjaro, and when execute `aw-qt`, it shows error immediately and interrupted, totally unusable:

![Screenshot_20221201_202610](https://user-images.githubusercontent.com/1370070/205052487-3741ad3e-b9fa-4176-85d4-8fed1c51ef34.png)

Totally donno how to get more imformative logs for debugging so copy-paste the error message in it:

```
2022-12-01 20:23:26 [INFO ]: Using storage method: peewee (aw_server.main:33)
2022-12-01 20:23:26 [INFO ]: Starting up... (aw_server.main:41)
2022-12-01 20:23:26 [INFO ]: Using database file: /home/ky/.local/share/activitywatch/aw-server/peewee-sqlite.v2.db (aw_datastore.storages.peewee:126)
2022-12-01 20:23:26 [ERROR]: [Errno 5] Input/output error (aw_server.server:122)
Traceback (most recent call last):
File "aw_server/server.py", line 113, in _start
File "flask/app.py", line 909, in run
File "flask/cli.py", line 649, in show_server_banner
File "click/utils.py", line 300, in echo
OSError: [Errno 5] Input/output error
2022-12-01 20:23:26 [ERROR]: Unhandled exception (root:51)
Traceback (most recent call last):
File "__main__.py", line 3, in
File "aw_server/main.py", line 42, in main
File "aw_server/server.py", line 123, in _start
File "aw_server/server.py", line 113, in _start
File "flask/app.py", line 909, in run
File "flask/cli.py", line 649, in show_server_banner
File "click/utils.py", line 300, in echo
OSError: [Errno 5] Input/output error
2022-12-01 20:23:26 [ERROR]: Unhandled exception (root:51)
Traceback (most recent call last):
File "", line 1, in
OSError: [Errno 5] Input/output error
2022-12-01 20:23:26 [ERROR]: Unhandled exception (root:51)
Traceback (most recent call last):
File "", line 1, in
OSError: [Errno 5] Input/output error
```
## To Reproduce

1. Install `activitywatch-bin` on AUR provided by ActivityWatch officially.
2. Run `aw-qt`

## Expected behavior

No error.

## Documentation

Above mentioned.

## Additional context

- `python` 3.10.8

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.