floydwch / kaggle-cli

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

List Index out of Range when trying to download #57

Open obeavers opened 6 years ago

obeavers commented 6 years ago

Hello,

I've set the global config as:

kg config -g -u obeavers -p password -c dogs-vs-cats-redux-kernel-edition

When I go to call :

kg download -v

It returns:

Starting new HTTPS connection (1): www.kaggle.com https://www.kaggle.com:443 "GET /account/login HTTP/1.1" 200 3452 list index out of range

Am I doing something wrong here? I have accepted the terms of the contest.

Thx.

roebius commented 6 years ago

The code in the repo has been updated over the weekend: do a new pip install kaggle-cli and retry (if you haven't already)

floydwch commented 6 years ago

Might be duplicated with https://github.com/floydwch/kaggle-cli/issues/55 .

Can you provide the version? kg --version.

obeavers commented 6 years ago

Looks like a duplicate issue sorry. When I hit pip though, it does not update to 12.11 - just says requirements already satisfied (Conda 3.6).

rcgalbo commented 6 years ago

try pip install kaggle-cli --upgrade

mhs321 commented 6 years ago

I still get a list index out of range error after upgrading kaggle-cli

Installing collected packages: kaggle-cli Found existing installation: kaggle-cli 0.12.11 Uninstalling kaggle-cli-0.12.11: Successfully uninstalled kaggle-cli-0.12.11 Successfully installed kaggle-cli-0.12.13

kg --version 0.11.1

Are others still having issues with the recent changes?

rcgalbo commented 6 years ago

The newest version that I have is 0.12.10

Are you using any virtual environments?

vinodreddyg commented 6 years ago

My current version is 0.12.11 but kg submit gives "list index out of range"

mhs321 commented 6 years ago

Hi @rgalbo I am using a virtual environment

rcgalbo commented 6 years ago

How is your kaggle account configured? Do you login with uname + password or do you have it linked to another account (google, github, facebook)

mhs321 commented 6 years ago

Hi @rgalbo I log in with uname + password. I just did another upgrade on my machine and it seems to have fixed it. All good now 👍 Thanks for your time and support.