[Bug 278425] deskutils/py-paperless-ngx: paperless.conf file has wrong NLTK_DIR value
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 18 Apr 2024 07:35:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278425
Bug ID: 278425
Summary: deskutils/py-paperless-ngx: paperless.conf file has
wrong NLTK_DIR value
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: grembo@FreeBSD.org
Reporter: freebsd.bugzilla@mail.tinsuke.com
Flags: maintainer-feedback?(grembo@FreeBSD.org)
Assignee: grembo@FreeBSD.org
The
[patch-paperless.conf.example](https://github.com/freebsd/freebsd-ports/blob/ddf83690e4171846f72b6872deaf487199ee9504/deskutils/py-paperless-ngx/files/patch-paperless.conf.example#L59)
patch file adds:
> +NLTK_DIR=/var/db/paperless/nltk_data
But the directory that is actually used throughout the patch is:
> /var/db/paperless/nltkdata
Examples:
-
[Makefile](https://github.com/freebsd/freebsd-ports/blob/ddf83690e4171846f72b6872deaf487199ee9504/deskutils/py-paperless-ngx/Makefile#L157)
-
[pkg-plist](https://github.com/freebsd/freebsd-ports/blob/ddf83690e4171846f72b6872deaf487199ee9504/deskutils/py-paperless-ngx/pkg-plist#L2868)
-
[files/paperless-ngx.7.in](https://github.com/freebsd/freebsd-ports/blob/ddf83690e4171846f72b6872deaf487199ee9504/deskutils/py-paperless-ngx/files/paperless-ngx.7.in#L163)
As a result, if the user follows the man page suggestion to download NLTK to
`/var/db/paperless/nltkdata`, then the port won't be able to use NLTK, because
of the different value of `NLTK_DIR` in their `/usr/local/etc/paperless.conf`.
--
You are receiving this mail because:
You are the assignee for the bug.