Kodi Community Forum

Full Version: Error downloading subtitles (script failed)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I have a problem when I try to download the subtitles using video add-ons from all of the sources, like PipocasTV or LegendasDivx.

The error:
22:19:43 T:6952 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 11: ordinal not in range(128)
Traceback (most recent call last):
File "C:\Users\Fl�via\AppData\Roaming\Kodi\addons\service.subtitles.pipocas\service.py", line 537, in <module>
subs = Download(params["id"], params["filename"])
File "C:\Users\Fl�via\AppData\Roaming\Kodi\addons\service.subtitles.pipocas\service.py", line 416, in Download
log(u"Saving subtitles to '%s'" % (local_tmp_file,))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 11: ordinal not in range(128)
-->End of Python script error report<--
22:19:43 T:7096 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://service.subtitles.pipocas/?action=download&id=33797&filename=Breaking.Bad.S05E01.HDTV.x264-FQM/AFG/ORENJI/CrrlHD hits: 331 uploader: PT-Subs

Version: Kodi 14.2

How I can solve this error?

Thanks
the subtitle addon crashes on the special character in your username.
someone would need to fix the addon.
18:00:17 T:1344 DEBUG: CJoystick::Initialize : No Joystick found
18:00:17 T:1344 DEBUG: CWinEventsWin32::WndProcWindow is active
18:00:17 T:1344 DEBUG: CInputManager:TonguerocessMouse: trying mouse action leftclick
18:00:19 T:5576 DEBUG: Previous line repeats 1 times.
18:00:19 T:5576 NOTICE: Thread JobWorker start, auto delete: true
18:00:19 T:5576 DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin Subtitles.gr('plugin://service.subtitles.subtitles.gr/','10','?action=download&url=http%3A%2F%2Fsubz.blog-spot.gr%2Fdownloads%2Fhell-wheels-season-05-episode-02-mei-mei%2F%3Fwpdmdl%3D68253%26ind%3DLPN3MaTzhAMIM36lZssmXdBPg1Wy3OSa13gpnYxTK5k2ggJ2hQMCu8a4mn_yI5aZ9ffvtmmQvN9L3JNyQVIcZA&source=subztv&name=%5Bsubz.tv%5D+Hell.on.Wheels.S05E02.720p.HDTV.x264-KILLERS')
18:00:19 T:5576 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the Subtitles.gr (id=12) plugin...
18:00:19 T:4636 NOTICE: Thread LanguageInvoker start, auto delete: false
18:00:19 T:4636 INFO: initializing python engine.
18:00:19 T:4636 DEBUG: CPythonInvoker(12, C:\Users\Δημήτρης\AppData\Roaming\Kodi\addons\service.subtitles.subtitles.gr\service.py): start processing
18:00:19 T:4636 NOTICE: -->Python Interpreter Initialized<--
18:00:19 T:4636 DEBUG: CPythonInvoker(12, C:\Users\Δημήτρης\AppData\Roaming\Kodi\addons\service.subtitles.subtitles.gr\service.py): the source file to load is "C:\Users\Δημήτρης\AppData\Roaming\Kodi\addons\service.subtitles.subtitles.gr\service.py"
18:00:19 T:4636 DEBUG: CPythonInvoker(12, C:\Users\Δημήτρης\AppData\Roaming\Kodi\addons\service.subtitles.subtitles.gr\service.py): setting the Python path to C:\Users\Δημήτρης\AppData\Roaming\Kodi\addons\service.subtitles.subtitles.gr;C:\Users\Δημήτρης\AppData\Roaming\Kodi\addons\script.module.parsedom\lib;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
18:00:19 T:4636 DEBUG: CPythonInvoker(12, C:\Users\Δημήτρης\AppData\Roaming\Kodi\addons\service.subtitles.subtitles.gr\service.py): entering source directory C:\Users\Δημήτρης\AppData\Roaming\Kodi\addons\service.subtitles.subtitles.gr
18:00:19 T:4636 DEBUG: CPythonInvoker(12, C:\Users\Δημήτρης\AppData\Roaming\Kodi\addons\service.subtitles.subtitles.gr\service.py): instantiating addon using automatically obtained id of "service.subtitles.subtitles.gr" dependent on version 2.14.0 of the xbmc.python api
18:00:20 T:4636 NOTICE: CommonFunctions-2.5.1
18:00:20 T:4636 INFO: CPythonInvoker(12, C:\Users\Δημήτρης\AppData\Roaming\Kodi\addons\service.subtitles.subtitles.gr\service.py): script successfully run
18:00:20 T:5576 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult- plugin returned successfully
18:00:20 T:1344 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
18:00:20 T:4636 INFO: Python script stopped
18:00:20 T:4636 DEBUG: Thread LanguageInvoker 4636 terminating
18:00:22 T:1344 DEBUG: CInputManager:TonguerocessMouse: trying mouse action leftclick
18:00:23 T:1344 DEBUG: Keyboard: scancode: 0x38, sym: 0x0134, unicode: 0x0000, modifier: 0x100
18:00:23 T:1344 DEBUG: CInputManager::OnKey: alt-leftalt (0x4f0d4) pressed, action is
18:00:23 T:1344 DEBUG: ------ Window Deinit (Pointer.xml) ------
18:00:23 T:1344 DEBUG: CWinEventsWin32::WndProcWindow is active
18:00:23 T:1344 DEBUG: CWinEventsWin32::WndProc: Focus switched to process C:\Windows\explorer.exe
18:00:23 T:1344 DEBUG: ------ Window Init (Pointer.xml) ------
18:00:25 T:1344 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
18:00:28 T:1344 DEBUG: CJoystick::Initialize : No Joystick found
18:00:28 T:1344 DEBUG: CWinEventsWin32::WndProcWindow is active
18:00:30 T:1344 DEBUG: Keyboard: scancode: 0x38, sym: 0x0134, unicode: 0x0000, modifier: 0x100
18:00:30 T:1344 DEBUG: CInputManager::OnKey: alt-leftalt (0x4f0d4) pressed, action is
18:00:30 T:1344 DEBUG: ------ Window Deinit (Pointer.xml) ------
18:00:30 T:1344 DEBUG: ------ Window Init (Pointer.xml) ------
18:00:30 T:1344 DEBUG: CWinEventsWin32::WndProcWindow is active
18:00:30 T:1344 DEBUG: CWinEventsWin32::WndProc: Focus switched to process C:\Windows\explorer.exe