Page 1 of 1
Failed to start subdownloader
Posted: Mon May 28, 2007 4:19 pm
by James
Traceback (most recent call last):
File "SubDownloader.py", line 396, in ?
File "wx\_core.pyo", line 7748, in __init__
File "wx\_core.pyo", line 7345, in _BootstrapApp
File "SubDownloader.py", line 372, in OnInit
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 15: ordinal not in range(128)
it worked and then failed to start
Posted: Mon Jul 23, 2007 11:48 pm
by le_roco
same problem but subdownloader was doing fine a few hours ago.
and then UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 28: ordinal not in range(128)
what does that mean ?
Posted: Tue Jul 24, 2007 12:14 am
by le_roco
uh.. i found a way to make it start again but i feel a bit ashamed...
the error was occuring on line 372
(this part of the file looks like this)
369 globals.Log("-------------Showing preferences:")
370 for key,value in globals.preferences_list.items():
371 if key != "password":
372 globals.Log(key +" = " + str(value))
373 globals.Log("-------------End preferences:")
so i did........ comment the lines :
369 globals.Log("-------------Showing preferences:")
370 #for key,value in globals.preferences_list.items():
371 # if key != "password":
372 # globals.Log(key +" = " + str(value))
373 globals.Log("-------------End preferences:")
it works fine now.
i still think it's a crappy way, so if someone has an explanation or a better answer to this problem....
Posted: Sun Aug 26, 2007 12:08 pm
by Ezelmannen
I'm having a similar problem.
What file do I do these changes in on Windows XP?
could not start version 1.3.9
Posted: Fri Sep 07, 2007 8:16 am
by oomiya
Hellow I am new user from Japan. My mother toung is japanese.
I faced same problem when I installed subdownloader 1.3.9. I could not start program and same error message appeared.
I tried bug fix based on comment described on this forum. But I could not start at any rate.
Finally I decided to install old version Subdownloader 1.2.3.
At this moment it seems to me version 1.2.3 will run.
For your reference: Windows xp professional
CPU pen4 -2.4,MEM-1GB
delete the config file
Posted: Sat Oct 06, 2007 5:02 pm
by sga69
Just delete the config file: %programfiles%/subdownloader/conf/preferences.conf
Posted: Sat Oct 06, 2007 9:38 pm
by ixquic
I don't know how to do it in python, but I guess you need to escape special characters in value before passing it to globals.Log. Or maybe use a different codec in the logger, like iso-8859-1 instead of ascii? Ascii by definition only goes up to 127.
Deleting the config file works, but you lose all your preferences including username/password. You can edit the config file and remove all special characters (áéíóúäöü and the like). And remove special characters from the movie file/directory names before passing them to subdownloader, so it won't happen again. Or just keep a backup of a good config file around.
Posted: Wed Jul 09, 2008 4:53 am
by capiscuas