Kaggle / kaggle-api

Official Kaggle API
Apache License 2.0
6.01k stars 1.06k forks source link

I cannot submit results #129

Open jxzly opened 5 years ago

jxzly commented 5 years ago

kaggle competitions submit -c ga-customer-revenue-prediction -f submission_valid_RMSE_0.20501.csv -m "Message" Warning: Your Kaggle API key is readable by otherusers on this system! To fix this, you can run'chmod 600 /root/.kaggle/kaggle.json' 0%| | 0.00/9.45M [00:00<?, ?B/s]2018-11-19 12:30:50,185 WARNING Retrying (Retry(total=9, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: SysCallError(104, 'ECONNRESET')",),)': /upload/storage/v1/b/kaggle-competitions-submissions/o?uploadType=resumable&upload_id=AEnB2Ur9WXfiI8_6H0ngfWDlFbidTzEv0A7SltkZyr5sojyDewmyGwByYicGiZqyB3O7fUknbd1157TC79_yCIfzggGWNiTSspQFJNrS5Rd9DjOf5XqEgmA

Doarakko commented 5 years ago

kaggle competitions submit -c ga-customer-revenue-prediction -f submission_valid_RMSE_0.20501.csv -m "Message" Warning: Your Kaggle API key is readable by otherusers on this system! To fix this, you can run'chmod 600 /root/.kaggle/kaggle.json' 0%| | 0.00/9.45M [00:00<?, ?B/s]2018-11-19 12:30:50,185 WARNING Retrying (Retry(total=9, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: SysCallError(104, 'ECONNRESET')",),)': /upload/storage/v1/b/kaggle-competitions-submissions/o?uploadType=resumable&upload_id=AEnB2Ur9WXfiI8_6H0ngfWDlFbidTzEv0A7SltkZyr5sojyDewmyGwByYicGiZqyB3O7fUknbd1157TC79_yCIfzggGWNiTSspQFJNrS5Rd9DjOf5XqEgmA

check your kaggle.json permission

ls -al /root/.kaggle/kaggle.json

you will undestand this message "Your Kaggle API key is readable by otherusers on this system! " and run this command to change file permission.

chmod 600 /root/.kaggle/kaggle.json
artemklevtsov commented 5 years ago

Try to update the kaggle package with pip.