Direct Unpack Not Working "Aborting DirectUnpack for None"

Get help with all aspects of 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
PiERiT
Newbie
Newbie
Posts: 36
Joined: July 28th, 2010, 2:53 am

Direct Unpack Not Working "Aborting DirectUnpack for None"

Post by PiERiT »

Not sure when but Direct Unpack stopped working at some point in my install of SABnzbd (2.3.2). I went back about 20 history pages and none of them say they were Direct Unpacked. I confirmed the setting is enabled and my temp drive is an SSD with write speeds well over the requirement.

Not a whole lot in the log but this appears for each download:

INFO::[directunpacker:372] Aborting DirectUnpack for None

Edit: Updated to 2.3.3, same problem. I then downgraded to 2.3.0 and it works again. So I'll stick with that for now.

Edit2: This ended up being due to my indexer inserting a single fake article into NZBs for tracking purposes. Safihre was very helpful and helped me to setup the developer version of SAB and remove the missing article check in the direct unpack function to get it working in my scenario.
Last edited by PiERiT on May 5th, 2018, 2:20 pm, edited 3 times in total.
User avatar
safihre
Administrator
Administrator
Posts: 5362
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Direct Unpack Not Working "Aborting DirectUnpack for None"

Post by safihre »

You shouldn't be on 2.3.0, it has a number of bugs.

Maybe you can enable +Debug logging (on 2.3.3) in the Status and Interface settings window and then download something again that should Direct Unpack. Then send me the log (click Show Logging) at [email protected]
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
PiERiT
Newbie
Newbie
Posts: 36
Joined: July 28th, 2010, 2:53 am

Re: Direct Unpack Not Working "Aborting DirectUnpack for None"

Post by PiERiT »

Sure, I will do that later today.
PiERiT
Newbie
Newbie
Posts: 36
Joined: July 28th, 2010, 2:53 am

Re: Direct Unpack Not Working "Aborting DirectUnpack for None"

Post by PiERiT »

Sent. Thank you.
User avatar
safihre
Administrator
Administrator
Posts: 5362
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Direct Unpack Not Working "Aborting DirectUnpack for None"

Post by safihre »

In this case the problem was:

Code: Select all

2018-04-23 18:52:22,948::DEBUG::[nzbstuff:1435] Download Quality: bad-articles=1
When we detect missing articles, we don't start Direct Unpack since we can be 99% sure it will fail.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
PiERiT
Newbie
Newbie
Posts: 36
Joined: July 28th, 2010, 2:53 am

Re: Direct Unpack Not Working "Aborting DirectUnpack for None"

Post by PiERiT »

Is that a change since 2.3.0? That same download direct unpacked in that version. 99% of my downloads direct unpack on 2.3.0, whereas 0% do on 2.3.2 and later.

I noted in the History tab that every download states "1 articles was missing", regardless of version.
User avatar
safihre
Administrator
Administrator
Posts: 5362
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Direct Unpack Not Working "Aborting DirectUnpack for None"

Post by safihre »

Maybe you can send me some example NZBs?
It's a bit strange, should only Abort after 5 bad articles.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
PiERiT
Newbie
Newbie
Posts: 36
Joined: July 28th, 2010, 2:53 am

Re: Direct Unpack Not Working "Aborting DirectUnpack for None"

Post by PiERiT »

I will send you the one I've been testing with. It always direct unpacks in 2.3.0 and never does in 2.3.3.

Thanks for the help. Very strange indeed.
bobffs2
Newbie
Newbie
Posts: 3
Joined: June 2nd, 2018, 11:13 pm

Re: Direct Unpack Not Working "Aborting DirectUnpack for None"

Post by bobffs2 »

I have the same issue too with my indexer injecting a single fake article that causes direct unpack not to start. Can you tell me how to remove the missing article check? Thanks!
User avatar
safihre
Administrator
Administrator
Posts: 5362
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Direct Unpack Not Working "Aborting DirectUnpack for None"

Post by safihre »

What OS are you on?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
bobffs2
Newbie
Newbie
Posts: 3
Joined: June 2nd, 2018, 11:13 pm

Re: Direct Unpack Not Working "Aborting DirectUnpack for None"

Post by bobffs2 »

Windows 10 64-bit
PiERiT
Newbie
Newbie
Posts: 36
Joined: July 28th, 2010, 2:53 am

Re: Direct Unpack Not Working "Aborting DirectUnpack for None"

Post by PiERiT »

bobffs2 wrote: June 2nd, 2018, 11:18 pm I have the same issue too with my indexer injecting a single fake article that causes direct unpack not to start. Can you tell me how to remove the missing article check? Thanks!
Start with this: https://sabnzbd.org/wiki/installation/i ... ce-windows

The rest of this isn't exact, but when that's done, go to %userprofile%\sabnzbd (or wherever you installed to), then another folder called sabnzbd, then edit the directunpacker.py file. I don't have the original file anymore, so I don't recall precisely what it said, but in the check_requirements section, there's something like 'self.nzo.missing.articles' that you want to remove whilst leaving the other checks. So my line now reads:

if not cfg.direct_unpack() or self.killed or not self.nzo.unpack or sabnzbd.newsunpack.RAR_PROBLEM:

After that edit, save the file and compile it -- from command prompt run 'python %userprofile%\sabnzbd\sabnzbd\directunpacker.py'.

Hope that helps.
bobffs2
Newbie
Newbie
Posts: 3
Joined: June 2nd, 2018, 11:13 pm

Re: Direct Unpack Not Working "Aborting DirectUnpack for None"

Post by bobffs2 »

Thank you, that worked!
Post Reply