-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Description
Describe the bug/problem
TypeError: Limiter.__init__() got an unexpected keyword argument 'auto_check'
root@u24-cweb2:~# systemctl status calibre-web.service | more
× calibre-web.service - Calibre-Web
Loaded: loaded (/etc/systemd/system/calibre-web.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Thu 2026-02-12 15:38:10 EST; 2min
58s ago
Duration: 905ms
Process: 25092 ExecStart=/usr/local/calibre-web-py3/bin/python3 /usr/local/calibre-web-py3/cps.py -p /library/calibre-web/config/app.db (code=exited, status=1/FAILURE)
Main PID: 25092 (code=exited, status=1/FAILURE)
CPU: 875ms
Feb 12 15:38:10 box systemd[1]: Started calibre-web.service - Calibre-Web.
Feb 12 15:38:10 box python3[25092]: Traceback (most recent call last):
Feb 12 15:38:10 box python3[25092]: File "/usr/local/calibre-web-py3/cps.py",
line 28, in <module>
Feb 12 15:38:10 box python3[25092]: from cps.main import main
Feb 12 15:38:10 box python3[25092]: File "/usr/local/calibre-web-py3/cps/__init__.py", line 114, in <module>
Feb 12 15:38:10 box python3[25092]: limiter = Limiter(key_func=True, headers_enabled=True, auto_check=False, swallow_errors=False)
Feb 12 15:38:10 box python3[25092]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Feb 12 15:38:10 box python3[25092]: TypeError: Limiter.__init__() got an unexpected keyword argument 'auto_check'
Feb 12 15:38:10 box systemd[1]: calibre-web.service: Main process exited, code=exited, status=1/FAILURE
Feb 12 15:38:10 box systemd[1]: calibre-web.service: Failed with result 'exit-code'.
To Reproduce
Steps to reproduce the behavior:
- Install latest requirements.txt
- Start cps.py
- See error
Environment (please complete the following information):
- OS: ubuntu 24.04
- Python version: 3.12
- Calibre-Web version: b64645e
- Docker container: None
Reactions are currently unavailable