Package Details: paperless-ngx-venv 2.14.7-2

Git Clone URL: https://aur.archlinux.org/paperless-ngx-venv.git (read-only, click to copy)
Package Base: paperless-ngx-venv
Description: A supercharged version of paperless: scan, index and archive all your physical documents (version with bundled dependencies)
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: AlphaJack
Votes: 27
Popularity: 0.87
First Submitted: 2024-11-02 15:19 (UTC)
Last Updated: 2025-03-08 20:39 (UTC)

Required by (0)

Sources (12)

Latest Comments

« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 Next › Last »

DudeDu commented on 2023-02-01 07:53 (UTC)

Thank you very much, sorry that i missed the comment about it. Thanks for your work!

amo commented on 2023-01-29 12:41 (UTC)

@DudeDu Your error mentions billiard. Please downgrade python-billiard as advised in the previous comments.

DudeDu commented on 2023-01-29 11:14 (UTC) (edited on 2023-01-29 11:15 (UTC) by DudeDu)

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)

amo commented on 2023-01-25 17:50 (UTC)

I just pushed the update to 1.12.0. If you created a temporary symlink for nltk-data with the previous release, you can now unlink /usr/local/share/nltk_data.

amo commented on 2023-01-14 14:57 (UTC) (edited on 2023-01-14 16:19 (UTC) by amo)

Thank you @pipep for your report, you were absolutely right about the error. Somehow it did not come up on my testing machine but on my production machine it did...

Simply disabling the NLTK-feature sounds more like a sad workaround. A real solution is to install the python-nltk and nltk-data packages. I just added them to the dependencies and pushed a new package release. They should install as paperless dependencies when updating paperless-ngx.

Unfortunately, we have to add one more (hopefully just temporary) step to make it work: ln -s /usr/share/nltk_data /usr/local/share/nltk_data sets a symlink from the path where paperless expects the nltk_data to be to where it actually is installed. The installation path of the archlinux package is correct according to the nltk documentation and in my opinion paperless-ngx should change the default path where it expects nltk_data to the correct one. I already created a pull request, we will see if they accept it. If so, we can remove the symlink. Another valid option is probably to set the PAPERLESS_NLTK_DIR in paperless.conf, but I did not test it.

pipep commented on 2023-01-14 09:20 (UTC) (edited on 2023-01-14 09:21 (UTC) by pipep)

I solved the error inserting PAPERLESS_ENABLE_NLTK=false in /etc/paperless.conf

amo commented on 2023-01-14 08:22 (UTC)

@pipep I'm sorry but I can't reproduce the error. Neither by dropping a file onto the web UI nor by putting a file into the consume folder. I don't have python-ntlk installed.

pipep commented on 2023-01-13 20:07 (UTC)

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.

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.