[DEPRECIATED] XBMC Subtitles - Addon Script (previously OpenSubtitles OSD)

  Thread Rating:
  • 7 Votes - 4.86 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
tebicenter Offline
Senior Member
Posts: 148
Joined: Oct 2008
Reputation: 0
Post: #2061
It's me again, sorry for the double post.

I just updated to final version of Eden on my ATV2 and the subtitle plugin was updated as well.

The problem is that when I tried to download a subtitle, I'm getting the following error:

Code:
21:31:11 T:230973440   ERROR: Exception in python script callback execution
21:31:11 T:230973440   ERROR: Traceback (most recent call last):
21:31:11 T:230973440   ERROR:   File "/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.subtitles/resources/lib/gui.py", line 488, in onClick
21:31:11 T:230973440   ERROR: self.Download_Subtitles( self.getControl( SUBTITLES_LIST ).getSelectedPosition() )
21:31:11 T:230973440   ERROR:   File "/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.subtitles/resources/lib/gui.py", line 297, in Download_Subtitles
21:31:11 T:230973440   ERROR: zipped, language, file = self.Service.download_subtitles(self.subtitles_list, pos, zip_subs, self.tmp_sub_dir, self.sub_folder,self.session_id)
21:31:11 T:230973440   ERROR:   File "/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.subtitles/resources/lib/services/Argenteam/service.py", line 142, in download_subtitles
21:31:11 T:230973440   ERROR: log( __name__ ,"%s argenteam: nĂºmero de init_filecount %s" % (debug_pretext, init_filecount)) #EGO
21:31:11 T:230973440   ERROR:   File "/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.subtitles/resources/lib/utilities.py", line 110, in log
21:31:11 T:230973440   ERROR: xbmc.log((u"### [%s-%s] - %s" % (__scriptname__,module,msg,)).encode('utf-8'),level=xbmc.LOGDEBUG )
21:31:11 T:230973440   ERROR: UnicodeDecodeError
21:31:11 T:230973440   ERROR: :
21:31:11 T:230973440   ERROR: 'ascii' codec can't decode byte 0xc3 in position 22: ordinal not in range(128)

Any ideas of what this could be?

Thanks
find
tebicenter Offline
Senior Member
Posts: 148
Joined: Oct 2008
Reputation: 0
Post: #2062
Ok, found the problem.

I commented all lines with "log( __name__ ,"%s..." and it's working fine now.

Can you update it on git or should I make a new push?

Thanks in advance

PD: BTW, I'm Esteban, the one that added the argenteam service.
find
amet Offline
I wave my private parts at your aunties!
Posts: 3,517
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #2063
(2012-03-25 03:01)tebicenter Wrote:  Ok, found the problem.

I commented all lines with "log( __name__ ,"%s..." and it's working fine now.

Can you update it on git or should I make a new push?

Thanks in advance

PD: BTW, I'm Esteban, the one that added the argenteam service.

Do a PR on github, I'll pull it in .. thx


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find
flippamike Offline
Junior Member
Posts: 5
Joined: Mar 2012
Reputation: 0
Post: #2064
Hallo,

Sometimes when i want a subtitle to be found xbmc subtitles is giving this error.

Error : 'ascii' codec can't decode byte 0xe9 in position 115: ordinal not in range (128)

Can someone help me with this error ?
find
amet Offline
I wave my private parts at your aunties!
Posts: 3,517
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #2065
(2012-03-25 14:01)flippamike Wrote:  Hallo,

Sometimes when i want a subtitle to be found xbmc subtitles is giving this error.

Error : 'ascii' codec can't decode byte 0xe9 in position 115: ordinal not in range (128)

Can someone help me with this error ?

not without debug log


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find
amet Offline
I wave my private parts at your aunties!
Posts: 3,517
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #2066
all further bugs and discussion moved to http://forum.xbmc.org/showthread.php?tid=126495

cheers,
amet


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find
Thread Closed