Kolifanes / plugin.video.youtube

YouTube for Kodi with API fixed
GNU General Public License v2.0
118 stars 44 forks source link

Error when Enable setup wizard -> Choose region and language #114

Closed kienhg96 closed 7 years ago

kienhg96 commented 7 years ago

Here is my log when I run setup wizard and choose region and language

09:00:09 T:4028   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: 'items'
                                            Traceback (most recent call last):
                                              File "C:\Users\hoangkien\AppData\Roaming\Kodi\addons\plugin.video.youtube\default.py", line 7, in <module>
                                                runner.run(__provider__)
                                              File "C:\Users\hoangkien\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\kodion\runner.py", line 32, in run
                                                __RUNNER__.run(provider, context)
                                              File "C:\Users\hoangkien\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\hoangkien\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\kodion\abstract_provider.py", line 113, in navigate
                                                self._process_wizard(context)
                                              File "C:\Users\hoangkien\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\kodion\abstract_provider.py", line 100, in _process_wizard
                                                wizard_step[0](*wizard_step[1])
                                              File "C:\Users\hoangkien\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube\helper\yt_setup_wizard.py", line 49, in process
                                                _process_language(provider, context)
                                              File "C:\Users\hoangkien\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube\helper\yt_setup_wizard.py", line 14, in _process_language
                                                items = json_data['items']
                                            KeyError: 'items'
                                            -->End of Python script error report<--
jdf76 commented 7 years ago

What language and region are you trying?

anxdpanic commented 7 years ago

It's an uncaught quota error. Can try a different key set (or personal keys) or different time of day to go through the wizard

kienhg96 commented 7 years ago

@jdf76, I tried to select Vietnamese, @anxdpanic, Yesterday, it worked fine. (I didn't change different key) Thanks.