fossasia / fossasia/knitserver
Flask socket does not contain worker
- Dominant language
- JavaScript
- Stars
- 1.5k
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
```
(venv) $ python knitlib_webserver.py
Traceback (most recent call last):
File "knitlib_webserver.py", line 31, in
from flask_sockets import Sockets, Worker
ImportError: cannot import name Worker
```
Worker is not being used anywhere in the knitlib server and can be safely removed to avoid the socket error
Contributor guide
No contributing guide indexed for this repository
Research direction
Open knitlib_webserver.py and inspect the import on line 31, then run the command shown in the issue to reproduce the ImportError. The issue is done when the unused Worker import is no longer requested and the server starts without this socket error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flask, python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100