Problem: suddenly Only english subtitles are downloaded
#1
Hello,
Thanks to anybody willing to help
i have a problem: i i download an english subtitle it works smoothy as usual.
When I try to download one in another language the plugin stops showing the: Subtitle downloaded and extracted (which is not true)

Here is the log:


15:16:56 T:7661328 DEBUG: SDLKeyboard: scancode: 72, sym: 0113, unicode: 0000, modifier: 0
15:16:56 T:7661328 DEBUG: OnKey: right (f083) pressed, action is Right
15:16:56 T:3014642544 DEBUG: ### [Qlock] - Delaying 3 secs
15:16:57 T:7661328 DEBUG: SDLKeyboard: scancode: 6f, sym: 0111, unicode: 0000, modifier: 0
15:16:57 T:7661328 DEBUG: OnKey: up (f080) pressed, action is Up
15:16:57 T:7661328 DEBUG: SDLKeyboard: scancode: 6f, sym: 0111, unicode: 0000, modifier: 0
15:16:57 T:7661328 DEBUG: OnKey: up (f080) pressed, action is Up
15:16:58 T:7661328 DEBUG: SDLKeyboard: scancode: 24, sym: 000d, unicode: 000d, modifier: 0
15:16:58 T:7661328 DEBUG: OnKey: return (f00d) pressed, action is Select
15:16:58 T:2513685360 DEBUG: ### [XBMC Subtitles-services.OpenSubtitles.service] - Search String [ True+Blood+S05E02 ]
15:16:58 T:2513685360 DEBUG: CFileSMB::Open - opened Series/Serie/True Blood/True.Blood.S05E02.720p.HDTV.x264-IMMERSE.mkv, fd=10001
15:16:58 T:2513685360 DEBUG: CFileSMB::Close closing fd 10001
15:16:58 T:2513685360 DEBUG: ### [XBMC Subtitles-services.OpenSubtitles.service] - xbmc module hash and size
15:16:58 T:2513685360 DEBUG: ### [XBMC Subtitles-services.OpenSubtitles.service] - File Size [2199061059]
15:16:58 T:2513685360 DEBUG: ### [XBMC Subtitles-services.OpenSubtitles.service] - File Hash [9fa6ea175c5d534c]
15:16:58 T:2513685360 DEBUG: ### [XBMC Subtitles-services.OpenSubtitles.service] - Search by hash and name True.Blood.S05E02.720p.HDTV.x264-IMMERSE.mkv
15:16:58 T:3014642544 DEBUG: ### [Qlock] - Delaying 3 secs
15:16:59 T:2513685360 DEBUG: ### [XBMC Subtitles-services.OpenSubtitles.os_utilities] - Token:[7vfm64k6ite31cd1653d0at866]
15:17:00 T:3014642544 DEBUG: ### [Qlock] - Delaying 3 secs
15:17:01 T:7661328 DEBUG: SDLKeyboard: scancode: 24, sym: 000d, unicode: 000d, modifier: 0
15:17:01 T:7661328 DEBUG: OnKey: return (f00d) pressed, action is Select
15:17:02 T:3014642544 DEBUG: ### [Qlock] - Delaying 3 secs
15:17:03 T:7661328 DEBUG: GetZipList - Processing zip://%2fhome%2fsimo%2f%2exbmc%2fuserdata%2faddon%5fdata%2fscript%2exbmc%2esubtitles%2fsub%5ftmp%2fzipsubs%2ezip/
15:17:03 T:7661328 DEBUG: statdata: 1340078157 new: 1340137023
15:17:04 T:2771385200 DEBUG: Thread Jobworker 2771385200 terminating (autodelete)
15:17:04 T:2859404144 DEBUG: Thread Jobworker 2859404144 terminating (autodelete)
15:17:04 T:2675698544 DEBUG: Thread Jobworker 2675698544 terminating (autodelete)
15:17:04 T:3014642544 DEBUG: ### [Qlock] - Delaying 3 secs
15:17:01 T:7661328 DEBUG: SDLKeyboard: scancode: 24, sym: 000d, unicode: 000d, modifier: 0
15:17:01 T:7661328 DEBUG: OnKey: return (f00d) pressed, action is Select
15:17:02 T:3014642544 DEBUG: ### [Qlock] - Delaying 3 secs
15:17:03 T:7661328 DEBUG: GetZipList - Processing zip://%2fhome%2fsimo%2f%2exbmc%2fuserdata%2faddon%5fdata%2fscript%2exbmc%2esubtitles%2fsub%5ftmp%2fzipsubs%2ezip/
15:17:03 T:7661328 DEBUG: statdata: 1340078157 new: 1340137023
15:17:04 T:2771385200 DEBUG: Thread Jobworker 2771385200 terminating (autodelete)
15:17:04 T:2859404144 DEBUG: Thread Jobworker 2859404144 terminating (autodelete)
15:17:04 T:2675698544 DEBUG: Thread Jobworker 2675698544 terminating (autodelete)
15:17:04 T:3014642544 DEBUG: ### [Qlock] - Delaying 3 secs
15:17:04 T:2513685360 DEBUG: ### [XBMC Subtitles-gui] - Sub in Zip [True.Blood.5x02.Authority.Always.Wins.HDTV.x264-ASAP.srt], File Name [True.Blood.S05E02.720p.HDTV.x264-IMMERSE.it.srt]
15:17:04 T:2513685360 DEBUG: ### [XBMC Subtitles-utilities] - Regex File Se: 5, Ep: 02,
15:17:04 T:2513685360 WARNING: FileSmb::OpenForWrite() called with overwriting enabled! - smb://simo:xxxxxx@FREENAS2/Series/Serie/True%20%20Blood/True%2eBlood%2eS05E02%2e720p%2eHDTV%2ex264%2dIMMERSE%2eit%2esrt
15:17:05 T:2513685360 DEBUG: CFileSMB::Close closing fd 10001
15:17:05 T:2513685360 DEBUG: ### [XBMC Subtitles-utilities] - vfs module copy /home/simo/.xbmc/userdata/addon_data/script.xbmc.subtitles/sub_tmp/True.Blood.5x02.Authority.Always.Wins.HDTV.x264-ASAP.srt -> smb://FREENAS2$
15:17:05 T:2513685360 ERROR: Exception in python script callback execution
15:17:05 T:2513685360 ERROR: Traceback (most recent call last):
15:17:05 T:2513685360 ERROR: File "/home/simo/.xbmc/addons/script.xbmc.subtitles/resources/lib/gui.py", line 489, in onClick
15:17:05 T:2513685360 ERROR: self.Download_Subtitles( self.getControl( SUBTITLES_LIST ).getSelectedPosition() )
15:17:05 T:2513685360 ERROR: File "/home/simo/.xbmc/addons/script.xbmc.subtitles/resources/lib/gui.py", line 312, in Download_Subtitles
15:17:05 T:2513685360 ERROR: self.Extract_Subtitles(zip_subs,sub_lang, gui)
15:17:05 T:2513685360 ERROR: File "/home/simo/.xbmc/addons/script.xbmc.subtitles/resources/lib/gui.py", line 361, in Extract_Subtitles
15:17:05 T:2513685360 ERROR: subtitle_file, file_path = self.create_name(zip_entry,sub_filename,subtitle_lang)
15:17:05 T:2513685360 ERROR: File "/home/simo/.xbmc/addons/script.xbmc.subtitles/resources/lib/gui.py", line 428, in create_name
15:17:05 T:2513685360 ERROR: log( __name__ ,"Sub in Zip [%s], File Name [%s]" % (zip_entry.encode("utf-8"),
15:17:05 T:2513685360 ERROR: UnicodeDecodeError
15:17:05 T:2513685360 ERROR: :
15:17:05 T:2513685360 ERROR: 'ascii' codec can't decode byte 0xa4 in position 48: ordinal not in range(128)
15:17:06 T:3014642544 DEBUG: ### [Qlock] - Delaying 3 secs
15:17:16 T:7661328 DEBUG: Previous line repeats 4 times.
15:17:16 T:7661328 DEBUG: SDLKeyboard: scancode: 16, sym: 0008, unicode: 0008, modifier: 0
15:17:16 T:7661328 DEBUG: OnKey: backspace (f008) pressed, action is Back
15:17:16 T:7661328 DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
15:17:16 T:7661328 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
15:17:16 T:2513685360 INFO: Scriptresult: Success
15:17:16 T:2513685360 INFO: Python script stopped
15:17:16 T:2513685360 DEBUG: Thread XBPyThread 2513685360 terminating
15:17:16 T:2667305840 DEBUG: CDVDPlayerAudio:: Discontinuity - was:447392618.023493, should be:447408465.245870, error:15847.222377
15:17:16 T:7661328 DEBUG: waiting for python thread 21 to stop
15:17:16 T:7661328 DEBUG: python thread 21 destructed
15:17:16 T:7661328 DEBUG: ------ Window Deinit (DialogSeekBar.xml) ------
15:17:16 T:3014642544 DEBUG: ### [Qlock] - Delaying 3 secs
15:17:16 T:7661328 DEBUG: ------ Window Deinit (/home/simo/.xbmc/addons/script.xbmc.subtitles/resources/skins/Default/720p/script-XBMC-Subtitles-main.xml) ------
15:17:17 T:2692295536 DEBUG: CPullupCorrection: pattern lost on diff 40000.000000
15:17:18 T:3014642544 DEBUG: ### [Qlock] - Delaying 3 secs
15:17:19 T:2667305840 DEBUG: CDVDPlayerAudio:: Discontinuity - was:450472646.765870, should be:450447964.728531, error:-24682.037339
15:17:19 T:7661328 DEBUG: SDLKeyboard: scancode: 41, sym: 0020, unicode: 0020, modifier: 0
15:17:19 T:7661328 DEBUG: OnKey: space (f020) pressed, action is Pause
15:17:19 T:7661328 DEBUG: CAnnouncementManager - Announcement: OnPause from xbmc
15:17:19 T:7661328 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPause
15:17:19 T:7661328 DEBUG: CGUIAudioManager::Initialize
15:17:19 T:7661328 ERROR: Unable to open audio mixer
15:17:19 T:7661328 DEBUG: ------ Window Init (DialogSeekBar.xml) ------
15:17:20 T:3014642544 DEBUG: ### [Qlock] - Delaying 3 secs
Reply
#2
Same here only english subs are downloaded.

Edit: I just found the solution make sure that the folder is writable and erase all data from the sub_temp folder.
Reply
#3
Please, don't post logs in forum. Post them is some paste service (like http://pastebin.com/) and post the link here.

Also always post full logs, not just pieces as those difficult the analysis. We need to check, not only the place where the script crashes but vital info about your installation (if it is windows/linux/osx, versions, files are in hdd or network, etc).

That being said, yours seem to be yet another encoding issue (translated programming error). I'll look into it and let you know.
Always read the XBMC Online Manual,Frequently Asked Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log file.

Reply

Logout Mark Read Team Forum Stats Members Help
Problem: suddenly Only english subtitles are downloaded0