Kolifanes / plugin.video.youtube

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

Endless activation request #58

Open giordy opened 8 years ago

giordy commented 8 years ago

Hi,

first of all, thanks for your work. Since yesterday when I start the add-on it asks for activation and to input a code that I see on screen at the url youtube.com/activate. No matter how many times I follow the procedure and try to complete the activation, I get a notification about some error from youtube and it becomes impossible to perform any search.

timmit99 commented 8 years ago

Second this error. Reinstalled, and tried to install from a ZIP file with the same results.

h0d3nt3uf3l commented 8 years ago

Debuglog would be userfull please

nicolasr75 commented 7 years ago

I would like to provide the log file but don't know where it is located. I'm using OpenElec on a Rasperry Pi. There is a folder /storage/logfiles which contains zip files with timestamps and each zip file contains these files:

Is one of these files the relevant one?

paulnovo commented 7 years ago

@nicolasr75 I found my log in ~/.kodi/temp/kodi.log @h0d3nt3uf3l I think this is the relevant error I am getting:

14:29:31 T:139818390497024   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IndexError'>
                                            Error Contents: string index out of range
                                            Traceback (most recent call last):
                                              File "/home/foo/.kodi/addons/plugin.video.youtube/default.py", line 7, in <module>
                                                runner.run(__provider__)
                                              File "/home/foo/.kodi/addons/plugin.video.youtube/resources/lib/kodion/runner.py", line 32, in run
                                                __RUNNER__.run(provider, context)
                                              File "/home/foo/.kodi/addons/plugin.video.youtube/resources/lib/kodion/impl/xbmc/xbmc_runner.py", line 23, in
 run
                                                results = provider.navigate(context)
                                              File "/home/foo/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 123, in na
vigate
                                                result = method(context, re_match)
                                              File "/home/foo/.kodi/addons/pl
ugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 157, in _internal_root
                                                return self.on_root(context, re_match)
                                              File "/home/foo/.kodi/addons/plugin.video.youtube/resources/lib/youtube/provider.py", line 500, in on_root
                                                yt_login.process(mode, self, context, re_match, False)
                                              File "/home/foo/.kodi/addons/plugin.video.youtube/resources/lib/youtube/helper/yt_login.py", line 123, in process
                                                access_token = '%s|%s' % (access_tokens[0], access_token_kodi)
                                            IndexError: string index out of range
                                            -->End of Python script error report<--
nicolasr75 commented 7 years ago

@paulnovo Exactly the same error here in the kodi.log although the paths are based on /storage instead of /home/foo on my RasPi.

bcontins commented 7 years ago

I had the same error on a Raspberry Pi 2 running OpenELEC.

YouTube (5.2.1) on Jarvis (16.1) with Python 2.7.11

I managed to work around it by doing:

I got back to a normal state with my subscriptions.

jdf76 commented 7 years ago

I'm actually in the process of pushing 5.3.3 to the Kodi Repository but. if you feel comfortable upgrading on your on you can download it from plugin.video.youtube-5.3.3.zip Also if you run Krypton you can use Dash Support.

Jeff

CrazyPython commented 7 years ago

The error is "API Quota Exceeded" which is a big hint at what the problem is.