Forum

Full Version: Opensubtitle addon error (and others)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi people, I am having some issues with the subtitles addons, especially opensubtitles.
When it start searching for subtitles a pop up apperas saying: opensubtitle.org error (check de log)
I did that and I really dont know what to do, hope you can help me, its seems something with python

I just copy the important part (hope that is the important part Confused)
Thank you

Code:
20:35:58 914.846497 T:1954832960   DEBUG: ------ Window Init (DialogSubtitles.xml) ------
20:35:58 914.848389 T:1954832960   DEBUG: Window DialogSubtitles.xml was already loaded
20:35:58 914.848694 T:1954832960   DEBUG: Alloc resources: 1.69ms
20:35:58 914.851135 T:1954832960   DEBUG: New Service [service.subtitles.opensubtitles]
20:35:58 914.851868 T:1954832960   ERROR: Control 120 in window 10153 has been asked to focus, but it can't
20:35:58 914.855286 T:1506223024   DEBUG: StartScript - calling plugin OpenSubtitles.org('plugin://service.subtitles.opensubtitles/','13','?action=search&languages=English%2cSpanish&preferredlanguage=English')
20:35:58 914.856262 T:1533014960  NOTICE: Thread LanguageInvoker start, auto delete: false
20:35:58 914.856750 T:1506223024   DEBUG: WaitOnScriptResult - waiting on the OpenSubtitles.org (id=16) plugin...
20:35:58 914.857056 T:1533014960    INFO: initializing python engine.
20:35:58 914.857300 T:1533014960   DEBUG: CPythonInvoker(16, /home/xbian/.kodi/addons/service.subtitles.opensubtitles/service.py): start processing
20:35:58 915.060608 T:1954832960   DEBUG: ------ Window Deinit (VideoOSD.xml) ------
20:35:58 915.073608 T:1845511088   DEBUG: PushCecKeypress - received key  b duration 260
20:35:58 915.467957 T:1533014960  NOTICE: -->Python Interpreter Initialized<--
20:35:58 915.468445 T:1533014960   DEBUG: CPythonInvoker(16, /home/xbian/.kodi/addons/service.subtitles.opensubtitles/service.py): the source file to load is "/home/xbian/.kodi/addons/service.subtitles.opensubtitles/service.py"
20:35:58 915.468872 T:1533014960   DEBUG: CPythonInvoker(16, /home/xbian/.kodi/addons/service.subtitles.opensubtitles/service.py): setting the Python path to /home/xbian/.kodi/addons/service.subtitles.opensubtitles:/usr/lib/python2.7:/usr/lib/python2.7/plat-arm-linux-gnueabihf:/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
20:35:58 915.469055 T:1533014960   DEBUG: CPythonInvoker(16, /home/xbian/.kodi/addons/service.subtitles.opensubtitles/service.py): entering source directory /home/xbian/.kodi/addons/service.subtitles.opensubtitles
20:35:58 915.469299 T:1533014960   DEBUG: CPythonInvoker(16, /home/xbian/.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
20:35:59 916.503174 T:1533014960   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 43: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "/home/xbian/.kodi/addons/service.subtitles.opensubtitles/service.py", line 26, in <module>
                                                shutil.rmtree(__temp__)
                                              File "/usr/lib/python2.7/shutil.py", line 241, in rmtree
                                                fullname = os.path.join(path, name)
                                              File "/usr/lib/python2.7/posixpath.py", line 78, in join
                                                path +=  b
                                            UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 43: ordinal not in range(128)
                                            -->End of Python script error report<--
(10th Nov, 2015 09:53 AM)besgum Wrote: [ -> ]Hi people, I am having some issues with the subtitles addons, especially opensubtitles.
When it start searching for subtitles a pop up apperas saying: opensubtitle.org error (check de log)
I did that and I really dont know what to do, hope you can help me, its seems something with python

I just copy the important part (hope that is the important part Confused)
Thank you

Code:
20:35:58 914.846497 T:1954832960   DEBUG: ------ Window Init (DialogSubtitles.xml) ------
20:35:58 914.848389 T:1954832960   DEBUG: Window DialogSubtitles.xml was already loaded
20:35:58 914.848694 T:1954832960   DEBUG: Alloc resources: 1.69ms
20:35:58 914.851135 T:1954832960   DEBUG: New Service [service.subtitles.opensubtitles]
20:35:58 914.851868 T:1954832960   ERROR: Control 120 in window 10153 has been asked to focus, but it can't
20:35:58 914.855286 T:1506223024   DEBUG: StartScript - calling plugin OpenSubtitles.org('plugin://service.subtitles.opensubtitles/','13','?action=search&languages=English%2cSpanish&preferredlanguage=English')
20:35:58 914.856262 T:1533014960  NOTICE: Thread LanguageInvoker start, auto delete: false
20:35:58 914.856750 T:1506223024   DEBUG: WaitOnScriptResult - waiting on the OpenSubtitles.org (id=16) plugin...
20:35:58 914.857056 T:1533014960    INFO: initializing python engine.
20:35:58 914.857300 T:1533014960   DEBUG: CPythonInvoker(16, /home/xbian/.kodi/addons/service.subtitles.opensubtitles/service.py): start processing
20:35:58 915.060608 T:1954832960   DEBUG: ------ Window Deinit (VideoOSD.xml) ------
20:35:58 915.073608 T:1845511088   DEBUG: PushCecKeypress - received key  b duration 260
20:35:58 915.467957 T:1533014960  NOTICE: -->Python Interpreter Initialized<--
20:35:58 915.468445 T:1533014960   DEBUG: CPythonInvoker(16, /home/xbian/.kodi/addons/service.subtitles.opensubtitles/service.py): the source file to load is "/home/xbian/.kodi/addons/service.subtitles.opensubtitles/service.py"
20:35:58 915.468872 T:1533014960   DEBUG: CPythonInvoker(16, /home/xbian/.kodi/addons/service.subtitles.opensubtitles/service.py): setting the Python path to /home/xbian/.kodi/addons/service.subtitles.opensubtitles:/usr/lib/python2.7:/usr/lib/python2.7/plat-arm-linux-gnueabihf:/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
20:35:58 915.469055 T:1533014960   DEBUG: CPythonInvoker(16, /home/xbian/.kodi/addons/service.subtitles.opensubtitles/service.py): entering source directory /home/xbian/.kodi/addons/service.subtitles.opensubtitles
20:35:58 915.469299 T:1533014960   DEBUG: CPythonInvoker(16, /home/xbian/.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
20:35:59 916.503174 T:1533014960   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 43: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "/home/xbian/.kodi/addons/service.subtitles.opensubtitles/service.py", line 26, in <module>
                                                shutil.rmtree(__temp__)
                                              File "/usr/lib/python2.7/shutil.py", line 241, in rmtree
                                                fullname = os.path.join(path, name)
                                              File "/usr/lib/python2.7/posixpath.py", line 78, in join
                                                path +=  b
                                            UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 43: ordinal not in range(128)
                                            -->End of Python script error report<--

seems to be problem with your language settings. check your regional settings.
and btw, what language you looking at?
On my side opensubtitles is asking for the password all the time (same if i had fill it ... ) Perhao'ps it's the same issues ?
Reference URL's