Page 1 of 1

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

Posted: February 2nd, 2011, 12:32 pm
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.

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

Posted: February 2nd, 2011, 12:42 pm
by jcfp
The traceback is a known bug, see topic 5909. Don't know if that would cause loss of a queue.

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

Posted: February 2nd, 2011, 1:02 pm
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.

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

Posted: February 2nd, 2011, 6:49 pm
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.

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

Posted: February 2nd, 2011, 10:12 pm
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.