Hello. I have a problem with video addons on Kodi. I found the reason, but don't know how to fix the problem.
For example I try to use Youtube, however it doesn't start, just shows error (script failed). It's because in my name of Windows User i used polish diacritic letter. On the second PC i have two users and one is without non-latin letters - addons works correctly on that one.
I can show you my log. That is line made by Kodi and it's correct:
For example I try to use Youtube, however it doesn't start, just shows error (script failed). It's because in my name of Windows User i used polish diacritic letter. On the second PC i have two users and one is without non-latin letters - addons works correctly on that one.
I can show you my log. That is line made by Kodi and it's correct:
Quote:21:27:18 T:18396 NOTICE: special://masterprofile/ is mapped to: C:\Users\Przemysław\AppData\Roaming\Kodi\userdataAnd here are lines made by addon:
Quote:21:27:28 T:14544 NOTICE: -->Python Interpreter Initialized<--Do you have any ideas how to fix it without making new account in my OS? I believe you can have other suggestions. I've never had similar problem.
21:27:28 T:14544 NOTICE: [plugin.video.youtube] Starting Kodion framework by bromix...
21:27:28 T:14544 NOTICE: [plugin.video.youtube] Python : 2.7.8
21:27:28 T:14544 NOTICE: [plugin.video.youtube] System : Helix (2.19)
21:27:28 T:14544 NOTICE: [plugin.video.youtube] Context: YouTube (5.0.5)
21:27:28 T:14544 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 0xc5 in position 14: ordinal not in range(128)
Traceback (most recent call last):
File "C:\Users\Przemys�aw\AppData\Roaming\Kodi\addons\plugin.video.youtube\default.py", line 7, in <module>
runner.run(__provider__)
File "C:\Users\Przemys�aw\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\kodion\runner.py", line 28, in run
__RUNNER__.run(provider, context)
File "C:\Users\Przemys�aw\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\kodion\impl\xbmc\xbmc_runner.py", line 23, in run
results = provider.navigate(context)
File "C:\Users\Przemys�aw\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\kodion\abstract_provider.py", line 123, in navigate
result = method(context, re_match)
File "C:\Users\Przemys�aw\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\kodion\abstract_provider.py", line 186, in _internal_root
return self.on_root(context, re_match)
File "C:\Users\Przemys�aw\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube\provider.py", line 388, in on_root
self.get_client(context)
File "C:\Users\Przemys�aw\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube\provider.py", line 92, in get_client
context.get_function_cache().clear()
File "C:\Users\Przemys�aw\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\kodion\impl\abstract_context.py", line 47, in get_function_cache
self._function_cache = FunctionCache(os.path.join(self._get_cache_path(), u'cache'),
File "C:\Users\Przemys�aw\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\kodion\impl\abstract_context.py", line 40, in _get_cache_path
self._cache_path = os.path.join(self.get_data_path(), u'kodion')
File "C:\Program Files (x86)\Kodi\system\python\Lib\ntpath.py", line 84, in join
result_path = result_path + p_path
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 14: ordinal not in range(128)
-->End of Python script error report<--
21:27:28 T:18396 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/
21:27:28 T:18396 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed