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

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • 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
exacta
Newbie
Newbie
Posts: 2
Joined: April 29th, 2009, 3:32 pm

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

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post 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.
Post Reply