You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error messaging improvement's: For those of you having this issue (I do think error do not depends on competition)
Command: kaggle competitions download rsna-2024-lumbar-spine-degenerative-classification Error: IndexError: tuple index out of range Cause: Wrong or Expired API key Workaround: Update your local key (~/.kaggle/kaggle.json) Fix: Print out a diff message so user :-) do not spend 1/2 day finding a fix on google
Traceback (most recent call last): File "/home/karel/.local/bin/kaggle", line 8, in sys.exit(main()) File "/home/karel/.local/lib/python3.10/site-packages/kaggle/cli.py", line 54, in main out = args.func(**command_args) File "/home/karel/.local/lib/python3.10/site-packages/kaggle/api/kaggle_api_extended.py", line 1026, in competition_download_cli self.competition_download_files(competition, path, force, File "/home/karel/.local/lib/python3.10/site-packages/kaggle/api/kaggle_api_extended.py", line 989, in competition_download_files url = response.retries.history[0].redirect_location.split('?')[0] IndexError: tuple index out of range
After playing around I found the error is related to wrong/expired API key.
note: You will find some very old similar bugs but are totally unrelated
The text was updated successfully, but these errors were encountered:
Error messaging improvement's: For those of you having this issue (I do think error do not depends on competition)
Command: kaggle competitions download rsna-2024-lumbar-spine-degenerative-classification
Error: IndexError: tuple index out of range
Cause: Wrong or Expired API key
Workaround: Update your local key (~/.kaggle/kaggle.json)
Fix: Print out a diff message so user :-) do not spend 1/2 day finding a fix on google
$ kaggle competitions download rsna-2024-lumbar-spine-degenerative-classification
...
Traceback (most recent call last): File "/home/karel/.local/bin/kaggle", line 8, in sys.exit(main()) File "/home/karel/.local/lib/python3.10/site-packages/kaggle/cli.py", line 54, in main out = args.func(**command_args) File "/home/karel/.local/lib/python3.10/site-packages/kaggle/api/kaggle_api_extended.py", line 1026, in competition_download_cli self.competition_download_files(competition, path, force, File "/home/karel/.local/lib/python3.10/site-packages/kaggle/api/kaggle_api_extended.py", line 989, in competition_download_files url = response.retries.history[0].redirect_location.split('?')[0] IndexError: tuple index out of range
After playing around I found the error is related to wrong/expired API key.
note: You will find some very old similar bugs but are totally unrelated
The text was updated successfully, but these errors were encountered: