Seems to not download additional PAR2 when needed

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
awsic
Newbie
Newbie
Posts: 19
Joined: April 8th, 2013, 4:32 pm

Seems to not download additional PAR2 when needed

Post by awsic »

Ubuntu 14.04.3 LTS - trusty
SAB 0.7.20

I download an nzb that needs to have additional PAR2 files downloaded. It doesn't. It runs the sabtoSickBeard.py script and end result is:

Code: Select all

There are no videofiles in folder: <path...>
The unpack result is:
Unpacking failed, these file(s) are missing:
<filename>.mkv
[Bonus] Unpacked 2 files/folders in 0 seconds
The path that contains the downloaded *.rar files has the following:
14 X *.rar
1 X *.par2

If I manually download the additional PAR2 files and repair it manually, the *.mkv file gets built just fine.

For testing I changed the Processing from +Delete to +Unpack.

humm...?
awsic
Newbie
Newbie
Posts: 19
Joined: April 8th, 2013, 4:32 pm

Re: Seems to not download additional PAR2 when needed

Post by awsic »

What I've noticed is if I use SickBeard to download an NZB and pass it to SAB, if I view the contents within SAB as it's downloading, there aren't any PAR2 files in the queue. If I manually import the same NZB and view the contents with the queue for that download, I can see the additional, needed, PAR2 files.

?
awsic
Newbie
Newbie
Posts: 19
Joined: April 8th, 2013, 4:32 pm

Re: Seems to not download additional PAR2 when needed

Post by awsic »

The download just finished from the above example.
After it completed download:
14 X *.rar files
1 X 11kb *.par2
6 X *.volXX+YY.par2 files

it moves the folder and contents from the temporary "incomplete" location to the "completed" folder where normally Sick Beard picks it up, renames it, etc

However, in the completed folder location, now the single 11kb *.par2 file is missing. Somehow it got deleted. (?) The completed folder has:
14 X *.rar files
6 X *.volXX+YY.par2 files

Maybe that's normal?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Seems to not download additional PAR2 when needed

Post by shypike »

I cannot tell with just this info.
Normally SABnzbd would clean up any used par2 file,
but only if the verification/repair was successful.
Left-over par2 files do not belong to the rar/par set.
Are you letting failed downloads proceed to SickBeard?
ALbino
Full Member
Full Member
Posts: 214
Joined: October 23rd, 2014, 12:28 am

Re: Seems to not download additional PAR2 when needed

Post by ALbino »

Is it possible the missing par2 file is for the sample and you have Ignore Samples turned on?
awsic
Newbie
Newbie
Posts: 19
Joined: April 8th, 2013, 4:32 pm

Re: Seems to not download additional PAR2 when needed

Post by awsic »

I was reading the forum last night and one of the admins told the OP to turn off the sample detection because it was kinda hinky at the moment. So I copied suite and also disabled the sample detection.

here is a debug log from the system. Maybe it will show something: https://onedrive.live.com/redir?resid=E ... file%2clog

I am retrieving a show now, manaully (skipping Sick Beard), and setting the processing to "Download" and script = "none". I'll see what happens.

When you say "Are you letting failed downloads proceed to SickBeard?" what exactly do you mean? Which setting is this?

How can I help troubleshoot this? What logs do you need? Settings?
awsic
Newbie
Newbie
Posts: 19
Joined: April 8th, 2013, 4:32 pm

Re: Seems to not download additional PAR2 when needed

Post by awsic »

Here is a log file for just one show start to finish:
https://onedrive.live.com/redir?resid=E ... file%2clog
awsic
Newbie
Newbie
Posts: 19
Joined: April 8th, 2013, 4:32 pm

Re: Seems to not download additional PAR2 when needed

Post by awsic »

In the log files I see:
/usr/bin/par2: error while loading shared libraries: libtbb.so.2: cannot open shared object file: No such file or directory

added libtbb.so.2 to /usr/bin/, tested via downloading a file I've been looking for and so far, it's working. Will test more overnight.
User avatar
sander
Release Testers
Release Testers
Posts: 9113
Joined: January 22nd, 2008, 2:22 pm

Re: Seems to not download additional PAR2 when needed

Post by sander »

awsic wrote:In the log files I see:
/usr/bin/par2: error while loading shared libraries: libtbb.so.2: cannot open shared object file: No such file or directory

added libtbb.so.2 to /usr/bin/, tested via downloading a file I've been looking for and so far, it's working. Will test more overnight.
... to /usr/bin? Why not /usr/lib/? And why not remove & install par2?

On my ubuntu:

Code: Select all

$ ldd /usr/bin/par2
	linux-vdso.so.1 =>  (0x00007ffcbd99e000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3b77b01000)
	libtbb.so.2 => /usr/lib/libtbb.so.2 (0x00007f3b778c7000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3b776b0000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3b772e6000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3b76fde000)
	/lib64/ld-linux-x86-64.so.2 (0x000055993fbe2000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3b76dd9000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f3b76bbb000)

$ dpkg -S  /usr/lib/libtbb.so.2
libtbb2: /usr/lib/libtbb.so.2

awsic
Newbie
Newbie
Posts: 19
Joined: April 8th, 2013, 4:32 pm

Re: Seems to not download additional PAR2 when needed

Post by awsic »

uhh, because I don't know how to do that. ;D
awsic
Newbie
Newbie
Posts: 19
Joined: April 8th, 2013, 4:32 pm

Re: Seems to not download additional PAR2 when needed

Post by awsic »

here are my outputs:

Code: Select all

xbmc@dlserver:~$ ldd /usr/local/bin/par2
        linux-vdso.so.1 =>  (0x00007ffdd29dc000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f353c4e7000)
        libtbb.so.2 => /usr/local/bin/libtbb.so.2 (0x00007f353c2ad000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f353bfa7000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f353bd91000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f353b9cc000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f353b7ae000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f353c7eb000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f353b5aa000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f353b3a2000)
xbmc@dlserver:~$ dpkg -S  /usr/local/bin/libtbb.so.2
dpkg-query: no path found matching pattern /usr/local/bin/libtbb.so.2
Post Reply