Page 1 of 1

Error "'ascii' codec can't encode character u'\xe9'...while unpacking RAR files

Posted: February 5th, 2010, 3:35 pm
by exacta
RSS feed matched a report and downloaded a file with the French "é" character in the name. Download went fine, but sabnzbd's post-download failed on the unRARing of the file with the following error:

Unpack
    [Filename with this character in it --> é ] Error "'ascii' codec can't encode character u'\xe9' in position 136: ordinal not in range(128)" while unpacking RAR files

Version: 0.5.0RC3 Final
OS: Windows Vista 32-bit
Install-type: Windows Installer
Skin (if applicable): Default
Firewall Software: None
Are you using IPV6? No
Is the issue reproducible? Perhaps? It's difficult to find a file on newzbin with this character in it that's also large enough to need unRARing. If I try to download the same file individually it converts the character to an underscore before processing. I've only been able to make it fail by letting the RSS feed re-grab the error-prone file, but I'm essentially retesting with the same file repeatedly so it's a pretty shitty test.

Additionally, I was able to manually unRAR the files, and the resulting file played fine - it just didn't seem to like being auto-processed.

Re: Error "'ascii' codec can't encode character u'\xe9'...while unpacking RAR files

Posted: February 5th, 2010, 5:59 pm
by shypike
Probably due to an error in logging the filenames.
Can you email the newzbin report number to bugs at sabnzbd.org ?
Should be easy to reproduce and fix.