gpymusic icon indicating copy to clipboard operation
gpymusic copied to clipboard

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

Open astewartau opened this issue 6 years ago • 14 comments

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?

astewartau avatar Oct 11 '17 23:10 astewartau

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 avatar Oct 12 '17 09:10 christopher-dG

bump?

christopher-dG avatar Oct 23 '17 12:10 christopher-dG

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

Arch, python 3.6.2.

Quadronick avatar Oct 30 '17 06:10 Quadronick

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

christopher-dG avatar Oct 30 '17 08:10 christopher-dG

Answered to you via email.

Quadronick avatar Oct 31 '17 11:10 Quadronick

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.

christopher-dG avatar Oct 31 '17 11:10 christopher-dG

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?

Quadronick avatar Oct 31 '17 12:10 Quadronick

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.

christopher-dG avatar Oct 31 '17 12:10 christopher-dG

Personal.

Quadronick avatar Oct 31 '17 12:10 Quadronick

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

christopher-dG avatar Oct 31 '17 13:10 christopher-dG

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

Quadronick avatar Oct 31 '17 13:10 Quadronick

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).

christopher-dG avatar Nov 01 '17 12:11 christopher-dG

Same here

SkyLeite avatar Jan 10 '18 12:01 SkyLeite

I submitted a PR that uses oauth for loggin and should remove this issuse once for all https://github.com/christopher-dG/gpymusic/pull/50

academo avatar Nov 26 '18 10:11 academo