Page 1 of 1
Seems to not download additional PAR2 when needed
Posted: September 12th, 2015, 5:14 pm
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...?
Re: Seems to not download additional PAR2 when needed
Posted: September 12th, 2015, 6:58 pm
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.
?
Re: Seems to not download additional PAR2 when needed
Posted: September 12th, 2015, 7:22 pm
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?
Re: Seems to not download additional PAR2 when needed
Posted: September 13th, 2015, 1:25 pm
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?
Re: Seems to not download additional PAR2 when needed
Posted: September 13th, 2015, 4:56 pm
by ALbino
Is it possible the missing par2 file is for the sample and you have Ignore Samples turned on?
Re: Seems to not download additional PAR2 when needed
Posted: September 13th, 2015, 7:25 pm
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?
Re: Seems to not download additional PAR2 when needed
Posted: September 13th, 2015, 8:36 pm
by awsic
Here is a log file for just one show start to finish:
https://onedrive.live.com/redir?resid=E ... file%2clog
Re: Seems to not download additional PAR2 when needed
Posted: September 14th, 2015, 12:42 am
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.
Re: Seems to not download additional PAR2 when needed
Posted: September 14th, 2015, 1:53 am
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
Re: Seems to not download additional PAR2 when needed
Posted: September 15th, 2015, 11:28 pm
by awsic
uhh, because I don't know how to do that.
Re: Seems to not download additional PAR2 when needed
Posted: September 21st, 2015, 11:56 pm
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