Full queue (500+ items) gone. Log shows exception.

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
Effenberg0x0
Newbie
Newbie
Posts: 42
Joined: January 24th, 2011, 1:26 pm

Full queue (500+ items) gone. Log shows exception.

Post by Effenberg0x0 »

$tail -30 logs/*error*.log

Code: Select all

File "/usr/share/sabnzbdplus/sabnzbd/newsunpack.py", line 1040, in build_command
    command.insert(0, arg)
AttributeError: 'str' object has no attribute 'insert'

/usr/share/sabnzbdplus/sabnzbd/utils/ssmtplib.py:116: DeprecationWarning: socket.ssl() is deprecated.  Use ssl.wrap_socket() instead.
  sslobj = socket.ssl(self.sock, self.keyfile, self.certfile)
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/share/sabnzbdplus/sabnzbd/postproc.py", line 183, in run
    if self.queue.empty(): HandleEmptyQueue()
  File "/usr/share/sabnzbdplus/sabnzbd/postproc.py", line 576, in HandleEmptyQueue
    sabnzbd.QUEUECOMPLETEACTION(sabnzbd.QUEUECOMPLETEARG)
  File "/usr/share/sabnzbdplus/sabnzbd/__init__.py", line 596, in run_script
    stup, need_shell, command, creationflags = sabnzbd.newsunpack.build_command(command)
  File "/usr/share/sabnzbdplus/sabnzbd/newsunpack.py", line 1040, in build_command
    command.insert(0, arg)
Any tips? I'm trying to understand how to find my queue and recover it.

Thanks.
User avatar
jcfp
Release Testers
Release Testers
Posts: 1032
Joined: February 7th, 2008, 12:45 pm

Re: Full queue (500+ items) gone. Log shows exception.

Post by jcfp »

The traceback is a known bug, see topic 5909. Don't know if that would cause loss of a queue.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Full queue (500+ items) gone. Log shows exception.

Post by shypike »

This error can only occur when the end-of-queue script is run.
So there's no queue to look for, it should be empty.
Effenberg0x0
Newbie
Newbie
Posts: 42
Joined: January 24th, 2011, 1:26 pm

Re: Full queue (500+ items) gone. Log shows exception.

Post by Effenberg0x0 »

Thank you guys. I read the other topic, but not sure I understand it.
I was in the middle of the queue. There were still many download to go and 2 ongoing. Suddenly it all disappeared.
Effenberg0x0
Newbie
Newbie
Posts: 42
Joined: January 24th, 2011, 1:26 pm

Re: Full queue (500+ items) gone. Log shows exception.

Post by Effenberg0x0 »

Coincidence or not (probably not). My HDD failed miserably a couple hours later. I guess it probably already was junk data unpredictably, which had caused the disappearing queue.
Post Reply