Page 1 of 1

Index out of range failure, NZB [sabnzbd\nzbstuff.py]

Posted: May 28th, 2020, 10:31 am
by spec119
Platform Windows 10 running Beta1
So I'm unseeing Beta v 3.00 as it is the only version that handles the deobfrustcate py and since Yesterday running perfectly so I upgraded to new beta1 version and since then have had numerous errors as below

out of range error message I'm not allowed to copy the text as it says new users can't display links although it's not a link so how am I supposed to assist with beta help

This is the result on numerous nzb's from different sources but they load fine on other nzb down-loaders would appreciate any help

Re: Index out of range failure

Posted: May 28th, 2020, 8:37 pm
by sander
can you post the errors / log on pastebin, and post the pastebin url here (with space in it)

Re: Index out of range failure

Posted: May 29th, 2020, 5:58 am
by spec119
Hi sander thanks for your reply I did a fresh install today and still getting the same errors btw been using Sabnzb since over 7 Years

pastebin dot com dwaCLmzP


Invalid NZB file *** 265 {{ skipping (reason=list index out of range, line=1

Re: Index out of range failure

Posted: May 29th, 2020, 6:08 am
by safihre
Interesting! Can you send me the NZB's at safihre@sabnzbd.org?
How do you send these NZB's to SABnzbd? Manually or through Sonarr/Radarr/etc

Re: Index out of range failure

Posted: May 29th, 2020, 6:15 am
by spec119
manually always but I first thought it was a problem with the download but then I was getting the same issue with stuff from other sources will send now btw it downloads OK on other platforms but I prefer sab when it works :-)

Re: Index out of range failure

Posted: May 29th, 2020, 6:17 am
by sander
So http://pastebin.com/raw/dwaCLmzP

Nice info.

Code: Select all

2020-05-29 11:33:23,555::INFO::[nzbstuff:610] Traceback: 
Traceback (most recent call last):
  File "sabnzbd\nzbstuff.py", line 606, in __init__
  File "sabnzbd\nzbparser.py", line 123, in nzbfile_parser
  File "sabnzbd\nzbstuff.py", line 415, in __eq__
IndexError: list index out of range
The code:

Code: Select all

    def __eq__(self, other):
        """ Assume it's the same file if the bytes and first article are the same """
        return self.bytes == other.bytes and self.decodetable[0] == other.decodetable[0]
So ... self.decodetable[0] and/or other.decodetable[0] don't exist.

I'm curious about the NZB (there must be someting strange in the NZB itself), but I guess Safihre will analyze it.

Re: Index out of range failure, NZB [sabnzbd\nzbstuff.py]

Posted: May 29th, 2020, 6:22 am
by spec119
Going to try on another machine

Re: Index out of range failure, NZB [sabnzbd\nzbstuff.py]

Posted: May 29th, 2020, 6:24 am
by sander
spec119 wrote: May 29th, 2020, 6:22 am Going to try on another machine
Probably the same result with the same SAB and the same NZB.

Re: Index out of range failure, NZB [sabnzbd\nzbstuff.py]

Posted: May 29th, 2020, 6:25 am
by safihre
Received the NZB.
There's indeed a bug.
I will fix it!

Re: Index out of range failure, NZB [sabnzbd\nzbstuff.py]

Posted: May 29th, 2020, 6:40 am
by spec119
very annoyingly it works fine on my other PC same OS it is running the the v3 alpha 2 going to update to beta 1 as this is where it started having issues

LOL you beat me to it as it started the same issue thanks for confirming will await the fix :-)