Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Login failed on 'gpymusic-get-dev-id' #36

Open
astewartau opened this issue Oct 11, 2017 · 14 comments
Open

Login failed on 'gpymusic-get-dev-id' #36

astewartau opened this issue Oct 11, 2017 · 14 comments

Comments

@astewartau
Copy link

astewartau commented Oct 11, 2017

I've tried running gpymusic-get-dev-id so that I can start using gpymusic. However, after entering my details, I always get the message "Login failed, verify your email and password." I am sure that I have entered my email and password correctly, and I have tested it numerous times in a browser, where it consistently works, and in the terminal, where it does not.

My email address contains several full-stops - I don't know whether that could be an issue. The password is not hugely long (<15 chars; I know the API has issues with very long passwords).

I am running Python 3.5.3 (python3) on Debian 9.

Any idea how I can debug this?

@christopher-dG
Copy link
Owner

Can you try this in a REPL for me?

>>> from gmusicapi import Mobileclient
>>> m = Mobileclient()
>>> m.login(email, password, m.FROM_MAC_ADDRESS)

@christopher-dG
Copy link
Owner

bump?

@Quadronick
Copy link

Quadronick commented Oct 30, 2017

Same here btw.
And result of those code is 'False'

Arch, python 3.6.2.

@christopher-dG
Copy link
Owner

Okay, so this is definitely on gmusicapi's end then. Can you try creating an app password and using that?

@Quadronick
Copy link

Answered to you via email.

@christopher-dG
Copy link
Owner

I don't see why my answers shouldn't be public for others to benefit from.

There is information about creating and using app passwords here.

@Quadronick
Copy link

Quadronick commented Oct 31, 2017

Sorry.
I did it 'couse of notifications about new mail on my phone's screen. I'm not a frequent visitor here.
I followed your link and Google told me, that this setting is unavailable for my account.
Can I provide you any other debug info?

@christopher-dG
Copy link
Owner

Is your account managed by any organization or is it a personal one? @astewartau that's a question for you too as it may be related.

@Quadronick
Copy link

Personal.

@christopher-dG
Copy link
Owner

christopher-dG commented Oct 31, 2017

Hm, that's really weird. I've opened simon-weber/gmusicapi#584, maybe we can find some answers there.

@Quadronick
Copy link

As it's said "App passwords are enabled only if you use 2-step verification". I don't use it.

@christopher-dG
Copy link
Owner

Ah that makes sense. If you're interested in changing your password and trying to log in with the new one feel free, but otherwise don't worry about it (that's quite a bit of hassle).

@SkyLeite
Copy link

Same here

@academo
Copy link

academo commented Nov 26, 2018

I submitted a PR that uses oauth for loggin and should remove this issuse once for all #50

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants