• 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 22
Release [service.subtitles.opensubtitles]
Hi guys,

I have a problem about Opensubtitles add-on on my Qnap HS251 XBMC 13.2.0.
The Opensubtitles add on is enabled, searches for the subtitles and finds them.
When I clikc load, it says "Failed to load subtitles"
This is some partf of the Debug.log
23:45:51 T:3597663040 DEBUG: CPythonInvoker(2, /root/.xbmc/addons/service.subtitles.opensubtitles/service.py): setting the Python path to /root/.xbmc/addons/service.subtitles.opensubtitles:/root/.xbmc/addons/script.module.beautifulsoup/lib:/share/CACHEDEV1_DATA/.qpkg/XBMC/opt/xbmc/share/xbmc/addons/script.module.pil/lib:/root/.xbmc/addons/script.module.mechanize/lib:/share/CACHEDEV1_DATA/.qpkg/XBMC/opt/xbmc/share/xbmc/addons/xbmc.debug/:/usr/lib/python2.7:/usr/lib/python2.7/plat-i386-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/pymodules/python2.7
23:45:51 T:3597663040 DEBUG: CPythonInvoker(2, /root/.xbmc/addons/service.subtitles.opensubtitles/service.py): entering source directory /root/.xbmc/addons/service.subtitles.opensubtitles
23:45:51 T:3597663040 DEBUG: CPythonInvoker(2, /root/.xbmc/addons/service.subtitles.opensubtitles/service.py): instantiating addon using automatically obtained id of "service.subtitles.opensubtitles" dependent on version 2.1.0 of the xbmc.python api
23:45:51 T:3597663040 DEBUG: ### [__main__] - failed to connect to service for subtitle download
23:45:51 T:3858758464 DEBUG: WaitOnScriptResult- plugin returned successfully
23:45:51 T:3597663040 INFO: CPythonInvoker(2, /root/.xbmc/addons/service.subtitles.opensubtitles/service.py): script successfully run
23:45:51 T:4110592320 DEBUG: ------ Window Init (DialogKaiToast.xml) ------

What may be the problem?
I have the whole debug.log file but didn't find a place to upload it to this post.

Cem
Reply
Hi everybody!

I'm on openelec 4.2.1 (XBMC 13.2) on Raspberry Pi, and I've suddenly lost functionality on the opensubtitles add-on, that I use all the time.
Its very frustrating, as the add-on show up fine (and I tried both the old way and adding as a subtitle service; the new way), but it won't download and enable. Anybody have a clue whats wrong?? Its a completely fresh install and it has no troubles with other services like subscene.com f.e…

Heeeeeeeelp!

Sad
Reply
Debug log: http://pastebin.com/TWhs6saT

Any ideas what I'm doing wrong here? The subtitle file for some reason only gets saved to /tmp folder of the opensubtitle addon, it seems to be unable to add file next to the mkv file on NAS server.

Edit: NVM, found the problem. Have no idea how the folder was set as 755 instead of 777, I set it to chmod 777 and now the addon is able to write to that folder, problem solved.
Reply
Hi I have the same problem. Here my debug log

Code:
03:35:29 T:139819389200128   DEBUG: StartScript - calling plugin OpenSubtitles.org('plugin://service.subtitles.opensubtitles/','16','?action=search&languages=English%2cGalician%2cSpanish&preferredlanguage=Spanish')
03:35:29 T:139819389200128   DEBUG: WaitOnScriptResult - waiting on the OpenSubtitles.org (id=26) plugin...
03:35:29 T:139819256612608  NOTICE: Thread LanguageInvoker start, auto delete: false
03:35:29 T:139819256612608    INFO: initializing python engine.
03:35:29 T:139819256612608   DEBUG: CPythonInvoker(26, /storage/.kodi/addons/service.subtitles.opensubtitles/service.py): start processing
03:35:29 T:139819256612608  NOTICE: -->Python Interpreter Initialized<--
03:35:29 T:139819256612608   DEBUG: CPythonInvoker(26, /storage/.kodi/addons/service.subtitles.opensubtitles/service.py): the source file to load is "/storage/.kodi/addons/service.subtitles.opensubtitles/service.py"
03:35:29 T:139819256612608   DEBUG: CPythonInvoker(26, /storage/.kodi/addons/service.subtitles.opensubtitles/service.py): setting the Python path to /storage/.kodi/addons/service.subtitles.opensubtitles:/usr/lib/python27.zip:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages/PIL:/usr/lib/python2.7/site-packages/gtk-2.0
03:35:29 T:139819256612608   DEBUG: CPythonInvoker(26, /storage/.kodi/addons/service.subtitles.opensubtitles/service.py): entering source directory /storage/.kodi/addons/service.subtitles.opensubtitles
03:35:29 T:139819256612608   DEBUG: CPythonInvoker(26, /storage/.kodi/addons/service.subtitles.opensubtitles/service.py): instantiating addon using automatically obtained id of "service.subtitles.opensubtitles" dependent on version 2.1.0 of the xbmc.python api
03:35:29 T:139819256612608   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeDecodeError'>
                                            Error Contents: 'ascii' codec can't decode byte 0xc3 in position 39: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/service.subtitles.opensubtitles/service.py", line 26, in <module>
                                                shutil.rmtree(__temp__)
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.0/Python-2.7.3/.install_pkg/usr/lib/python2.7/shutil.py", line 239, in rmtree
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.0/Python-2.7.3/.install_pkg/usr/lib/python2.7/posixpath.py", line 69, in join
                                            UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 39: ordinal not in range(128)
                                            -->End of Python script error report<--
