Post proceessing aborted with sickbeard

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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
Dileas
Newbie
Newbie
Posts: 12
Joined: January 5th, 2010, 12:23 pm

Post proceessing aborted with sickbeard

Post by Dileas »

I am finding that since the upgrade to 0.6 Beta2 that I get the error message below with all files being downloaded from sickbeard

PostProcessing was aborted (see logfile)

When I access the directory all the files are there and I can manually extract the program with no issue.  I have not made any changes to my system and had no issue before with 0.5.6

Not sure if this is a help with diagnosis, but this is the error message in the log file

2011-03-02 04:47:18,123::ERROR::[postproc:405] Post Processing Failed for downloaded file xxx ()
2011-03-02 04:47:18,124::INFO::[postproc:407] Traceback:
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/sabnzbd/postproc.py", line 260, in process_job
    if not os.path.exists(workdir_complete):
  File "/usr/lib/python2.6/genericpath.py", line 18, in exists
    st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found

My operating system is Ubuntu 10.10

Other downloads seem to work ok

Thanks

dileas
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Post proceessing aborted with sickbeard

Post by shypike »

I would say that SickBeards sends strange paths to SABnzbd.
I would need a more complete debug log file to say more about this.
Dileas
Newbie
Newbie
Posts: 12
Joined: January 5th, 2010, 12:23 pm

Re: Post proceessing aborted with sickbeard

Post by Dileas »

Hi

I have copied more of the log file and hope that it helps

Thanks


2011-03-02 08:57:40,920::INFO::[assembler:83] Decoding /home/dileas/downloads/incomplete/download file-IMMERSE/download file-immerse.r22 yenc
2011-03-02 08:57:40,922::INFO::[__init__:812] /home/dileas/downloads/incomplete/download file-IMMERSE/__ADMIN__/SABnzbd_nzo_XluFIi removed
2011-03-02 08:57:40,922::INFO::[nzbqueue:166] Saving queue
2011-03-02 08:57:40,923::INFO::[__init__:823] Saving data for queue9.sab in /home/dileas/.sabnzbd/admin/queue9.sab
2011-03-02 08:57:41,722::INFO::[postproc:83] Saving postproc queue
2011-03-02 08:57:41,722::INFO::[__init__:823] Saving data for postproc1.sab in /home/dileas/.sabnzbd/admin/postproc1.sab
2011-03-02 08:57:41,724::INFO::[postproc:230] Starting PostProcessing on download file-IMMERSE => Repair:True, Unpack:True, Delete:True, Script:sabToSickBeard.py
2011-03-02 08:57:41,724::INFO::[postproc:461] Par2 check starting on download file-IMMERSE
2011-03-02 08:57:41,725::INFO::[postproc:476] Running repair on set download file-immerse
2011-03-02 08:57:41,733::INFO::[newsunpack:731] Quick-check for download file-immerse is OK, skipping repair
2011-03-02 08:57:41,733::INFO::[newsunpack:788] Deleting /home/dileas/downloads/incomplete/download file-IMMERSE/download file-immerse.par2
2011-03-02 08:57:41,734::INFO::[newsunpack:802] Deleting /home/dileas/downloads/incomplete/download file-IMMERSE/download file-immerse.vol00+01.par2
2011-03-02 08:57:41,735::INFO::[postproc:491] Par2 check finished on download file-IMMERSE
2011-03-02 08:57:41,735::INFO::[misc:979] Creating directories: /media/New Volume/TV/download file-IMMERSE
2011-03-02 08:57:41,735::ERROR::[misc:981] Failed making (/media/New Volume/TV/download file-IMMERSE)
2011-03-02 08:57:41,735::INFO::[misc:982] Traceback:
None
2011-03-02 08:57:41,736::ERROR::[postproc:405] Post Processing Failed for download file-IMMERSE ()
2011-03-02 08:57:41,736::INFO::[postproc:407] Traceback:
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/sabnzbd/postproc.py", line 260, in process_job
    if not os.path.exists(workdir_complete):
  File "/usr/lib/python2.6/genericpath.py", line 18, in exists
    st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
2011-03-02 08:57:41,922::INFO::[postproc:434] Cleaning up download file-IMMERSE (keep_basic=True)
2011-03-02 08:57:41,924::INFO::[postproc:83] Saving postproc queue
2011-03-02 08:57:41,924::INFO::[__init__:823] Saving data for postproc1.sab in /home/dileas/.sabnzbd/admin/postproc1.sab
2011-03-02 08:57:41,925::INFO::[downloader:225] Post-processing finished
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Post proceessing aborted with sickbeard

Post by shypike »

The interesting bit is this:
ERROR::[misc:981] Failed making (/media/New Volume/TV/download file-IMMERSE)
(Forget the brackets)

Is this this a correct and expected path?
Can it be created?
Dileas
Newbie
Newbie
Posts: 12
Joined: January 5th, 2010, 12:23 pm

Re: Post proceessing aborted with sickbeard

Post by Dileas »

I do have a directory called  /media/New Volume/TV  and in that directory i have all the sickbeard sub directories with the TV shows

I have just used sickbeard to rename some of the shows and that all worked ok, so I think the directories are ok

I have not made an changes to any SABnzbd+ switches or paths other than follwing the advice in the known issues sticky


Thanks

D
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Post proceessing aborted with sickbeard

Post by shypike »

The problem really is that the folder cannot be created.
However, the error recovery code is rather clumsy.
Is the volume not mounted?
The reason I ask is that I now see some dubious reasoning in the code
that checks whether a volume is really mounted.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Post proceessing aborted with sickbeard

Post by shypike »

BTW: on Linux, SABnzbd assumes that externals are mounted on /mnt and not on /media.
What kind of system do you use?
Dileas
Newbie
Newbie
Posts: 12
Joined: January 5th, 2010, 12:23 pm

Re: Post proceessing aborted with sickbeard

Post by Dileas »

I can confirm that the drive is mounted ok

Not an expert in unix (far from it)  and have just followed the defaults in any ubuntu installation scripts

The drive is foermatted in Ext4 (version 1.0)

I can confirm that all worked fine prior to the update.  I can also confirm that when I add nzb directly the downloads are fine, although it is saved in the default sabnzbd folders as I have not tried changing from the defualts for anything else

Regards

D
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Post proceessing aborted with sickbeard

Post by shypike »

It looks more like your SickBeard sends a category along, making the job land in a different path
than a manual opload.
What happens if you enter a NZB manually and set the same category as SickBeard does?
Dileas
Newbie
Newbie
Posts: 12
Joined: January 5th, 2010, 12:23 pm

Re: Post proceessing aborted with sickbeard

Post by Dileas »

Tried a manual download but still get the same post processing error when I set the same category as sickbeard

D
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Post proceessing aborted with sickbeard

Post by shypike »

So the question is does the path that you setup in the category make sense?
Please try to create a full debug log of a failing job
and email it together with the NZB to bugs at sabnzbd.org (with a reference to this message).
Dileas
Newbie
Newbie
Posts: 12
Joined: January 5th, 2010, 12:23 pm

Re: Post proceessing aborted with sickbeard

Post by Dileas »

Ok will have a go and send it to you

Thanks for looking

D
User avatar
rascalli
Moderator
Moderator
Posts: 656
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Re: Post proceessing aborted with sickbeard

Post by rascalli »

A little hint, please do not set sabnzbd+ COMPLETE folder to the same folder as where SB sends it to after post-processing.
Best is to have the renaming / moving part done by SB.

So set the sabtosickbeard script for the category that has your SB downloads (normally that is tv)
Also please check the permissions on :  /media/New Volume/TV
Post Reply