Giter Site home page Giter Site logo

Comments (8)

kampanita avatar kampanita commented on August 25, 2024

I suffered the same issue and resolved it just deleting plugin folder
contents at user_data and trying again

Agurrak, Kepa


iNKuBo - Punk Rock de la Margen Izkierda del puto Nervión

http://www.inkubopunk.org


Sólo hay 10 tipos de personas en la vida. Las que entienden el binario y
las que no.

On Thu, Jul 14, 2016 at 1:44 PM, Elie Mouawad [email protected]
wrote:

Sign In to YouTube not working on Krypton (Kodi V17).
Everything works as expected, expect i can't sign in, the pop up
automatically dismisses itself without signing me in.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#54, or mute
the thread
https://github.com/notifications/unsubscribe/ANZ82Fq5jWYu0DtBZzfmypCJdeKCI35Rks5qViEJgaJpZM4JMWU7
.

from plugin.video.youtube.

jdf76 avatar jdf76 commented on August 25, 2024

This is a known issue and stated in the first post on the forum.

Jeff

On Thu, Jul 14, 2016 at 9:08 AM, kampanita [email protected] wrote:

I suffered the same issue and resolved it just deleting plugin folder
contents at user_data and trying again

Agurrak, Kepa


iNKuBo - Punk Rock de la Margen Izkierda del puto Nervión

http://www.inkubopunk.org


Sólo hay 10 tipos de personas en la vida. Las que entienden el binario y
las que no.

On Thu, Jul 14, 2016 at 1:44 PM, Elie Mouawad [email protected]
wrote:

Sign In to YouTube not working on Krypton (Kodi V17).
Everything works as expected, expect i can't sign in, the pop up
automatically dismisses itself without signing me in.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#54, or mute
the thread
<
https://github.com/notifications/unsubscribe/ANZ82Fq5jWYu0DtBZzfmypCJdeKCI35Rks5qViEJgaJpZM4JMWU7

.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#54 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ALozLZUm0XI5K3cR2dlr54TEqjoJ-A5dks5qVjTFgaJpZM4JMWU7
.

from plugin.video.youtube.

jdf76 avatar jdf76 commented on August 25, 2024

This is a known issue as stated in the first post in the forum.

On Thu, Jul 14, 2016 at 7:44 AM, Elie Mouawad [email protected]
wrote:

Sign In to YouTube not working on Krypton (Kodi V17).
Everything works as expected, expect i can't sign in, the pop up
automatically dismisses itself without signing me in.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#54, or mute
the thread
https://github.com/notifications/unsubscribe/ALozLTy_RrzHPim79Cal20x6a1EubCatks5qViEJgaJpZM4JMWU7
.

from plugin.video.youtube.

Rudd-O avatar Rudd-O commented on August 25, 2024

Sign In is not working on ANYTHING:

23:44:25 T:140489537849088  NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Jarvis (16.1) with Python 2.7.11
23:44:52 T:140489537849088   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/user/.kodi/addons/plugin.video.youtube/default.py", line 7, in <module>
                                                runner.run(__provider__)
                                              File "/home/user/.kodi/addons/plugin.video.youtube/resources/lib/kodion/runner.py", line 32, in run
                                                __RUNNER__.run(provider, context)
                                              File "/home/user/.kodi/addons/plugin.video.youtube/resources/lib/kodion/impl/xbmc/xbmc_runner.py", line 23, in run
                                                results = provider.navigate(context)
                                              File "/home/user/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 123, in navigate
                                                result = method(context, re_match)
                                              File "/home/user/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 157, in _internal_root
                                                return self.on_root(context, re_match)
                                              File "/home/user/.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/user/.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<--
23:44:52 T:140490552289856   ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/
23:44:52 T:140490552289856   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed

Version 5.2.1. Just started happening to me after update.

from plugin.video.youtube.

Rudd-O avatar Rudd-O commented on August 25, 2024

Through hackery, I have determined that the access_tokens variable in that line is an empty string. No wonder it blows up.

from plugin.video.youtube.

Rudd-O avatar Rudd-O commented on August 25, 2024

While there's definitely a logic error in the code, my issue was fixed with the following workaround on Kodi 16.1:

  1. Go to the main YouTube menu.
  2. Select "log out".
  3. Log back in again.

That fixed the issue.

from plugin.video.youtube.

Rudd-O avatar Rudd-O commented on August 25, 2024

Clearly the bug happens only when there's some data left over or something. Note that, when YouTube asked me to log in, and it was not working, YouTube was only asking me to authorize the second app, not the first "YouTube TV" app. So this may give a clue as to where the bug lies.

from plugin.video.youtube.

h0d3nt3uf3l avatar h0d3nt3uf3l commented on August 25, 2024

Hey,
I've noticed that error a few days ago but thought i already fixed it. Its because of my autologin if you've a quota issue and I don't thought that one variable could be null.
I'll fix it with a new push to the repo (version 5.2.3)

from plugin.video.youtube.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.