Page 1 of 1

certain .NZB gives exception and stays (blocks?) in queue

Posted: October 16th, 2012, 12:23 am
by sander
A strange one:

A certain .NZB gives strange results on SABnzbd: exception errors, and the NZB stays in the queue and blocks further processing of the queue.

NZB generated via http://binsearch.info/?q=Projects.XZ&ma ... 00&server=


Behaviour is a bit different on 0.6 versus 0.7.4:

0.6.x:

Code: Select all

2012-10-16 07:19:42,907::ERROR::[postproc:484] Post Processing Failed for Projects.XZ ()
2012-10-16 07:19:42,907::INFO::[postproc:486] Traceback: 
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/sabnzbd/postproc.py", line 362, in process_job
    if not move_to_path(path, new_path, unique=False):
  File "/usr/share/sabnzbdplus/sabnzbd/decorators.py", line 31, in newFunction
    return f(*args, **kw)
TypeError: move_to_path() got an unexpected keyword argument 'unique'
2012-10-16 07:19:42,922::INFO::[notifier:87] Sending registration to localhost:23053
... and the job arrives as failed in the History.

0.7.4

Code: Select all

2012-10-15 23:48:37,700::INFO::[misc:1311] Cannot remove folder /home/sander/Downloads/incomplete/Projects.XZ/__ADMIN__
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/home/sander/SABnzbd-0.7.4/sabnzbd/decoder.py", line 179, in run
    NzbQueue.do.register_article(article, found)
  File "/home/sander/SABnzbd-0.7.4/sabnzbd/decorators.py", line 31, in newFunction
    return f(*args, **kw)
  File "/home/sander/SABnzbd-0.7.4/sabnzbd/nzbqueue.py", line 736, in register_article
    self.end_job(nzo)
  File "/home/sander/SABnzbd-0.7.4/sabnzbd/nzbqueue.py", line 757, in end_job
    self.send_back(nzo)
  File "/home/sander/SABnzbd-0.7.4/sabnzbd/nzbqueue.py", line 181, in send_back
    nzo_id = ProcessSingleFile(os.path.split(nzb_path)[1], nzb_path, reuse=True)[1][0]
IndexError: list index out of range

2012-10-15 23:48:38,694::INFO::[downloader:643] Thread [email protected]:119: forcing disconnect
... and the job stays in the queue, and blocks other items in the queue.

Re: certain .NZB gives exception and stays (blocks?) in queu

Posted: October 16th, 2012, 1:23 am
by sander
Ah ... the .NZB itself looks ugly:


<segment bytes="12274" number="1">[email protected]</segment>


as the only segment. However, SAB 0.7.4 thinks it's 28 MB ...

Re: certain .NZB gives exception and stays (blocks?) in queu

Posted: October 16th, 2012, 1:03 pm
by shypike
Nothing wrong with the NZB, it's just an NZB that fetches another NZB.
However, something goes wrong when sending the new NZB file to the queue with another name than the original one.

Re: certain .NZB gives exception and stays (blocks?) in queu

Posted: October 18th, 2012, 11:15 pm
by VisualFace
Ok, so how does that get fixed, I can't process anything in my queue now because the status of one nzb is "Fetching extra blocks..." how do i kill that process?

Re: certain .NZB gives exception and stays (blocks?) in queu

Posted: October 19th, 2012, 4:18 pm
by shypike
Stop SABnzbd and remove the stuck job manually from the "incomplete" folder.