Open jfeeser opened 6 years ago
try adjusting line 12 https://github.com/Sperryfreak01/RadarrSync/blob/master/RadarrSync.py#L14 to look like this:
fileHandler = logging.FileHandler("./Output.txt",'w','utf-8')
That resolved the output to log errors I was getting but I still get them for the console output. Fortunately the movie still adds.
I haven't had any unicode issues, what version of python are you running on.
Adding this workaround in case someone else runs into this issue:
You can also "fix" the issue by changing the default encoding used by python2. To do this, you have to edit /usr/lib/python2.7/site.py
and change the default value on line 485 from ascii
to utf-8
When running the script, i get the following error below:
(That's the entire contents of the error log)
My guess is that it's due to the fact that i have movies that have non-ascii characters in the titles, such as "Alien³". Can you take a look?