-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
I made a submission to the titanic competition using the API:
kaggle competitions submissions titanic
but when I try to look at my submissions I get the following error:
Traceback (most recent call last):
File "/Users/brentonmallen/miniconda3/envs/titanic/bin/kaggle", line 11, in <module>
sys.exit(main())
File "/Users/brentonmallen/miniconda3/envs/titanic/lib/python3.6/site-packages/kaggle/cli.py", line 50, in main
out = args.func(**command_args)
File "/Users/brentonmallen/miniconda3/envs/titanic/lib/python3.6/site-packages/kaggle/api/kaggle_api_extended.py", line 536, in competition_submissions_cli
submissions = self.competition_submissions(competition)
File "/Users/brentonmallen/miniconda3/envs/titanic/lib/python3.6/site-packages/kaggle/api/kaggle_api_extended.py", line 509, in competition_submissions
return [Submission(s) for s in submissions_result]
File "/Users/brentonmallen/miniconda3/envs/titanic/lib/python3.6/site-packages/kaggle/api/kaggle_api_extended.py", line 509, in <listcomp>
return [Submission(s) for s in submissions_result]
File "/Users/brentonmallen/miniconda3/envs/titanic/lib/python3.6/site-packages/kaggle/models/kaggle_models_extended.py", line 44, in __init__
self.size = File.get_size(self.totalBytes)
File "/Users/brentonmallen/miniconda3/envs/titanic/lib/python3.6/site-packages/kaggle/models/kaggle_models_extended.py", line 94, in get_size
while size >= 1024 and suffix_index < 4:
TypeError: '>=' not supported between instances of 'NoneType' and 'int'
I'm using the attached Conda environment:
name: titanic
dependencies:
- pandas=0.23.4
- python=3.6
- pip:
- zappa==0.46.2
- flask==1.0.2
- scikit-learn==0.20
- cython==0.28.5
- notebook==5.5.0
- matplotlib==3.0.0
- kaggle
Any idea what might be causing this? I wasn't able to find similar issues.
Thanks
Metadata
Metadata
Assignees
Labels
No labels