floydwch / kaggle-cli

(Deprecated, use https://github.com/Kaggle/kaggle-api instead) An unofficial Kaggle command line tool.
MIT License
674 stars 92 forks source link

Can't authenticate with valid credentials #60

Open yissachar opened 6 years ago

yissachar commented 6 years ago

Trying to download competition files gives me authentication errors:

$ kg download -u <my-username> -p <my-password> -c <competition>
Starting new HTTPS connection (1): www.kaggle.com
The username or password provided is incorrect.
'NoneType' object has no attribute 'get'

I'm using the same user and password that lets me login via the browser with no problems.

floydwch commented 6 years ago

What's the version?

yissachar commented 6 years ago

0.12.13

elbaro commented 6 years ago

-u <email> worked.

yissachar commented 6 years ago

Using email doesn't help - I get the same error.

floydwch commented 6 years ago

@yissachar Any special character in your password?

yissachar commented 6 years ago

Password begins with a $. Would that somehow cause any issues?

yissachar commented 6 years ago

Changing password to something that doesn't contain $ works. Seems $ causes the bug whether it is at the start of password or anywhere in middle.

rissem commented 6 years ago

I ran into this as well (because of a '>' in my password I think). Simply quoting my password fixed it for me.

chasehere commented 6 years ago

Quoting didn't work for me but escaping dollar signs did. E.g. -p mypa\$word