XBMC Community Forum
[DEPRECIATED] XBMC Subtitles - Addon Script (previously OpenSubtitles OSD) - 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: [DEPRECIATED] XBMC Subtitles - Addon Script (previously OpenSubtitles OSD) (/showthread.php?tid=75437)



- mr_blobby - 2010-08-16 22:25

Amet Wrote:nope, "XBMC Subtitles version [ 1.7.4 ]"
Nope, you forgot to update the line
__version__ = "1.7.4"
in all versions after 1.7.4 of default.py Laugh


- joeranjensen - 2010-08-16 22:40

I`m sure I have the latest version.
Is it any other solution than change the username, i cant figure out how to do that(its the administrator username).


- PsychoCheF - 2010-08-16 22:55

joeranjensen Wrote:I`m sure I have the latest version.
Is it any other solution than change the username, i cant figure out how to do that(its the administrator username).

No, i think we must wait for a fix.
I've run into this error a lot of times lately in different situations, and they i reported on the trac is fixed. But i havent added a ticket specific for xbmc subtitles yet, short of time now when my vacation is over Sad
Feel free to add a ticket about it, so they can start working on it.


- joeranjensen - 2010-08-16 23:35

Now i`ve changed the username, and at this point everything seems to work without problemsSmile
Thanks for all your helpBig Grin


error script failed! : script.xbmc.subtitles - XmemphistoX - 2010-08-17 12:09

So I've tried this twice so far. It works for a few tries, downloads subtitles fine then it starts to crash. It freezes until I hit back and it gives me the error "error script failed! : script.xbmc.subtitles." I have the newest version.

I reformatted my machine and the subtitles started to work again but only for a short while. I'm getting the same error message after 3 subtitle downloads. I pasted my log file on the following link if anyone can spare a few minutes to take a look for me. Thanks!

http://pastebin.com/NJuMv4ES


- mr_blobby - 2010-08-17 13:29

XmemphistoX Wrote:So I've tried this twice so far. It works for a few tries, downloads subtitles fine then it starts to crash. It freezes until I hit back and it gives me the error "error script failed! : script.xbmc.subtitles." I have the newest version.

I reformatted my machine and the subtitles started to work again but only for a short while. I'm getting the same error message after 3 subtitle downloads. I pasted my log file on the following link if anyone can spare a few minutes to take a look for me. Thanks!

http://pastebin.com/NJuMv4ES
It is the same problem with the special characters, but this time not in the username, but in the subtitle filename:
Code:
214.02:57:15 T:208 M:2528444416   ERROR: Error Contents: (2, 'No such file or directory', 'C:\\Users\\mediacenter\\AppData\\Roaming\\XBMC\\cache\\sub_tmp\\M\xe2\x80\x9cme​ La.srt')
When the scrip starts, it first tries to clear the cache, before it will search for subtitles. I believe this is what causes the problem: the script is trying to delete a temporary subtitle from the cache, but the special characters causes the script error.
Workaround is to clear the cache manually: C:\Users\mediacenter\AppData\Roaming\XBMC\\cache


- XmemphistoX - 2010-08-17 21:34

mr_blobby Wrote:It is the same problem with the special characters, but this time not in the username, but in the subtitle filename:
Code:
214.02:57:15 T:208 M:2528444416   ERROR: Error Contents: (2, 'No such file or directory', 'C:\\Users\\mediacenter\\AppData\\Roaming\\XBMC\\cache\\sub_tmp\\M\xe2\x80\x9cme​ La.srt')
When the scrip starts, it first tries to clear the cache, before it will search for subtitles. I believe this is what causes the problem: the script is trying to delete a temporary subtitle from the cache, but the special characters causes the script error.
Workaround is to clear the cache manually: C:\Users\mediacenter\AppData\Roaming\XBMC\\cache

Thanks! Works perfectly again! Really appreciate you taking the time to look for me.


- amet - 2010-08-17 22:03

mr_blobby Wrote:Nope, you forgot to update the line
__version__ = "1.7.4"
in all versions after 1.7.4 of default.py Laugh

hehe, true that Laugh

I will try to remember for next time Tongue


- awarin - 2010-08-20 14:00

Hello im having problems downloading subtitles from undertexter.se.
Its only undertexter.se i have the problem with all other sources work.

im using Xbmcfreak 10.08 svn livecd. - XBMC svn32696 with latest features
- Linux Kernel 2.6.32-24.

ive checked the log and it d/l the subtitles correct and puts it under /sub_tmp but then it just stops. What does No archive given mean?.

Note. if i move undertexter.rar to my windows 7 machine i have no problem extracting it with winrar.



Saving subtitles to '/home/xbmc/.xbmc/temp/sub_tmp/undertexter.rar'
13:53:01 T:3056265088 M:2579767296 ERROR: XBMC.Extract, No archive given
13:53:17 T:2161273712 M:2579808256 DEBUG: Thread 2161273712 terminating (autodelete)
13:53:17 T:2688527216 M:2579808256 DEBUG: Thread 2688527216 terminating



- mr_blobby - 2010-08-20 14:17

awarin Wrote:Hello im having problems downloading subtitles from undertexter.se.
Its only undertexter.se i have the problem with all other sources work.

im using Xbmcfreak 10.08 svn livecd. - XBMC svn32696 with latest features
- Linux Kernel 2.6.32-24.

ive checked the log and it d/l the subtitles correct and puts it under /sub_tmp but then it just stops. What does No archive given mean?.

Note. if i move undertexter.rar to my windows 7 machine i have no problem extracting it with winrar.



Saving subtitles to '/home/xbmc/.xbmc/temp/sub_tmp/undertexter.rar'
13:53:01 T:3056265088 M:2579767296 ERROR: XBMC.Extract, No archive given
13:53:17 T:2161273712 M:2579808256 DEBUG: Thread 2161273712 terminating (autodelete)
13:53:17 T:2688527216 M:2579808256 DEBUG: Thread 2688527216 terminating
I had to use the XBMC builtin function 'extract' because there is no platform-independent python module for unpacking rar files.
This 'XBMC.Extract' function produces the error.
Which subtitle were you trying to download?