Jump to content

Emby for Kodi v3.1.10a - Error on KODi start


Recommended Posts

Posted (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 by janenner
kaufhauslicht
Posted

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
Posted

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.

Posted

@@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.

  • Like 1
horstepipe
Posted

@@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!

Angelblue05
Posted

Looking into it right now.

Posted

Switching the language from German to any Others language actually solves the problem. The obscure german characters äöü seem to be the bad guys

Posted

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<--
  • Like 1
Angelblue05
Posted (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 by Angelblue05
  • Like 1
Posted

Yes i think it must be fixed at every position in code where the strings from language files are in use.

  • Like 1
Posted

Working. Startup OK. Emby Settings OK, no errors so far. :D

  • Like 1
Angelblue05
Posted

Thank you for confirming, I'll push a new build out in a few. Just a couple of things to fix still.

  • Like 1
Angelblue05
Posted

Version 3.1.11 is on the way.

Guest
This topic is now closed to further replies.
×
×
  • Create New...