Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Play music login failed (API returned false) - 2FA / MFA #65

Open
frederik-b opened this issue Nov 9, 2020 · 0 comments
Open

Comments

@frederik-b
Copy link

I enabled 2/multi factor authentication for google and I assume thats the reason it can't log in.

This is the error that shows up when I hit save on the settings page and clay crashes:

<decorator-gen-76>:2: GmusicapiWarning: login is deprecated and may break unexpectedly; prefer Mobileclient.oauth_login
Traceback (most recent call last):
  File "/home/fred/.local/bin/clay", line 33, in <module>
    sys.exit(load_entry_point('clay-player==1.1.0', 'console_scripts', 'clay')())
  File "/home/fred/.local/lib/python3.9/site-packages/clay/app.py", line 407, in main
    loop.run()
  File "/home/fred/.local/lib/python3.9/site-packages/urwid/main_loop.py", line 287, in run
    self._run()
  File "/home/fred/.local/lib/python3.9/site-packages/urwid/main_loop.py", line 385, in _run
    self.event_loop.run()
  File "/home/fred/.local/lib/python3.9/site-packages/urwid/main_loop.py", line 790, in run
    self._loop()
  File "/home/fred/.local/lib/python3.9/site-packages/urwid/main_loop.py", line 827, in _loop
    self._watch_files[fd]()
  File "/home/fred/.local/lib/python3.9/site-packages/urwid/raw_display.py", line 416, in <lambda>
    wrapper = lambda: self.parse_input(
  File "/home/fred/.local/lib/python3.9/site-packages/urwid/raw_display.py", line 515, in parse_input
    callback(processed, processed_codes)
  File "/home/fred/.local/lib/python3.9/site-packages/urwid/main_loop.py", line 412, in _update
    self.process_input(keys)
  File "/home/fred/.local/lib/python3.9/site-packages/urwid/main_loop.py", line 513, in process_input
    k = self._topmost_widget.keypress(self.screen_size, k)
  File "/home/fred/.local/lib/python3.9/site-packages/clay/app.py", line 233, in keypress
    hotkey_manager.keypress("global", self, super(AppWidget, self), size, key)
  File "/home/fred/.local/lib/python3.9/site-packages/clay/hotkeys.py", line 140, in keypress
    ret = super_.keypress(size, key)
  File "/home/fred/.local/lib/python3.9/site-packages/urwid/container.py", line 1135, in keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/home/fred/.local/lib/python3.9/site-packages/urwid/container.py", line 2316, in keypress
    key = w.keypress((mc,) + size[1:], key)
  File "/home/fred/.local/lib/python3.9/site-packages/urwid/listbox.py", line 968, in keypress
    key = focus_widget.keypress((maxcol,),key)
  File "/home/fred/.local/lib/python3.9/site-packages/urwid/wimp.py", line 543, in keypress
    self._emit('click')
  File "/home/fred/.local/lib/python3.9/site-packages/urwid/widget.py", line 461, in _emit
    signals.emit_signal(self, name, self, *args)
  File "/home/fred/.local/lib/python3.9/site-packages/urwid/signals.py", line 265, in emit
    result |= self._call_callback(callback, user_arg, user_args, args)
  File "/home/fred/.local/lib/python3.9/site-packages/urwid/signals.py", line 295, in _call_callback
    return bool(callback(*args_to_pass))
  File "/home/fred/.local/lib/python3.9/site-packages/clay/pages/settings.py", line 197, in on_save
    self.app.set_page('MyLibraryPage')
  File "/home/fred/.local/lib/python3.9/site-packages/clay/app.py", line 188, in set_page
    page = [page for page in self.pages if page.slug == slug][0]
IndexError: list index out of range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant