ramesh130 / etv-comskip

Automatically exported from code.google.com/p/etv-comskip
GNU General Public License v2.0
1 stars 0 forks source link

MarkCommercials.cfg cannot contain extended characters (UTF-8) #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enter a station name with an Umlaut in any encoding into the cfg
2. Run MarkCommercials

I'd expect MarCommercials to read the config file using UTF-8 encoding, but 
apparently it insists 
on ascii. Thus, users who receive stations that have Umlauts (or any other 
non-ascii characters) in 
their names cannot filter for them.

Original issue reported on code.google.com by mrtnpr...@googlemail.com on 20 Oct 2009 at 4:43

GoogleCodeExporter commented 9 years ago
I have the same problem in French. 
Each time a title contains a non-ascii character, Mark Commercial stops working 
and I get a error window 
showing behind EyeTV 
Here's is what I can read in Console 
Mar  7 15:45:07 Mac-Mini MarkCommercials[16030]: MarkCommercials Error\nAn 
unexpected error has 
occurred during execution of the main script\n\nUnicodeEncodeError: 'ascii' 
codec can't encode character 
u'\xef' in position 45: ordinal not in range(128)

Each of these alerts correspond to an open process, and with 3 or 4  alerts 
showing, my Mac slow down.

I'm using EyeTV 3.3 (5849) on MacOS 10.6.2
I tried some of the modified MarkCommercial.py script with no luck.

I removed ETVComskip, restarted, reinstalled it and restarted again. The only 
thing I can say is it worked 
again until a non-ascii character shows up.

After reading abaout all of this thread, I tried somme actions in terminal, 
like 
Mac-Mini:Resources lionel$ python ./MarkCommercials.py
Error: importing appscript
No module named aem

MAy be there's somme problem with the ETVComskip installer?

Original comment by Lionel.P...@gmail.com on 7 Mar 2010 at 3:05

GoogleCodeExporter commented 9 years ago

Original comment by jon.chri...@gmail.com on 19 Apr 2010 at 8:43