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

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
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

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

Post 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.
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

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

Post 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 ...
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post 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.
VisualFace
Newbie
Newbie
Posts: 3
Joined: August 8th, 2010, 11:07 pm

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

Post 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?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post by shypike »

Stop SABnzbd and remove the stuck job manually from the "incomplete" folder.
Post Reply