Forum rules
Under no circumstances is spamming or advertising of any kind allowed. Do not post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate others security. Profanity or any kind of insolent behavior to other members (regardless of rank) will not be tolerated. Remember, what you don’t find offensive can be offensive to other members. Please treat each other with the kind of reverence you’d expect from other members.
Failure to comply with any of the above will result in users being banned without notice. If any further details are needed, contact: “The team” using the link at the bottom of the forum page. Thank you.
James
Posts: 39
Joined: Thu Jan 04, 2007 2:59 am

Failed to start subdownloader

Mon May 28, 2007 4:19 pm

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)
Do good things, and good things happen to you
[img]http://homel.vsb.cz/~spi057/userbar.gif[/img]

le_roco
Posts: 3
Joined: Mon Jul 23, 2007 11:42 pm

it worked and then failed to start

Mon Jul 23, 2007 11:48 pm

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 ?

le_roco
Posts: 3
Joined: Mon Jul 23, 2007 11:42 pm

Tue Jul 24, 2007 12:14 am

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

Ezelmannen
Posts: 3
Joined: Sun Aug 26, 2007 11:54 am

Sun Aug 26, 2007 12:08 pm

I'm having a similar problem.
What file do I do these changes in on Windows XP?

oomiya
Posts: 1
Joined: Fri Sep 07, 2007 7:16 am

could not start version 1.3.9

Fri Sep 07, 2007 8:16 am

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 :cry:

sga69
Posts: 5
Joined: Tue Jul 31, 2007 6:06 pm

delete the config file

Sat Oct 06, 2007 5:02 pm

Just delete the config file: %programfiles%/subdownloader/conf/preferences.conf

ixquic
Posts: 73
Joined: Wed Aug 23, 2006 4:39 pm

Sat Oct 06, 2007 9:38 pm

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.

capiscuas
Posts: 82
Joined: Mon Apr 17, 2006 5:33 am

Wed Jul 09, 2008 4:53 am

Fixed in Subdownloader2.0

https://launchpad.net/subdownloader/

Return to “Programs using OS”

Who is online

Users browsing this forum: No registered users and 27 guests