Page 1 of 2

PostProcessing Crashed, see logfile for RSS download with category

Posted: February 25th, 2010, 5:57 pm
by gizzard
Version: 0.5
OS: Windows server 2003 sp2
Install-type: Windows Installer
Skin : Default
Firewall Software: None
Are you using IPV6? No
Is the issue reproducible? yes


This is the same BUG as here.
http://forums.sabnzbd.org/index.php?topic=3626.0


I found out that sabnzbd 0.5 dose not like special chars in the path when dowloading with a category. Like ö/æ/í
This worked fine in the previus stable release.


The error
2010-02-22 00:58:16,312::DEBUG::[postproc:437] Traceback:
Traceback (most recent call last):
  File "sabnzbd\postproc.pyo", line 296, in run
  File "ntpath.pyo", line 102, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xfe in position 17: ordinal not in range(128)


When the path has no special chars then it works like a charm.

Re: PostProcessing Crashed, see logfile for RSS download with category

Posted: February 25th, 2010, 6:15 pm
by shypike
Are the special characters in the NZB filename or in the category path that you set?

Re: PostProcessing Crashed, see logfile for RSS download with category

Posted: February 26th, 2010, 2:39 pm
by SirMaggot
Hiya. I have 2 feeds. The first works fine because it doesnt have any special characters, but the second feed has ä in the path and doesnt work.

The second feed download the files, but crashes when postprocessing.

Re: PostProcessing Crashed, see logfile for RSS download with category

Posted: February 26th, 2010, 6:20 pm
by shypike
Can  you email the feed URL, your filters and the failing NZB?
To bugs at sabnzbd.org, please include a reference to this thread.
Which OS are you using?

Re: PostProcessing Crashed, see logfile for RSS download with category

Posted: February 28th, 2010, 7:47 pm
by chriscc
I got the exact same issue since i upgraded to 0.5.

the error in logs is : ERROR::[postproc:434] Post Processing Failed for XXXXXXXXXX

Name of the folder of the categories are :
D:\shares\Vidéos
D:\shares\tv enregistrée

both have a é character that cannot be change in windows home server (FR)

i didn't have this error with 0.4.X

Re: PostProcessing Crashed, see logfile for RSS download with category

Posted: March 1st, 2010, 3:29 am
by shypike
chriscc wrote: Name of the folder of the categories are :
D:\shares\Vidéos
D:\shares\tv enregistrée

both have a é character that cannot be change in windows home server (FR)

i didn't have this error with 0.4.X
This is a different (and more serious) problem that the original one in this thread.
I'll look into it.

I assume these are the standard share names of WHS in French?
Does SABnzbd run on the WHS or on a PC that has these drives mounted?
In the latter case, you can use a temporary work-around:
Assuming S: is a free drive letter, open a command prompt and enter:

Code: Select all

subst s: D:\shares\Vidéos
Then tell SABnzbd to use the S:\ drive instead of D:\shares\Vidéos

Re: PostProcessing Crashed, see logfile for RSS download with category

Posted: March 1st, 2010, 4:15 pm
by shypike
chriscc wrote: I got the exact same issue since i upgraded to 0.5.
the error in logs is : ERROR::[postproc:434] Post Processing Failed for XXXXXXXXXX
Name of the folder of the categories are :
D:\shares\Vidéos
D:\shares\tv enregistrée
both have a é character that cannot be change in windows home server (FR)
i didn't have this error with 0.4.X
I don't have the problem with 0.5.0 either.
Not even on my own WHS when I create a "Vidéos" share.
I need more details.
Does SABnzbd run on the WHS itself?
Does this happen for all NZBs or only for specific ones?
If so, email a sample to bugs at sabnzbd.org (referring to this thread).

Re: PostProcessing Crashed, see logfile for RSS download with category

Posted: March 1st, 2010, 5:46 pm
by chriscc
Hello Shypike,

this is in fact the default folders created by WHS FR and SAbnzbd run on it directly
to give you a little more details, i only have this error with the RSS feeds based download.
If i manually add a NZB file or even select it in newzbin, the post process works correctly

