Date: Thu, 18 Apr 2024 07:35:48 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 278425] deskutils/py-paperless-ngx: paperless.conf file has wrong NLTK_DIR value Message-ID: <bug-278425-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278425 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/blo= b/ddf83690e4171846f72b6872deaf487199ee9504/deskutils/py-paperless-ngx/files= /patch-paperless.conf.example#L59) patch file adds: > +NLTK_DIR=3D/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/ddf83690e4171846f7= 2b6872deaf487199ee9504/deskutils/py-paperless-ngx/Makefile#L157) - [pkg-plist](https://github.com/freebsd/freebsd-ports/blob/ddf83690e4171846f= 72b6872deaf487199ee9504/deskutils/py-paperless-ngx/pkg-plist#L2868) - [files/paperless-ngx.7.in](https://github.com/freebsd/freebsd-ports/blob/dd= f83690e4171846f72b6872deaf487199ee9504/deskutils/py-paperless-ngx/files/pap= erless-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, beca= use of the different value of `NLTK_DIR` in their `/usr/local/etc/paperless.con= f`. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278425-7788>