Failed - fail_message is set, but status is Completed

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
mastyman
Jr. Member
Jr. Member
Posts: 57
Joined: February 27th, 2012, 9:57 pm

Failed - fail_message is set, but status is Completed

Post by mastyman »

On some (less common) failed downloads in SAB, where you get messages such as

"unpacking failed, an expected file was not unpacked"
"unpacked failed" unable to find 'examplefilename'.rar"

For example when Sonarr query's this, they get a fail_message is set, but status is "Completed" reply, so Sonarr wont deal with it as its Completed. On most other failures it doesn't come back as Completed, how come for these ones? is it by design?

thanks.
Last edited by mastyman on April 13th, 2015, 2:40 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Failed - fail_message is set, but status is Completed

Post by shypike »

I'll check, but Sonarr does get enough info for this type of problems.
mastyman
Jr. Member
Jr. Member
Posts: 57
Joined: February 27th, 2012, 9:57 pm

Re: Failed - fail_message is set, but status is Completed

Post by mastyman »

thanks for looking into it,

FYI i had already logged this with sonarr devs hoping they had enough to work around it, before posting here, but they would prefer it was fixed on sabnzbd side
mastyman
Jr. Member
Jr. Member
Posts: 57
Joined: February 27th, 2012, 9:57 pm

Re: Failed - fail_message is set, but status is Completed

Post by mastyman »

hi.. did you have a chance to a look at this? is it something that should be fixed on the sab side or should i keep harassing the sonarr devs to support this alternative type of failure? cheers.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Failed - fail_message is set, but status is Completed

Post by shypike »

I'll try to get it into release 0.8.0
mastyman
Jr. Member
Jr. Member
Posts: 57
Joined: February 27th, 2012, 9:57 pm

Re: Failed - fail_message is set, but status is Completed

Post by mastyman »

thanks, you rock.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Failed - fail_message is set, but status is Completed

Post by shypike »

Fixed in the source for 0.8.0.
It was definitely a bug.
Because SABnzbd does multiple unpack runs, the second (result-less) unpack
masks the fact that the first one failed.

You can avoid the problem by disabling Config->Special->enable_recursive.
This will disable recursive unpacking, which is rarely needed.
mastyman
Jr. Member
Jr. Member
Posts: 57
Joined: February 27th, 2012, 9:57 pm

Re: Failed - fail_message is set, but status is Completed

Post by mastyman »

great thanks for looking into it.
Post Reply