Page 1 of 1

Failed - fail_message is set, but status is Completed

Posted: April 12th, 2015, 5:43 pm
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.

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

Posted: April 13th, 2015, 5:13 am
by shypike
I'll check, but Sonarr does get enough info for this type of problems.

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

Posted: April 13th, 2015, 2:42 pm
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

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

Posted: April 17th, 2015, 8:23 pm
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.

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

Posted: April 18th, 2015, 4:17 pm
by shypike
I'll try to get it into release 0.8.0

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

Posted: April 18th, 2015, 9:41 pm
by mastyman
thanks, you rock.

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

Posted: April 19th, 2015, 9:32 am
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.

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

Posted: April 20th, 2015, 2:59 am
by mastyman
great thanks for looking into it.