janenner 2 Posted September 10, 2018 Posted September 10, 2018 (edited) Hello, using the current version, setup and initial sync ist successfull, but after restarting Kodi I got a Emby error message and no media is playable. Logfile attached. kodi.log Edited September 10, 2018 by janenner
kaufhauslicht 3 Posted September 10, 2018 Posted September 10, 2018 Hi, I am having similar issues, but there is no initial sync with my emby server using the latest emby for Kodi addon (3.1.10a) at all. There is also an error message of the kodi emby addon when I start my client. My Kodi client is a S905x Box running on the lastet Coreelec (8.95.1). Log: http://ix.io/1mot
horstepipe 377 Posted September 10, 2018 Posted September 10, 2018 Same here: 17:36:42.143 T:7360 NOTICE: EMBY.database -> ERROR:: type: <type 'exceptions.UnicodeDecodeError'> value: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128) 17:36:42.146 T:7360 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 1: ordinal not in range(128) Traceback (most recent call last): File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\service.py", line 44, in <module> session = Service() File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\entrypoint\service.py", line 69, in __init__ Views().get_nodes() File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\views.py", line 194, in get_nodes self.add_nodes(node_path, view) File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\views.py", line 250, in add_nodes self.node(folder, view) File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\views.py", line 331, in node self.add_node(NODES[view['Media']].index(node), file, view, xml_name, xml_label) File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\views.py", line 376, in add_node write_xml(etree.tostring(xml, 'UTF-8'), file) File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 1126, in tostring ElementTree(element).write(file, encoding, method=method) File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 820, in write serialize(write, self._root, encoding, qnames, namespaces) File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 939, in _serialize_xml _serialize_xml(write, e, encoding, qnames, None) File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 937, in _serialize_xml write(_escape_cdata(text, encoding)) File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 1073, in _escape_cdata return text.encode(encoding, "xmlcharrefreplace") UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128) -->End of Python script error report<-- 17:36:42.223 T:13480 ERROR: XFILE::CDirectory::GetDirectory - Error getting - 17:36:46.100 T:16756 ERROR: Previous line repeats 62 times.
loomes 40 Posted September 10, 2018 Posted September 10, 2018 @@horstepipe The Problem are the äöü in the german language file. Change to en or replace all äöü with ae ue oe in the po file for now. 1
horstepipe 377 Posted September 10, 2018 Posted September 10, 2018 @@horstepipe The Problem are the äöü in the german language file. Change to en or replace all äöü with ae ue oe in the po file for now. Thanks for the hint!
Seger 118 Posted September 10, 2018 Posted September 10, 2018 (edited) @@Angelblue05 +1 Edited September 10, 2018 by Seger
janenner 2 Posted September 10, 2018 Author Posted September 10, 2018 Switching the language from German to any Others language actually solves the problem. The obscure german characters äöü seem to be the bad guys
loomes 40 Posted September 10, 2018 Posted September 10, 2018 Not working 3:27:22.160 T:173640877296 NOTICE: Emby -> ---[ START EMBYCLIENT ]--- 23:27:22.511 T:173631550704 ERROR: Window Translator: Can't find window videolibrary 23:27:22.612 T:173640877296 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.UnicodeEncodeError'> Error Contents: 'ascii' codec can't encode character u'\xfc' in position 1: ordinal not in range(128) Traceback (most recent call last): File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/service.py", line 44, in <module> session = Service() File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/resources/lib/entrypoint/service.py", line 69, in __init__ Views().get_nodes() File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/resources/lib/views.py", line 208, in get_nodes self.window_nodes() File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/resources/lib/views.py", line 658, in window_nodes self.window_node(index, view, *node) File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/resources/lib/views.py", line 722, in window_node window('%s.title' % window_prop, str(node_label) or view['Name'].encode('utf-8')) UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 1: ordinal not in range(128) -->End of Python script error report<-- 1
Angelblue05 4131 Posted September 10, 2018 Posted September 10, 2018 (edited) Ok it's a different error. But at least the fix for the nodes work (if you compare to the error post #3). Let me update the build and make you retry. Give me a few minutes. Edited September 10, 2018 by Angelblue05 1
loomes 40 Posted September 10, 2018 Posted September 10, 2018 Yes i think it must be fixed at every position in code where the strings from language files are in use. 1
Angelblue05 4131 Posted September 10, 2018 Posted September 10, 2018 Try this build. plugin.video.emby-3.1.10a.zip 1
loomes 40 Posted September 10, 2018 Posted September 10, 2018 Working. Startup OK. Emby Settings OK, no errors so far. 1
Angelblue05 4131 Posted September 10, 2018 Posted September 10, 2018 Thank you for confirming, I'll push a new build out in a few. Just a couple of things to fix still. 1
Recommended Posts