Found a lot of posts referencing this script error, but none of the steps listed(that I found anyway) worked.
Normally just use the Youtube addon for Trailers, but whenever I click to view a movie trailer, it throws the error.
The same occurs when I launch the Youtube app and try to load a video.
I added the addons and scripts that bromix had posted, I've uninstalled and reinstalled.
Deleted the userdata addons folder
Is this perhaps because I'm running the RC version of Helix?
Kodi (14.2-RC1 Git:20150311-e7ba06f)
Using Release Kodi x32 build
Kodi compiled Mar 11 2015 by MSVC 180030723 for Windows NT x86 32-bit version 6.0 (0x06000000)
Running on Hewlett-Packard 200-009 with Windows 8.1, kernel: Windows NT x86 64-bit version 6.3
Host CPU: Intel® Celeron® 2957U @ 1.40GHz, 2 cores available
Desktop Resolution: 1920x1080 32Bit at 30Hz
Code:
13:49:44 T:4084 DEBUG: ------ Window Deinit (DialogVideoInfo.xml) ------
13:49:44 T:4084 DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin YouTube('plugin://plugin.video.youtube/','5','?action=play_video&videoid=qFuzMlfZGWM')
13:49:44 T:4084 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the YouTube (id=15) plugin...
13:49:44 T:968 NOTICE: Thread LanguageInvoker start, auto delete: false
13:49:44 T:968 INFO: initializing python engine.
13:49:44 T:968 DEBUG: CPythonInvoker(15, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.video.youtube\default.py): start processing
13:49:44 T:968 NOTICE: -->Python Interpreter Initialized<--
13:49:44 T:968 DEBUG: CPythonInvoker(15, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.video.youtube\default.py): the source file to load is "C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.video.youtube\default.py"
13:49:44 T:968 DEBUG: CPythonInvoker(15, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.video.youtube\default.py): setting the Python path to C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.video.youtube;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
13:49:44 T:968 DEBUG: CPythonInvoker(15, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.video.youtube\default.py): entering source directory C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.video.youtube
13:49:44 T:968 DEBUG: CPythonInvoker(15, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.video.youtube\default.py): instantiating addon using automatically obtained id of "plugin.video.youtube" dependent on version 2.14.0 of the xbmc.python api
13:49:45 T:968 DEBUG: [plugin.video.youtube] Starting Kodion framework by bromix...
13:49:45 T:968 NOTICE: [plugin.video.youtube] Running: YouTube (5.0.9) on Helix (14.2) with Python 2.7.8
13:49:45 T:968 DEBUG: [plugin.video.youtube] Path: "/
13:49:45 T:968 DEBUG: [plugin.video.youtube] Params: "{'action': u'play_video', 'videoid': u'qFuzMlfZGWM'}"
13:49:45 T:968 WARNING: [plugin.video.youtube] DEPRECATED "plugin://plugin.video.youtube/?action=play_video&videoid=qFuzMlfZGWM"
13:49:45 T:968 WARNING: [plugin.video.youtube] USE INSTEAD "plugin://plugin.video.youtube/play/?video_id=qFuzMlfZGWM"
13:49:45 T:968 DEBUG: [plugin.video.youtube] User is not logged in
13:49:46 T:968 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: 'NoneType' object has no attribute '__getitem__'
Traceback (most recent call last):
File "C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.video.youtube\default.py", line 7, in <module>
runner.run(__provider__)
File "C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\kodion\runner.py", line 32, in run
__RUNNER__.run(provider, context)
File "C:\Users\USER\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\USER\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\USER\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\USER\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube\provider.py", line 416, in on_root
return yt_old_actions.process_old_action(self, context, re_match)
File "C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube\helper\yt_old_actions.py", line 49, in process_old_action
return _process_play_video(provider, context, re_match)
File "C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube\helper\yt_old_actions.py", line 19, in _process_play_video
return provider.on_play(new_context, re_match)
File "C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\kodion\register_provider_path.py", line 12, in wrapper
return func(*args, **kwargs)
File "C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube\provider.py", line 299, in on_play
return yt_play.play_video(self, context, re_match)
File "C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube\helper\yt_play.py", line 24, in play_video
if video_stream['format'].get('rtmpe', False):
TypeError: 'NoneType' object has no attribute '__getitem__'
-->End of Python script error report<--
13:49:46 T:4084 DEBUG: DialogProgress::StartModal called
13:49:46 T:4084 DEBUG: ------ Window Init (DialogProgress.xml) ------
13:49:46 T:4084 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
13:49:46 T:968 INFO: Python script stopped
13:49:46 T:968 DEBUG: Thread LanguageInvoker 968 terminating
13:49:46 T:4084 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
13:49:46 T:4084 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
Not sure if that code from the log helps, this is a fresh Kodi install on a brand new HP Stream Mini, not sure if it's because I installed the RC version (an oversight on my part) or if this is a permissions issue perhaps?
Appreciate any help/suggestions.