Page 1 of 1

Post Processing Fails every time

Posted: August 12th, 2011, 6:50 pm
by anarche
I recently had a power outage and after rebooting my Ubuntu server and running sabnzbd, all of my post processing is failing. Tonight I updated sab to the newest version and restarted and I'm still having the same problem. Here is the most recent one done less than an hour ago. I was able to manually use Quickpar and Winrar to extract the file without issue.

Currently the post processing path is empty, which as far as I can remember it always has been. I did temporarily use Sickbeard for post processing, but I stopped quite a while ago. If anyone could shed some light on this I would greatly appreciate it.

~AnarchE

2011-08-12 18:55:18,489::ERROR::[postproc:444] Post Processing Legal Movie 2010 DVDRiP XviD UNVEiL ()
2011-08-12 18:55:18,490::INFO::[postproc:446] Traceback:
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/sabnzbd/postproc.py", line 409, in process_job
nzo.unpack_info, script, TRANS(script_log), script_ret)
File "/usr/share/sabnzbdplus/sabnzbd/emailer.py", line 208, in endjob
return send_with_template('email', parm)
File "/usr/share/sabnzbdplus/sabnzbd/emailer.py", line 184, in send_with_template
return ret
UnboundLocalError: local variable 'ret' referenced before assignment
2011-08-12 18:55:18,542::INFO::[postproc:473] Cleaning up Legal Movie 2010 DVDRiP XviD UNVEiL (keep_basic=True)

Re: Post Processing Fails every time

Posted: August 13th, 2011, 1:38 am
by shypike
Which SABnzbd version are you using?
Did you run a disk check?

Re: Post Processing Fails every time

Posted: August 13th, 2011, 8:18 am
by anarche
0.6.8 and yes I did.

Do you need any further logs or info to help diagnose the issue?

Re: Post Processing Fails every time

Posted: August 13th, 2011, 8:59 am
by anarche
Also based on another post by you in a previous users thread based on Post Processing errors, I chmod +x'd everything in /usr/share/sabnzbdplus/sabnzbd/

Re: Post Processing Fails every time

Posted: August 13th, 2011, 9:52 am
by shypike
There's an error in the emailer.py module.
However, this error can only occur when you forgot to set a recipient for the email in Config->Email.

Re: Post Processing Fails every time

Posted: August 13th, 2011, 9:58 am
by anarche
All of my email settings are blank (I've never used that feature).

Would you like a copy of my .ini?

Re: Post Processing Fails every time

Posted: August 13th, 2011, 10:13 am
by anarche
Somehow the "Email Notification On Job Completion" got changed from Never to Always. I turned it to Never, restarted Sab and everything seems to be working good now.

Thanks for the pointing me in the right direction shypike, I greatly appreciate it.

I'm still having the crc issues we emailed about last month (never got back to you because I went on vacation and I'm still catching up). I'll create a new thread for that when I have a bit more time.

~AnarchE

Re: Post Processing Fails every time

Posted: August 13th, 2011, 10:16 am
by shypike
anarche wrote:All of my email settings are blank (I've never used that feature).
That would be another bug, I'll check for that too.