Unable to run “make test-submission” in code execution container from local machine

Hi, I am using a Mac local machine, and encountered the following error when executing
“gmake test-submission” in Terminal:

Total 7 entries (5659384 bytes)’

  • grep -q main.py
  • echo ‘Unpacking submission’
    Unpacking submission
  • unzip ./submission/submission.zip -d ./
    Archive: ./submission/submission.zip
    creating: ./assets/
    inflating: ./assets/model.sav
    inflating: ./assets/tfidf-vectorizer.sav
    error: cannot create ./data/submission_format.csv
    Read-only file system
    error: cannot create ./data/test_features.csv
    Read-only file system
    inflating: ./main.py
    gmake: *** [Makefile:198: test-submission] Error 50

Would anyone be able to assist and advise? Thanks!

@wenhao89 It looks your zipped submission file includes data/submission_format.csv and data/test_features.csv. So when your submission is unzipped, it attempts to save out these files.

You should only be saving out submission.csv, per the code submission page. data/submission_format.csv and data/test_features.csv will already be available in the code execution runtime.

1 Like