I installed paperless-ngx 1.11.3-2, downgraded python-billiard to 3.6.4.0-3 and restarted paperless.target. Consuming documents I get the error "[paperless.consumer] The following error occurred while consuming xxxx.pdf: No module named 'nltk'". Installing python-nltk and nltk-data didn't solve the problem.
Search Criteria
Package Details: paperless-ngx-venv 2.15.3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/paperless-ngx-venv.git (read-only, click to copy) |
---|---|
Package Base: | paperless-ngx-venv |
Description: | paperless-ngx: scan, index and archive all your physical documents |
Upstream URL: | https://docs.paperless-ngx.com/ |
Keywords: | documents paperless |
Licenses: | GPL-3.0-or-later |
Conflicts: | paperless, paperless-ng, paperless-ngx |
Provides: | paperless, paperless-ngx-venv |
Replaces: | paperless-ngx |
Submitter: | AlphaJack |
Maintainer: | AlphaJack (atomicfs, shtrophic) |
Last Packager: | shtrophic |
Votes: | 27 |
Popularity: | 0.39 |
First Submitted: | 2024-11-02 15:19 (UTC) |
Last Updated: | 2025-04-20 20:25 (UTC) |
Dependencies (23)
- file (file-gitAUR)
- ghostscript
- gnupg (gnupg-gitAUR, gnupg-largekeysAUR)
- imagemagick (imagemagick-gitAUR, imagemagick-full-gitAUR, imagemagick-fullAUR)
- nltk-data
- optipng
- poppler (poppler-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- redis (redis-testingAUR, redis-gitAUR, keydbAUR, redictAUR, valkey)
- sqlite (sqlite-fossilAUR)
- tesseract-data-eng (tesseract-data-eng-gitAUR, tesseract-data-best-engAUR)
- ttf-liberation (ttf-defenestrationAUR)
- unpaper (unpaper-gitAUR)
- findutils (findutils-gitAUR, findutils-selinuxAUR) (make)
- mariadb (mysql55AUR, mysql56AUR, mysql81AUR, mysql57AUR, mysqlAUR, mysql80AUR, mysql84AUR, mariadb-lts, percona-server) (make)
- postgresql (postgresql13AUR, postgresql-gitAUR, postgresql-12AUR, postgresql15-docsAUR, postgresql15AUR, postgresql16-docsAUR, postgresql16AUR) (make)
- postgresql-libs (postgresql13-libsAUR, postgresql-libs-gitAUR, postgresql-libs-12AUR) (make)
- uv (make)
- gotenbergAUR (gotenbergAUR) (optional) – convert files to pdf
- jbig2encAUR (jbig2encAUR, jbig2enc-gitAUR) (optional) – smaller PDF size
- Show 3 more dependencies...
Required by (0)
Sources (10)
Latest Comments
« First ‹ Previous 1 .. 7 8 9 10 11 12 13 Next › Last »
pipep commented on 2023-01-13 20:07 (UTC)
amo commented on 2023-01-11 06:23 (UTC)
I just pushed the update to 1.11.3. Please do not forget to downgrade python-billiard to 3.6.4 and to restart paperless.target. The RuntimeError: Event loop is closed
errors can apparently be safely ignored. The bug with python-dateparser has been fixed and python-regex does not need to be downgraded any longer.
amo commented on 2023-01-09 06:02 (UTC)
@hashworks: Thanks for the explanations. I've tried it again but without compatible aur helper (makepkg -si
or with yay) the installation seems to simply fail because the pinned dependency cannot be satisfied, even if the dependency is installed with another version. Since yay appears to be the main aur helper in use, I fear that more users would be confused by the pins than other users would actually benefit from them.
hashworks commented on 2023-01-01 18:49 (UTC)
Some AUR helpers provide a custom AUR pacman repo (f.e. aurutils). Packages are then installed using pacman, including the dependencies. If one had an installation of paperless-ngx with python-django-channels-redis=3.4.1
and tried pacman -Syu
it would skip the 4.0.0 update because of the dependency pin. In the current state I would just upgrade python-django-channels-redis
and break paperless-ngx.
amo commented on 2023-01-01 10:53 (UTC)
@hashworks: There is only little documentation on version pins in PKGBUILD. What are the benefits? If I add python-django-channels-redis=3.4.1
then makepkg fails because it failed to install missing dependencies
. Even if you wanted to install it manually, you couldn't because python-django-channels-redis
is an AUR package and there are no archived versions of it.
hashworks commented on 2022-12-29 12:18 (UTC) (edited on 2022-12-29 12:18 (UTC) by hashworks)
Could you add known version pins to the PKGBUILD? For example python-django-channels-redis=3.4.1
, which is needed even in 1.9.2.
AlD commented on 2022-12-07 09:53 (UTC)
Came looking for why this is still outdated and was extremely pleasantly surprised by the detailed rationale for holding the update back. Thank you for the great maintainership and keep up the good work, @amo!
hashworks commented on 2022-12-04 21:15 (UTC)
Waiting for fixes sounds reasonable :)
amo commented on 2022-12-01 13:00 (UTC) (edited on 2023-01-11 06:12 (UTC) by amo)
1.11.2 is out, I know. I have prepared and tested the update, but:
- The switch from django-q to celery pulls in python-billiard as a dependency which has to be downgraded from 4.0.2 to 3.6.4 for celery to launch correctly. Maybe this issue is the one to watch here.
- 1.11.2 also pulls in python-django-channels-redis as a dependency from the AUR, which also has a bug we might want to see resolved first. This one is harder to downgrade without cached pacman package if you didn't have it installed before. A fix will probably land around new year. This bug seems to be non-critical though: it looks like you can ignore the error messages.
I guess I will push the update soon and we might have to downgrade python-billiard. This is probably better than waiting eternally for fixes...
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 :)