Hi amo,
the paperless-task-queue.service stopped working for me. Last few entries in systemctl status paperless-task-queue.service are:
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/celery/concurrency/prefork.py", line 19, in <module>
from .asynpool import AsynPool
File "/usr/lib/python3.10/site-packages/celery/concurrency/asynpool.py", line 29, in <module>
from billiard.compat import buf_t, isblocking, setblocking
: ImportError: cannot import name 'buf_t' from 'billiard.compat'
(/usr/lib/python3.10/site-packages/billiard/compat.py)
Pinned Comments
shtrophic commented on 2025-04-14 20:22 (UTC) (edited on 2025-04-14 20:32 (UTC) by shtrophic)
For people not using
redis
: there is now an "automated patching mechanism" that will instead use the next best fork ofredis
that is available on your system as theRequires=
dependency in*.service
. This way, anyone can use their favorite fork of it. Keep in mind that upstream does not explicitly say that forks ofredis
work as well, and this further makes the builtpaperless-ngx-venv
package non-portable. Happy experimenting :)