Error upon installation on Korean Windows 7

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
liquidplastik
Newbie
Newbie
Posts: 4
Joined: February 3rd, 2010, 4:54 am

Error upon installation on Korean Windows 7

Post by liquidplastik »

I was trying to install the latest version of SABnzbd (0.5.0 RC3) on my friend's computer and once the installation completed it told me to check the log files in my installation directory.  Here are the contents of the log file:

Code: Select all

Traceback (most recent call last):
  File "SABnzbd.py", line 1225, in <module>
  File "SABnzbd.py", line 803, in main
  File "SABnzbd.py", line 323, in GetProfileInfo
  File "sabnzbd\misc.pyo", line 257, in get_user_shellfolders
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 9-10: ordinal not in range(256)
He's running the Korean version of Windows 7 and I'm assuming that has something to do with it as I've installed it just fine on many other computers just fine.  Has anyone else run into this issue?

Thanks in advance for your help.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Error upon installation on Korean Windows 7

Post by shypike »

SABnzbd is not a full Unicode application.
All characters must be encodable in the Latin-1 (ISO 8859-1) character set.
This includes the path name of your user profile.
A work-around is to start SABnzbd with a alternative path,
not containing Korean characters.
Change the shortcut to:
SABnzbd.exe -f d:\usenet

That will make all working folders go to the d:\usenet folder.
(Any other Latin-1 compatible path is OK).

We are looking at making SABnzbd fully Unicode compatible, but that may take quite a while .
liquidplastik
Newbie
Newbie
Posts: 4
Joined: February 3rd, 2010, 4:54 am

Re: Error upon installation on Korean Windows 7

Post by liquidplastik »

Well the thing is it was installed to the default location.  The installation path did not contain unicode characters in it.  One thing I've noticed is that on the Korean Windows it uses a ₩ character instead of backslash in the paths.  You can read about this at:
http://en.wikipedia.org/wiki/Backslash

I'm not sure if this is possibly the culprit.  Ideas?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Error upon installation on Korean Windows 7

Post by shypike »

It may be displayed as "₩", but as long as the internal notation is "\"
there should be no problem.
This is really beyond my knowledge.
Post Reply