Post Processing Fails every time

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
anarche
Newbie
Newbie
Posts: 28
Joined: July 10th, 2011, 4:05 pm

Post Processing Fails every time

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

Re: Post Processing Fails every time

Post by shypike »

Which SABnzbd version are you using?
Did you run a disk check?
anarche
Newbie
Newbie
Posts: 28
Joined: July 10th, 2011, 4:05 pm

Re: Post Processing Fails every time

Post by anarche »

0.6.8 and yes I did.

Do you need any further logs or info to help diagnose the issue?
anarche
Newbie
Newbie
Posts: 28
Joined: July 10th, 2011, 4:05 pm

Re: Post Processing Fails every time

Post 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/
Last edited by anarche on August 13th, 2011, 9:59 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Post Processing Fails every time

Post 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.
anarche
Newbie
Newbie
Posts: 28
Joined: July 10th, 2011, 4:05 pm

Re: Post Processing Fails every time

Post by anarche »

All of my email settings are blank (I've never used that feature).

Would you like a copy of my .ini?
anarche
Newbie
Newbie
Posts: 28
Joined: July 10th, 2011, 4:05 pm

Re: Post Processing Fails every time

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

Re: Post Processing Fails every time

Post 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.
Post Reply