Trying to run net-nntp/sabnzbd-3.4.0 results in this output × sabnzbd@0.service - SABnzbd binary newsreader Loaded: loaded (/lib/systemd/system/sabnzbd@.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Thu 2021-09-23 18:58:01 BST; 10s ago Process: 2581256 ExecStart=/usr/share/sabnzbd/SABnzbd.py --logging 1 --browser 0 (code=exited, status=1/FAILURE) Main PID: 2581256 (code=exited, status=1/FAILURE) Sep 23 18:58:01 desiato SABnzbd.py[2581256]: from sabnzbd.nzbstuff import NzbObject, NzbFile Sep 23 18:58:01 desiato SABnzbd.py[2581256]: File "/usr/share/sabnzbd/sabnzbd/nzbstuff.py", line 89, in <module> Sep 23 18:58:01 desiato SABnzbd.py[2581256]: from sabnzbd.deobfuscate_filenames import is_probably_obfuscated Sep 23 18:58:01 desiato SABnzbd.py[2581256]: File "/usr/share/sabnzbd/sabnzbd/deobfuscate_filenames.py", line 38, in <module> Sep 23 18:58:01 desiato SABnzbd.py[2581256]: import sabnzbd.utils.file_extension as file_extension Sep 23 18:58:01 desiato SABnzbd.py[2581256]: File "/usr/share/sabnzbd/sabnzbd/utils/file_extension.py", line 8, in <module> Sep 23 18:58:01 desiato SABnzbd.py[2581256]: import puremagic Sep 23 18:58:01 desiato SABnzbd.py[2581256]: ModuleNotFoundError: No module named 'puremagic' Sep 23 18:58:01 desiato systemd[1]: sabnzbd@0.service: Main process exited, code=exited, status=1/FAILURE Sep 23 18:58:01 desiato systemd[1]: sabnzbd@0.service: Failed with result 'exit-code'. Reproducible: Always There is a puremagic module on PyPI but nothing in portage.
as a workaround, as the user that sabnzbd is running as, do `pip install --user puremagic` - got it running again on my machine. I also needed `guessit`, though there is a system package for that - I would have expected portage to have brought it in tho, instead of having to install it manually.
Jupp, same issue here. sabnzbd ebuild should depend on dev-python/guessit. For puremagic it seems that there is no ebuild at the moment.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=081b927e8975e0bd5d2dfcb6b82576458ad05b50 commit 081b927e8975e0bd5d2dfcb6b82576458ad05b50 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2021-09-25 13:55:23 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-09-25 13:55:44 +0000 dev-python/puremagic: initial import Required for net-nntp/sabnzbd. Bug: https://bugs.gentoo.org/814503 Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> dev-python/puremagic/Manifest | 1 + dev-python/puremagic/metadata.xml | 13 +++++++++++++ dev-python/puremagic/puremagic-1.11.ebuild | 20 ++++++++++++++++++++ 3 files changed, 34 insertions(+)
Should be fixed with 3.4.1.
The puremagic sode is fixed, but it still fails to run unless guessit is installed. That's in portage, so it's just a matter of adding the DEPEND.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34340911aed07e34df46918e9e12f26e4581cf9c commit 34340911aed07e34df46918e9e12f26e4581cf9c Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2021-09-29 15:24:02 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-09-29 16:55:13 +0000 net-nntp/sabnzbd: depend on dev-python/guessit Bug: https://bugs.gentoo.org/814503 Package-Manager: Portage-3.0.26, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> net-nntp/sabnzbd/{sabnzbd-3.4.1.ebuild => sabnzbd-3.4.1-r1.ebuild} | 1 + 1 file changed, 1 insertion(+)