Page 1 of 1

[>=3.4.0] Sending notification: Download Failed

Posted: September 25th, 2021, 3:06 pm
by zion2k
Hello,

I noticed a strange behavior since version 3.4.
I use tv sorting and since the update to 3.4.0, i get a download failed msg after every dl.
I did some tests on a vm...

3.3.1: sabnzbd creates the sorting path TV/<series>/Season 01/<series>.S01E01/<files>
3.4.0: sabnzbd creates the sorting path TV/<series>/Season 01/<series>.S01E01/<series>.S01E01/<files>+ two PAR2 files

Version 3.3.1
- No DL failed notification
- No duplicate subdir for the episode (/<series>.S01E01/<series>.S01E01/)
- No left over PAR2 files

Version >=3.4.0
- DL failed notification
- duplicate subdir for the episode (/<series>.S01E01/<series>.S01E01/)
- left over PAR2 files

If I don't use the tv sorting on version >=3.4.0
- No DL failed notification
- No duplicate subdir for the episode (/<series>.S01E01/<series>.S01E01/)
- left over PAR2 files

Generated log files:
SABnzbd.py-3.3.1__sabnzbd.log
SABnzbd.py-3.4.0__sabnzbd.log
SABnzbd.py-3.4.1__sabnzbd.log
SABnzbd.py-3.4.1_no_tv_sorting__sabnzbd.log

I hope they help... I could not really find an error, but I also have no clue of programming.

Re: [>=3.4.0] Sending notification: Download Failed

Posted: September 26th, 2021, 1:43 am
by sander

Re: [>=3.4.0] Sending notification: Download Failed

Posted: September 26th, 2021, 4:22 am
by zion2k
I am not sure. I think the PAR2 files don't get deleted, as SABnzbd is also unable to remove the duplicate subdir of the episode.
When I download newer files I don't have the PAR2 files. I think it downloads them because the sample NZB is over 500 days old and then it was not able to delete them.
But I'm not sure why. The directories are 777, the files 666 and the download dir is in the home dir of the user which is running SABnzbd.
For me the more annoying error is the thing with the duplicate episode dir, because I have to move the files manually one dir up and delete the duplicate dir.

EDIT: In the VM I left the dir and file permission to default 755 and 644. On my main system I tried 777/666, but there is no difference, as everything is in the home dir of the user.

Re: [>=3.4.0] Sending notification: Download Failed

Posted: September 30th, 2021, 11:13 am
by kylemw
I too use tv sort and while I've not been getting the errors noted by zion2K I have come across the following:

I use tv_sort: %sn/Season %s/%s.N.S%0sE%0e.%e.n.%ext

which results in:

Show Name/Season 3/Show Name.S03E05.1080p.WEB.H264.mkv (if the actual episode name is not present)

unitl version 3.4.0 where the result is:

Show Name/Season 3/Show Name.S03E05..mkv

The Episode Name parameter (%e.n) is empty resulting in the double dot before the extension. Trying to change the tv_sort parameters resulted in the failures noted by zion2k above.

Hope this helps

Kyle

Re: [>=3.4.0] Sending notification: Download Failed

Posted: October 1st, 2021, 4:59 am
by safihre
Could you send me an NZB to test that fails? [email protected]
Both of you, any would be great.

Re: [>=3.4.0] Sending notification: Download Failed

Posted: October 1st, 2021, 8:30 am
by safihre
I could reproduce your problems @zion2k:
The problem is that you don't include the actual filename in the sorting string, you only specify the foldername and never %ext.
Which is interesting that this worked before 3.4.0. Will investigate what we can do about this.
I also see that the failure of the sorting is indeed not properly shown in the interface, I will correct that.

Re: [>=3.4.0] Sending notification: Download Failed

Posted: October 1st, 2021, 9:03 am
by raviyadav
the sorting string, you only specify the foldername

Re: [>=3.4.0] Sending notification: Download Failed

Posted: October 2nd, 2021, 5:11 am
by zion2k
Ahhh Ok, so instead of
%sn/Season %0s/%dn
I should better use
%sn/Season %0s/%dn/%fn.%ext
to get the same result?

@safihre: Do you still need the nzb file?


Edit: I tested the "new" settings and both sort string from above don't produce the same output. I am still on version 3.3.1.
If I use the sort string without defining filename and extension I get the subfolders. When I define the filename and extension all files will be moved to the %dn folder.

Code: Select all

Series Name
    └── Season 01
        └── Series.Name.S01E01.bla.bla.bla-BLUB
            ├── blub.series.name.s01e01-720-eng.idx
            ├── blub.series.name.s01e01-720-eng.sub
            ├── blub.series.name.s01e01-720.mkv
            └── blub.series.name.s01e01-720.nfo
vs.

Code: Select all

Series Name
    └── Season 01
        └── Series.Name.S01E01.bla.bla.bla-BLUB
            ├── Subs
            │   ├── blub.series.name.s01e01-720-eng.idx
            │   └── blub.series.name.s01e01-720-eng.sub
            ├── blub.series.name.s01e01-720.mkv
            └── blub.series.name.s01e01-720.nfo
What I try is to get is /TV/Series Name/Season 01/<rls or job name>/<all files and structure from the archive>

Re: [>=3.4.0] Sending notification: Download Failed

Posted: October 3rd, 2021, 1:47 am
by safihre
Ah yes, I don't know if that's supported to collapse all files into the main folder..