here is my RSS feeds http://tvnzbrss.com/feedgen.php?id=082689932
And in attachment a screenshot of my rss setup (i didn't modified it since 0.4)
I will try to removing the filter '*' (from the wiki) to see if it might be the cause

I checked the log today and found the same error
::ERROR::[postproc:434] Post Processing Failed for XXXXXXXXXXXXXXXXXXXX

Let me know if you need the full log file and i update the post if removing the filter made a difference.
If not i will try your workaround and associate it to a drive letter

Chris

Re: PostProcessing Crashed, see logfile for RSS download with category

Posted: March 2nd, 2010, 4:02 am
by shypike
If you run SABnzbd on the WHS, you should not use the d:\Vidéos path!

Your "complete" or category folder should be \\myserver\Vidéos instead.
Otherwise you bypass WHS's disk spanning system, with all sorts of risks.

There's nothing wrong with the RSS definition.
If you remove the '*', you won't download anything anymore.

Re: PostProcessing Crashed, see logfile for RSS download with category

Posted: March 2nd, 2010, 6:34 am
by chriscc
Alright i will modify category link but it's probably unrelated as it worked with 0.4 or when a manually put a nzb.
and i will also put the * filter back.

thanks for your help, and i come back to you with more news

Re: PostProcessing Crashed, see logfile for RSS download with category

Posted: March 2nd, 2010, 6:00 pm
by gizzard
chriscc wrote: Hello Shypike,

this is in fact the default folders created by WHS FR and SAbnzbd run on it directly
to give you a little more details, i only have this error with the RSS feeds based download.
If i manually add a NZB file or even select it in newzbin, the post process works correctly

here is my RSS feeds http://tvnzbrss.com/feedgen.php?id=082689932
And in attachment a screenshot of my rss setup (i didn't modified it since 0.4)
I will try to removing the filter '*' (from the wiki) to see if it might be the cause

I checked the log today and found the same error
::ERROR::[postproc:434] Post Processing Failed for XXXXXXXXXXXXXXXXXXXX

Let me know if you need the full log file and i update the post if removing the filter made a difference.
If not i will try your workaround and associate it to a drive letter

Chris





This is exactly the same problem as I have and this only happens when downloading with RSS and the category has any special chars.

I tried in gategory path
\\media\þættir\
h:\þættir

The error occurs
2010-02-22 00:58:16,312::DEBUG::[postproc:437] Traceback:
Traceback (most recent call last):
 File "sabnzbd\postproc.pyo", line 296, in run
 File "ntpath.pyo", line 102, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xfe in position 17: ordinal not in range(128)

When I changed this to
\\media\shows or h:\shows

It starts to work again.
I tried a number of different RSS feeds all with the same results.

If I downloaded the NZB manually and added the category it works, so it all points to a RSS based download with category.
and this was working fine before the update.

Thanks, Dennis

Re: PostProcessing Crashed, see logfile for RSS download with category

Posted: March 2nd, 2010, 9:03 pm
by chriscc
I created a map for my tv show (main category for the rss feed)

Code: Select all

subst T: "D:\shares\tv enregistrée"
But it gave me another error
2010-03-03 01:05:34,006::INFO::[misc:741] Creating directories: T:\
2010-03-03 01:05:34,006::ERROR::[misc:743] Failed making (T:\)

probably something wrong with the security even if i couldn't find any difference between the folder and his mapping.

Re: PostProcessing Crashed, see logfile for RSS download with category

Posted: March 3rd, 2010, 3:10 am
by shypike
chriscc wrote: probably something wrong with the security even if i couldn't find any difference between the folder and his mapping.
You should take my later advise.
Just use the official share names like "\\myserver\tv enregistrée".
There should be no access rights problem when SABnzbd runs under the local system account.

The subst was when I assumed you were downloading to a mounted drive,
so forget the subst.

Re: PostProcessing Crashed, see logfile for RSS download with category

Posted: March 3rd, 2010, 3:20 am
by shypike
gizzard wrote: This is exactly the same problem as I have and this only happens when downloading with RSS and the category has any special chars.
I tried in gategory path
\\media\þættir\
h:\þættir

The error occurs
2010-02-22 00:58:16,312::DEBUG::[postproc:437] Traceback:
Traceback (most recent call last):
 File "sabnzbd\postproc.pyo", line 296, in run
 File "ntpath.pyo", line 102, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xfe in position 17: ordinal not in range(128)

When I changed this to
\\media\shows or h:\shows

It starts to work again.
I tried a number of different RSS feeds all with the same results.

If I downloaded the NZB manually and added the category it works, so it all points to a RSS based download with category.
and this was working fine before the update.

Thanks, Dennis
Somehow this is caused by the RSS feed titles.
My suspicion is that SABnzbd handles these (sometimes?) as Unicode, while the base folder is ASCII-8 encoded.
These two clash when mixed, as you see in the error report.
Can you PM me the RSS feed URL you are using?

Re: PostProcessing Crashed, see logfile for RSS download with category

Posted: March 3rd, 2010, 3:25 am
by shypike
chriscc wrote: I created a map for my tv show (main category for the rss feed)

Code: Select all

subst T: "D:\shares\tv enregistrée"
But it gave me another error
2010-03-03 01:05:34,006::INFO::[misc:741] Creating directories: T:\
2010-03-03 01:05:34,006::ERROR::[misc:743] Failed making (T:\)

probably something wrong with the security even if i couldn't find any difference between the folder and his mapping.
After analyzing gizzards report, I need to draw another conclusion.
The work-around is this:
On the WHS, do

Code: Select all

net use x: "\\myserver\tv enregistrée"
Then use x:\ as the category path.
Assuming x: is free, else pick any other free drive letter.