![]() |
|
[RELEASE] XBMC Subtitles - Addon Script - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Help and Support (/forumdisplay.php?fid=33) +--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27) +---- Forum: Subtitle Add-ons (/forumdisplay.php?fid=143) +---- Thread: [RELEASE] XBMC Subtitles - Addon Script (/showthread.php?tid=126495) |
RE: [RELEASE] XBMC Subtitles - Addon Script - keoma - 2012-04-24 13:24 Hey Amet, sorry to be nagging on you. Regarding my problem posted earlier, is there anything else i can provide you with to help you locate the problem? A full debug log or anything? RE: [RELEASE] XBMC Subtitles - Addon Script - misa - 2012-04-24 13:27 (2012-04-23 16:56)misa Wrote:(2012-04-23 01:13)keoma Wrote: Hello I'm having a problem searching for subtitles. I get the following error message: Error 'ascii' codec can't decode byte 0xc3 in position "X" ordinal not in range(128). "X" is variable. Looking at the log gives me no clues really, but googling around tells me this is a pretty common python error related to UTF8. Perhaps its related to the asian titles showing up? Did anyone noticed this?..............problem still stands on the new service.py RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-04-24 13:29 (2012-04-24 13:24)keoma Wrote: Hey Amet, sorry to be nagging on you. Regarding my problem posted earlier, is there anything else i can provide you with to help you locate the problem? A full debug log or anything? full debug log is always needed, but I know there are utf-8 issues... I am working on it but its difficult when I cant reproduce on my side
RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-04-24 13:30 (2012-04-24 13:27)misa Wrote:(2012-04-23 16:56)misa Wrote:(2012-04-23 01:13)keoma Wrote: Hello I'm having a problem searching for subtitles. I get the following error message: Error 'ascii' codec can't decode byte 0xc3 in position "X" ordinal not in range(128). "X" is variable. Looking at the log gives me no clues really, but googling around tells me this is a pretty common python error related to UTF8. Perhaps its related to the asian titles showing up? what new service.py? did you read the first post of this thread? RE: [RELEASE] XBMC Subtitles - Addon Script - muzzol - 2012-04-24 19:35 amet, what locales are you using? any UTF-8 should help reproducing this problem. RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-04-24 19:57 no issues on OSX here... I can not hit the issues you guys are seeing... when I do, I can fix... RE: [RELEASE] XBMC Subtitles - Addon Script - mr_blobby - 2012-04-24 22:16 I have been able to reproduce and correct the error when searching: Code: Error: 'ascii' codec can't decode byte 0x..in position xx: ordinal not in range(128)It is solved by a simple: Code: unicode('string with a problem','latin-1')I have also noticed that this eror only appears on my Windows 8 machine and not on my OpenElec machine. On my OpenElec machine the search simply fails silently (no search results). This weekend I will try to implement fixes for this problem for all "my" services in the addon. RE: [RELEASE] XBMC Subtitles - Addon Script - Agnew - 2012-04-25 00:48 Hi, I'm really new here so please excuse me if I make any mistake . I'm having problems downloading subtitles from opentitles. The add-on finds then, appears to be downloading them an then says: "subtitle downloaded an extracted" but neither closes itself nor continues playing the movie as usual. Pressing esc key, The movie goes on but there is no trace of the subtitle. I have posted my debug log (or what I believe to be it) in the following link: http://pastebin.com/39fwpTU4 I will thank any help and try to correct any mistake as it is pointed to me. Agnew RE: [RELEASE] XBMC Subtitles - Addon Script - Agnew - 2012-04-25 01:04 (2012-04-25 00:48)Agnew Wrote: Hi,Sorry I paid some more attention to previous post, so here is a real DEBUG log: http://xbmclogs.com/show.php?id=1892 I hope I did it right this time. RE: [RELEASE] XBMC Subtitles - Addon Script - mr_blobby - 2012-04-25 08:49 (2012-04-25 01:04)Agnew Wrote:It's the same error, caused by a non-ascii character:(2012-04-25 00:48)Agnew Wrote: Hi,Sorry I paid some more attention to previous post, so here is a real DEBUG log: 00:56:12 T:2973760368 ERROR: UnicodeDecodeError 00:56:12 T:2973760368 ERROR: : 00:56:12 T:2973760368 ERROR: 'ascii' codec can't decode byte 0xa0 in position 4: ordinal not in range(128) |