Page 1 of 1

False postprocessing error

Posted: April 18th, 2011, 11:49 pm
by krackt
Since upgrading from 0.5.6 to 0.6.0 RC2 the following happens. (Note: My default action is repair only. No unpack or delete.)

Job in queue is selected to run postprocessing shutdown pc python script.

Download and repair are successfully completed. Job is successfully moved from incomplete to complete folder. __ADMIN__ folder remains in incomplete folder.

Shutdown script runs successfully.

When pc is restarted, a "failed job" email is sent.

Message in gui: "Download failed - Out of your servers retention?"

__ADMIN__ folder still remains in incomplete folder.

Can anyone help me understand why this is occurring? This never happened in 0.5.6

shutdown script syntax:

Code: Select all

#!/usr/bin/python
import os
command = "sudo shutdown -h 2"
os.system(command)

Re: False postprocessing error

Posted: April 19th, 2011, 7:52 pm
by shypike
Shutting down the system like this, may not give SABnzbd the opportunity to save its administration to disk.
So the next time you start there are some left-overs.
I'll check.