Page 1 of 1

error message SB: SyntaxError: Non-ASCII character '\xee'

Posted: January 28th, 2013, 1:29 am
by ldetata
i have tried to find an answer myself but with no luck...i can download files but when it comes to post processing to the correct file through sb i get the following error message

File "/Users/MYNAME/Library/Application Support/SABnzbd/scripts/sabToSickBeard.py", line 1
SyntaxError: Non-ASCII character '\xee' in file /Users/MYNAME/Library/Application Support/SABnzbd/scripts/sabToSickBeard.py on line 2, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details




then i end up with the file but not sorted correctle into its proper file...please any help would be appreciated as i have been going for 2.5 days on this set up :-[

Re: error message SB: SyntaxError: Non-ASCII character '\xee

Posted: January 28th, 2013, 1:39 am
by ldetata
i forgot to say i am on a mac running mountain lion if that helps

Re: error message SB: SyntaxError: Non-ASCII character '\xee

Posted: January 28th, 2013, 1:44 am
by sander
Non-ASCII character '\xee' in file /Users/MYNAME/Library/Application Support/SABnzbd/scripts/sabToSickBeard.py on line 2

So, that's the problem I would say. I had a look at a stock version of sabToSickBeard.py, and its line 2 is empty. So something must be wrong with your sabToSickBeard.py. Did you edit/open it in any way?

Re: error message SB: SyntaxError: Non-ASCII character '\xee

Posted: January 28th, 2013, 2:07 am
by ldetata
I definately didn't edit it

Perhaps opened it though. How can I fix?

Re: error message SB: SyntaxError: Non-ASCII character '\xee

Posted: January 28th, 2013, 6:33 am
by ldetata
i think where i am going wrong is i need to know what folder should i be directing the post processing scripts too on sabnzbd?

or do i leave that blank and sick beard will take the file from my downloads complete folder?

Re: error message SB: SyntaxError: Non-ASCII character '\xee

Posted: January 28th, 2013, 2:08 pm
by sander
Is that a question about Sickbeard? If so: I know nothing about Sickbeard. Probably to start a separate thread if you have solved the error message in the subject.

Re: error message SB: SyntaxError: Non-ASCII character '\xee

Posted: January 28th, 2013, 8:22 pm
by ldetata
no i was correct in the first place the error i keep getting is

File "/Users/my name/Library/Application Support/SABnzbd/scripts/sabToSickBeard.py", line 1
SyntaxError: Non-ASCII character '\xff' in file /Users/myname/Library/Application Support/SABnzbd/scripts/sabToSickBeard.py on line 2, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details


what can i do??

Re: error message SB: SyntaxError: Non-ASCII character '\xee

Posted: January 29th, 2013, 12:40 am
by sander
I would do this:

Code: Select all

hd "/Users/my name/Library/Application Support/SABnzbd/scripts/sabToSickBeard.py" | head -20
and post the output here

Re: error message SB: SyntaxError: Non-ASCII character '\xee

Posted: January 29th, 2013, 1:04 am
by ldetata
actually all i did was used terminal to find the route then deleted the '\' and copied and pasted that into sab and now i dont get any scrip errors

but the files arent automatically post processing sb end..so i will ask that question on the sb forum..

thanks sander your message actually triggered me to try that

4 days of pain almost over