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

TypeError: login() takes exactly 4 arguments (3 given) (line 38) #4

Open
gosuto-inzasheru opened this issue Dec 11, 2015 · 0 comments

Comments

@gosuto-inzasheru
Copy link
Contributor

I am getting several errors. First one:

bash-3.2$ python2 gmusicimport.py -u "[email protected]" -v --dry-run playlists.json 
Logging in as "[email protected]" to Google Play Music
Password: 
Traceback (most recent call last):
  File "gmusicimport.py", line 38, in <module>
    if not client.login(args.username, pw):
TypeError: login() takes exactly 4 arguments (3 given)

After some debugging I edited line 38 to:
if not client.login(args.username, pw, Mobileclient.FROM_MAC_ADDRESS):

This got me a step further!

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