03:35:29 T:139820528596864   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
03:35:29 T:139819256612608    INFO: Python script stopped
03:35:29 T:139819256612608   DEBUG: Thread LanguageInvoker 139819256612608 terminating
03:35:29 T:139819389200128   DEBUG:  WaitOnScriptResult - plugin exited prematurely - terminating
03:35:29 T:139819389200128   ERROR: GetDirectory - Error getting plugin://service.subtitles.opensubtitles/?action=search&languages=English%2cGalician%2cSpanish&preferredlanguage=Spanish
03:35:34 T:139820528596864   DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
03:35:59 T:139819389200128   DEBUG: Thread JobWorker 139819389200128 terminating (autodelete)
Reply
Hi,
Could it be possible to refine the search using the group name ?
Reply
Hi,
thanks for this and really depend on subtitles
currently I'm testing nightly and the subtitle add ons is gone hence I'm unable to download/install.

is there a way that I can download manually to install it via (zip file?) using Android/Arm if that makes a difference.

kind regards
Vff
Reply
(2015-02-06, 01:13)xvffx Wrote: Hi,
thanks for this and really depend on subtitles
currently I'm testing nightly and the subtitle add ons is gone hence I'm unable to download/install.

is there a way that I can download manually to install it via (zip file?) using Android/Arm if that makes a difference.

kind regards
Vff

Tested with last night nighty and the subtitle add on is present

Thanks but would like to know if we can do a manual install ?
Reply
http://mirrors.xbmc.org/addons/gotham/se...subtitles/
Reply
Hello guys. Just installed Kodi on my computer. I speak English not good so I want to learn it. So I watch the movies in English and reading subtitles in my language (Russian). I installed Opensubtitles.org. And the problem is that the English subtitles displayed correct, but when I chose Russian it shows some weird characters. looks like Kodi don't understand Russian fonts. Can I fix it or no. thanks for your help
Reply
It is broken again. Some UTF encoding going wrong. I am using OpenElec 5.0.1.

Code:
22:09:21 T:139665734616832   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeDecodeError'>
                                            Error Contents: 'ascii' codec can't decode byte 0xc2 in position 51: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/service.subtitles.opensubtitles/service.py", line 26, in <module>
                                                shutil.rmtree(__temp__)
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.1/Python-2.7.3/.install_pkg/usr/lib/python2.7/shutil.py", line 239, in rmtree
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.1/Python-2.7.3/.install_pkg/usr/lib/python2.7/posixpath.py", line 69, in join
                                            UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 51: ordinal not in range(128)
                                            -->End of Python script error report<--
22:09:21 T:139665734616832    INFO: Python script stopped
22:09:21 T:139665734616832   DEBUG: Thread LanguageInvoker 139665734616832 terminating
22:09:21 T:139665927550720   DEBUG:  WaitOnScriptResult - plugin exited prematurely - terminating
22:09:21 T:139665927550720   ERROR: GetDirectory - Error getting plugin://service.subtitles.opensubtitles/?action=search&languages=Dutch%2cEnglish&preferredlanguage=Dutch
Reply
So somehow OpenSubtitles stopped working......

Other subtitle services still work perfectly, with OpenSubtitles it doesn't matter which subtitle i choose (or film), always the same error;

http://xbmclogs.com/show.php?id=421964

Is the link broken or something?
Reply
On mine i choose opensubtitles from the list and it never searches for anything.
Running Kodi 14.1 on Cubox i2
Reply
So, is this script actively maintained or am I reporting this in the wrong forum?
Reply
remove temp folder from your userdata/addons_data/service.subtitles.opensubtitles and it should be fine
Reply
Thank you, this is the solution to the problem I posted in #145. Reading back the thread, you have already stated the removal of the temp dir as a solution, of which I thought though that it had no relation to my problem. Strange for the existence of a temp dir to cause such an error. Sorry for the redundancy.
Reply
  • 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 22

Logout Mark Read Team Forum Stats Members Help
[service.subtitles.opensubtitles]2