[>=3.4.0] Sending notification: Download Failed

Report & discuss bugs found in SABnzbd
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
zion2k
Newbie
Newbie
Posts: 25
Joined: November 12th, 2009, 7:29 am
Location: Germany

[>=3.4.0] Sending notification: Download Failed

Post 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.
User avatar
sander
Release Testers
Release Testers
Posts: 9070
Joined: January 22nd, 2008, 2:22 pm

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

Post by sander »

zion2k
Newbie
Newbie
Posts: 25
Joined: November 12th, 2009, 7:29 am
Location: Germany

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

Post 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.
kylemw
Newbie
Newbie
Posts: 6
Joined: March 7th, 2016, 12:13 pm

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

Post 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
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

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

Post by safihre »

Could you send me an NZB to test that fails? [email protected]
Both of you, any would be great.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

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

Post 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.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
raviyadav
Newbie
Newbie
Posts: 1
Joined: October 1st, 2021, 8:59 am

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

Post by raviyadav »

the sorting string, you only specify the foldername
zion2k
Newbie
Newbie
Posts: 25
Joined: November 12th, 2009, 7:29 am
Location: Germany

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

Post 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>
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

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

Post by safihre »

Ah yes, I don't know if that's supported to collapse all files into the main folder..
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply