{
  "id": 501237,
  "title": "Debugging submission csv not found",
  "url": "/competitions/birdclef-2024/discussion/501237",
  "author_name": "",
  "post_date": "2024-05-08T15:20:49.879957500Z",
  "votes": 1,
  "comment_count": 1,
  "views": 0,
  "content": "<p>pls help, I get error \"submission csv not found\" even when my notebook has as last cell </p>\n<pre><code>results_agg.to_pandas().to_csv(, index=)\n  os.path.isfile():\n     ValueError()\n</code></pre>\n<p>if i change it to </p>\n<pre><code> :\n     ValueError()\nresults_agg.to_pandas().to_csv(, index=)\n</code></pre>\n<p>i get \"submission throws error\". That's mean that the cell have to be executed, the notebook is not failing before the cell. The results_agg is polars dataframe. I also test that it exists and is not empty. Therefore i think the file has to exists and the sudmission error is misleading. Don't you have idea, what could goes wrong?</p>",
  "messages": [
    {
      "id": "2801313",
      "postDate": "05/08/2024 15:20:49",
      "content": "<p>pls help, I get error \"submission csv not found\" even when my notebook has as last cell </p>\n<pre><code>results_agg.to_pandas().to_csv(, index=)\n  os.path.isfile():\n     ValueError()\n</code></pre>\n<p>if i change it to </p>\n<pre><code> :\n     ValueError()\nresults_agg.to_pandas().to_csv(, index=)\n</code></pre>\n<p>i get \"submission throws error\". That's mean that the cell have to be executed, the notebook is not failing before the cell. The results_agg is polars dataframe. I also test that it exists and is not empty. Therefore i think the file has to exists and the sudmission error is misleading. Don't you have idea, what could goes wrong?</p>",
      "rawMarkdown": "pls help, I get error \"submission csv not found\" even when my notebook has as last cell \n\n```python\nresults_agg.to_pandas().to_csv(\"submission.csv\", index=False)\nif not os.path.isfile(\"/kaggle/working/submission.csv\"):\n    raise ValueError(\"Raise error\")\n```\nif i change it to \n```python\n\nif True:\n    raise ValueError(\"Raise error\")\nresults_agg.to_pandas().to_csv(\"submission.csv\", index=False)\n```\n\ni get \"submission throws error\". That's mean that the cell have to be executed, the notebook is not failing before the cell. The results_agg is polars dataframe. I also test that it exists and is not empty. Therefore i think the file has to exists and the sudmission error is misleading. Don't you have idea, what could goes wrong?",
      "votes": null
    },
    {
      "id": "3203176",
      "postDate": "05/16/2025 11:45:17",
      "content": "<p>May I know if you figured out how to fix this? I got the same problem in 2025 competition. Thanks in advance!</p>",
      "rawMarkdown": "May I know if you figured out how to fix this? I got the same problem in 2025 competition. Thanks in advance!",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3203176,
      "author_name": "yingbowu",
      "author_url": "",
      "post_date": "05/16/2025 11:45:17",
      "content": "<p>May I know if you figured out how to fix this? I got the same problem in 2025 competition. Thanks in advance!</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2801313": "pls help, I get error \"submission csv not found\" even when my notebook has as last cell \n\n```python\nresults_agg.to_pandas().to_csv(\"submission.csv\", index=False)\nif not os.path.isfile(\"/kaggle/working/submission.csv\"):\n    raise ValueError(\"Raise error\")\n```\nif i change it to \n```python\n\nif True:\n    raise ValueError(\"Raise error\")\nresults_agg.to_pandas().to_csv(\"submission.csv\", index=False)\n```\n\ni get \"submission throws error\". That's mean that the cell have to be executed, the notebook is not failing before the cell. The results_agg is polars dataframe. I also test that it exists and is not empty. Therefore i think the file has to exists and the sudmission error is misleading. Don't you have idea, what could goes wrong?",
    "3203176": "May I know if you figured out how to fix this? I got the same problem in 2025 competition. Thanks in advance!"
  },
  "source": "meta"
}