Summary: | net-nntp/sabnzbd-0.7.14 with app-arch/par2cmdline-0.4-r2 - bad command line options in sabnzbd/newsunpack.py | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | dcb |
Component: | Current packages | Assignee: | Justin Bronder (RETIRED) <jsbronder> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | netbox253 |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
dcb
2013-08-09 01:49:33 UTC
I found a patch in the sabnzbd forums that gets sabnzbd working again with par2cmdline currently in portage. [I] net-nntp/sabnzbd Available versions: (~)0.7.13-r2 (~)0.7.14 {{+rar +ssl unzip +yenc}} Installed versions: 0.7.14(09:13:21 08/08/13)(rar ssl yenc -unzip) Homepage: http://www.sabnzbd.org/ Description: Binary newsgrabber with web-interface [I] app-arch/par2cmdline Available versions: 0.4-r2 Installed versions: 0.4-r2(05:21:32 08/09/13) Homepage: http://parchive.sourceforge.net/ Description: A PAR-2.0 file verification and repair tool +--- sabnzbd/newsunpack.py.orig 2013-07-07 13:29:12.000000000 +0200 ++++ sabnzbd/newsunpack.py 2013-08-02 20:16:22.286697000 +0200 +@@ -966,7 +966,7 @@ + + # Append the wildcard for this set + wildcard = '%s*' % os.path.join(os.path.split(parfile)[0], setname) +- if single or len(globber(wildcard, None)) < 2: ++ if len(globber(wildcard, None)) < 2: + # Support bizarre naming conventions + wildcard = os.path.join(os.path.split(parfile)[0], '*') + command.append(wildcard) As you can see, it's only a 1 line change. I just tried it out with a nzb that needed par2 corrections and with this patch sabnzbd was working correctly again. +1 on this patch. SAB now properly downloads additional parity files to complete broken downloads. Confirming. Also, newest 0.7.16 seems also affected. +*sabnzbd-0.7.16 (08 Oct 2013) + + 08 Oct 2013; Justin Bronder <jsbronder@gentoo.org> -sabnzbd-0.7.13-r2.ebuild, + -sabnzbd-0.7.14.ebuild, +sabnzbd-0.7.16.ebuild, +files/par2cmdline.patch, + files/sabnzbd.initd, -files/sabnzbd.logrotate: + Version bump and remove old (#484226). Fix initd script thanks to eponymous + (#483786). Remove logrotate (#483672). Fix issues with stable version of + par2cmdline thanks to dcb (#480302). |