{
  "id": 607746,
  "title": "Gateway error",
  "url": "/competitions/rsna-intracranial-aneurysm-detection/discussion/607746",
  "author_name": "Arunodhayan",
  "post_date": "2025-09-15T20:03:32.971000",
  "votes": 19,
  "comment_count": 14,
  "views": 0,
  "content": "<p><a href=\"https://www.kaggle.com/ryanholbrook\" target=\"_blank\">@ryanholbrook</a>  <a href=\"https://www.kaggle.com/evancalabrese\" target=\"_blank\">@evancalabrese</a> </p>\n<p>GatewayRuntimeError                       Traceback (most recent call last)<br>\n/tmp/ipykernel_36/1531658682.py in ()<br>\n     10     inference_server.serve()<br>\n     11 else:<br>\n---&gt; 12     inference_server.run_local_gateway()<br>\n     13 <br>\n     14     submission_df = pl.read_parquet('/kaggle/working/submission.parquet')</p>\n<p>/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/templates.py in run_local_gateway(self, data_paths, file_share_dir, *args, **kwargs)<br>\n    108             self.gateway.run()<br>\n    109         except Exception as err:<br>\n--&gt; 110             raise err from None<br>\n    111         finally:<br>\n    112             self.server.stop(0)</p>\n<p>/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/templates.py in run_local_gateway(self, data_paths, file_share_dir, *args, **kwargs)<br>\n    106         try:<br>\n    107             self.gateway = self._get_gateway_for_test(data_paths, file_share_dir, *args, **kwargs)<br>\n--&gt; 108             self.gateway.run()<br>\n    109         except Exception as err:<br>\n    110             raise err from None</p>\n<p>/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/base_gateway.py in run(self)<br>\n    151         elif error:<br>\n    152             # For local testing<br>\n--&gt; 153             raise error<br>\n    154 <br>\n    155     <a href=\"https://www.kaggle.com/final\" target=\"_blank\">@final</a></p>\n<p>GatewayRuntimeError: (, 'Traceback (most recent call last):\\n  File \"/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/base_gateway.py\", line 134, in run\\n    predictions, row_ids = self.get_all_predictions()\\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/base_gateway.py\", line 109, in get_all_predictions\\n    for data_batch, row_ids in self.generate_data_batches():\\n  File \"/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/rsna_gateway.py\", line 90, in generate_data_batches\\n    test_df: pl.DataFrame = pl.read_csv(self.test_csv_path)\\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/_utils/deprecation.py\", line 92, in wrapper\\n    return function(*args, *<em>kwargs)\\n           ^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/_utils/deprecation.py\", line 92, in wrapper\\n    return function(</em>args, *<em>kwargs)\\n           ^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/_utils/deprecation.py\", line 92, in wrapper\\n    return function(</em>args, **kwargs)\\n           ^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/io/csv/functions.py\", line 534, in read_csv\\n    df = _read_csv_impl(\\n         ^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/io/csv/functions.py\", line 682, in _read_csv_impl\\n    pydf = PyDataFrame.read_csv(\\n           ^^^^^^^^^^^^^^^^^^^^^\\nFileNotFoundError: No such file or directory (os error 2): /kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/test.csv</p>",
  "messages": [
    {
      "id": 3289300,
      "postDate": "2025-09-15T20:03:32.970Z",
      "content": "<p><a href=\"https://www.kaggle.com/ryanholbrook\" target=\"_blank\">@ryanholbrook</a>  <a href=\"https://www.kaggle.com/evancalabrese\" target=\"_blank\">@evancalabrese</a> </p>\n<p>GatewayRuntimeError                       Traceback (most recent call last)<br>\n/tmp/ipykernel_36/1531658682.py in ()<br>\n     10     inference_server.serve()<br>\n     11 else:<br>\n---&gt; 12     inference_server.run_local_gateway()<br>\n     13 <br>\n     14     submission_df = pl.read_parquet('/kaggle/working/submission.parquet')</p>\n<p>/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/templates.py in run_local_gateway(self, data_paths, file_share_dir, *args, **kwargs)<br>\n    108             self.gateway.run()<br>\n    109         except Exception as err:<br>\n--&gt; 110             raise err from None<br>\n    111         finally:<br>\n    112             self.server.stop(0)</p>\n<p>/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/templates.py in run_local_gateway(self, data_paths, file_share_dir, *args, **kwargs)<br>\n    106         try:<br>\n    107             self.gateway = self._get_gateway_for_test(data_paths, file_share_dir, *args, **kwargs)<br>\n--&gt; 108             self.gateway.run()<br>\n    109         except Exception as err:<br>\n    110             raise err from None</p>\n<p>/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/base_gateway.py in run(self)<br>\n    151         elif error:<br>\n    152             # For local testing<br>\n--&gt; 153             raise error<br>\n    154 <br>\n    155     <a href=\"https://www.kaggle.com/final\" target=\"_blank\">@final</a></p>\n<p>GatewayRuntimeError: (, 'Traceback (most recent call last):\\n  File \"/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/base_gateway.py\", line 134, in run\\n    predictions, row_ids = self.get_all_predictions()\\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/base_gateway.py\", line 109, in get_all_predictions\\n    for data_batch, row_ids in self.generate_data_batches():\\n  File \"/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/rsna_gateway.py\", line 90, in generate_data_batches\\n    test_df: pl.DataFrame = pl.read_csv(self.test_csv_path)\\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/_utils/deprecation.py\", line 92, in wrapper\\n    return function(*args, *<em>kwargs)\\n           ^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/_utils/deprecation.py\", line 92, in wrapper\\n    return function(</em>args, *<em>kwargs)\\n           ^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/_utils/deprecation.py\", line 92, in wrapper\\n    return function(</em>args, **kwargs)\\n           ^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/io/csv/functions.py\", line 534, in read_csv\\n    df = _read_csv_impl(\\n         ^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/io/csv/functions.py\", line 682, in _read_csv_impl\\n    pydf = PyDataFrame.read_csv(\\n           ^^^^^^^^^^^^^^^^^^^^^\\nFileNotFoundError: No such file or directory (os error 2): /kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/test.csv</p>",
      "rawMarkdown": "@ryanholbrook  @evancalabrese \n\n\n\nGatewayRuntimeError                       Traceback (most recent call last)\n/tmp/ipykernel_36/1531658682.py in <cell line: 0>()\n     10     inference_server.serve()\n     11 else:\n---> 12     inference_server.run_local_gateway()\n     13 \n     14     submission_df = pl.read_parquet('/kaggle/working/submission.parquet')\n\n/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/templates.py in run_local_gateway(self, data_paths, file_share_dir, *args, **kwargs)\n    108             self.gateway.run()\n    109         except Exception as err:\n--> 110             raise err from None\n    111         finally:\n    112             self.server.stop(0)\n\n/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/templates.py in run_local_gateway(self, data_paths, file_share_dir, *args, **kwargs)\n    106         try:\n    107             self.gateway = self._get_gateway_for_test(data_paths, file_share_dir, *args, **kwargs)\n--> 108             self.gateway.run()\n    109         except Exception as err:\n    110             raise err from None\n\n/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/base_gateway.py in run(self)\n    151         elif error:\n    152             # For local testing\n--> 153             raise error\n    154 \n    155     @final\n\nGatewayRuntimeError: (<GatewayRuntimeErrorType.GATEWAY_RAISED_EXCEPTION: 5>, 'Traceback (most recent call last):\\n  File \"/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/base_gateway.py\", line 134, in run\\n    predictions, row_ids = self.get_all_predictions()\\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/base_gateway.py\", line 109, in get_all_predictions\\n    for data_batch, row_ids in self.generate_data_batches():\\n  File \"/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/rsna_gateway.py\", line 90, in generate_data_batches\\n    test_df: pl.DataFrame = pl.read_csv(self.test_csv_path)\\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/_utils/deprecation.py\", line 92, in wrapper\\n    return function(*args, **kwargs)\\n           ^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/_utils/deprecation.py\", line 92, in wrapper\\n    return function(*args, **kwargs)\\n           ^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/_utils/deprecation.py\", line 92, in wrapper\\n    return function(*args, **kwargs)\\n           ^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/io/csv/functions.py\", line 534, in read_csv\\n    df = _read_csv_impl(\\n         ^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/io/csv/functions.py\", line 682, in _read_csv_impl\\n    pydf = PyDataFrame.read_csv(\\n           ^^^^^^^^^^^^^^^^^^^^^\\nFileNotFoundError: No such file or directory (os error 2): /kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/test.csv",
      "votes": 19
    },
    {
      "id": 3289315,
      "postDate": "2025-09-15T21:05:53.160Z",
      "content": "<p>Yes. Apparently the local execution checks for that csv, at the moment is missing… Scoring runs, but debug turned into a nightmare.</p>",
      "rawMarkdown": "Yes. Apparently the local execution checks for that csv, at the moment is missing... Scoring runs, but debug turned into a nightmare.",
      "votes": 1,
      "replies": [
        {
          "id": 3289437,
          "postDate": "2025-09-16T03:53:17.823Z",
          "content": "<p>Did you get a new notebook to score? If I try to submit I get this message: \"This Competition requires a submission file named submission.parquet and the selected Notebook Version does not output this file. Please select a Notebook Version that produces the expected output.\" As the test.csv is missing when I save my edits submission.parquet is not generated.</p>",
          "rawMarkdown": "Did you get a new notebook to score? If I try to submit I get this message: \"This Competition requires a submission file named submission.parquet and the selected Notebook Version does not output this file. Please select a Notebook Version that produces the expected output.\" As the test.csv is missing when I save my edits submission.parquet is not generated.",
          "replies": [
            {
              "id": 3289519,
              "postDate": "2025-09-16T06:52:56.140Z",
              "content": "<p>Is still running. I've submitted from edition page. Local run failed, but scoring still goes.</p>\n<p>EDIT: Check. Submitting from editor triggers a local run that fails but still generates valid scoring run.</p>",
              "rawMarkdown": "Is still running. I've submitted from edition page. Local run failed, but scoring still goes.\n\nEDIT: Check. Submitting from editor triggers a local run that fails but still generates valid scoring run.",
              "votes": 1
            }
          ]
        }
      ]
    },
    {
      "id": 3289886,
      "postDate": "2025-09-16T17:16:07.877Z",
      "content": "<p>My solution😂</p>\n<p>I have confirmed that it can be submitted.<br>\nThe host will probably fix it in the near future.</p>\n<pre><code> pickle\n ():\n     (path, mode=)  f:\n        pickle.dump(obj,f,protocol=)\n\ninference_server = kaggle_evaluation.rsna_inference_server.RSNAInferenceServer(predict)\n os.getenv():\n    inference_server.serve()\n:\n    :\n        inference_server.run_local_gateway()\n        submission_df = pl.read_parquet()\n        display(submission_df)\n    :\n        pickle_dump(np.zeros(), )\n</code></pre>",
      "rawMarkdown": "My solution😂\n\nI have confirmed that it can be submitted.\nThe host will probably fix it in the near future.\n\n```python\nimport pickle\ndef pickle_dump(obj, path):\n    with open(path, mode='wb') as f:\n        pickle.dump(obj,f,protocol=4)\n\ninference_server = kaggle_evaluation.rsna_inference_server.RSNAInferenceServer(predict)\nif os.getenv('KAGGLE_IS_COMPETITION_RERUN'):\n    inference_server.serve()\nelse:\n    try:\n        inference_server.run_local_gateway()\n        submission_df = pl.read_parquet('/kaggle/working/submission.parquet')\n        display(submission_df)\n    except:\n        pickle_dump(np.zeros(1), '/kaggle/working/submission.parquet')\n```",
      "votes": 2
    },
    {
      "id": 3289813,
      "postDate": "2025-09-16T15:16:52.847Z",
      "content": "<p>Is it fixed? Any updates?</p>",
      "rawMarkdown": "Is it fixed? Any updates?"
    },
    {
      "id": 3289552,
      "postDate": "2025-09-16T08:17:05.933Z",
      "content": "<p>Sameeeeeeeee</p>",
      "rawMarkdown": "Sameeeeeeeee"
    },
    {
      "id": 3289405,
      "postDate": "2025-09-16T02:44:48.263Z",
      "content": "<p>so, what can we do?</p>",
      "rawMarkdown": "so, what can we do?",
      "replies": [
        {
          "id": 3289599,
          "postDate": "2025-09-16T09:40:27.313Z",
          "content": "<p>Submit from editor page.</p>",
          "rawMarkdown": "Submit from editor page.",
          "votes": 1
        }
      ]
    },
    {
      "id": 3289373,
      "postDate": "2025-09-16T01:10:01.177Z",
      "content": "<p>Me too. The same error.</p>",
      "rawMarkdown": "Me too. The same error."
    },
    {
      "id": 3289305,
      "postDate": "2025-09-15T20:11:43.280Z",
      "content": "<p>The pipeline is trying to load <code>test.csv</code> at<br>\n<code>/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/test.csv</code><br>\nbut that file does not exist here <strong>FileNotFoundError.</strong></p>\n<p>Check the dataset folder → confirm whether test.csv exists (maybe it’s named differently, like <code>test_metadata.csv</code> or is inside another subfolder).<br>\nIf no <code>test.csv</code> is provided in competition input, you may need to:<br>\nRun with <code>inference_server.serve()</code> (for real competition test data, Kaggle provides it automatically), not <code>run_local_gateway()</code><br>\nOr for local testing, create/provide your own <code>test.csv</code> in the expected path.</p>",
      "rawMarkdown": "The pipeline is trying to load `test.csv` at\n`/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/test.csv`\nbut that file does not exist here **FileNotFoundError.**\n\nCheck the dataset folder → confirm whether test.csv exists (maybe it’s named differently, like `test_metadata.csv` or is inside another subfolder).\nIf no `test.csv` is provided in competition input, you may need to:\nRun with `inference_server.serve()` (for real competition test data, Kaggle provides it automatically), not `run_local_gateway()`\nOr for local testing, create/provide your own `test.csv` in the expected path.",
      "replies": [
        {
          "id": 3289307,
          "postDate": "2025-09-15T20:16:58.867Z",
          "content": "<p>This is how previously done my code worked till today </p>",
          "rawMarkdown": "This is how previously done my code worked till today "
        },
        {
          "id": 3289318,
          "postDate": "2025-09-15T21:08:44.633Z",
          "content": "<p>But is the competition dataset. We can't put a dummy test.csv there. Can we?</p>",
          "rawMarkdown": "But is the competition dataset. We can't put a dummy test.csv there. Can we?"
        }
      ]
    },
    {
      "id": 3289302,
      "postDate": "2025-09-15T20:06:26.520Z",
      "content": "<p>Same here, thanks for sharing</p>",
      "rawMarkdown": "Same here, thanks for sharing",
      "votes": 1
    },
    {
      "id": 3289833,
      "postDate": "2025-09-16T15:38:43.383Z",
      "content": "<p>Same here, thanks for sharing</p>",
      "rawMarkdown": "Same here, thanks for sharing\n\n"
    }
  ],
  "comments": [
    {
      "id": 3289315,
      "author_name": "Ángel Jacinto Sánchez Ruiz",
      "author_url": "",
      "post_date": "2025-09-15T21:05:53.160000",
      "content": "<p>Yes. Apparently the local execution checks for that csv, at the moment is missing… Scoring runs, but debug turned into a nightmare.</p>",
      "votes": 1,
      "replies": [
        {
          "id": 3289437,
          "author_name": "Amil Gentili",
          "author_url": "",
          "post_date": "2025-09-16T03:53:17.823000",
          "content": "<p>Did you get a new notebook to score? If I try to submit I get this message: \"This Competition requires a submission file named submission.parquet and the selected Notebook Version does not output this file. Please select a Notebook Version that produces the expected output.\" As the test.csv is missing when I save my edits submission.parquet is not generated.</p>",
          "votes": 0,
          "replies": [
            {
              "id": 3289519,
              "author_name": "Ángel Jacinto Sánchez Ruiz",
              "author_url": "",
              "post_date": "2025-09-16T06:52:56.140000",
              "content": "<p>Is still running. I've submitted from edition page. Local run failed, but scoring still goes.</p>\n<p>EDIT: Check. Submitting from editor triggers a local run that fails but still generates valid scoring run.</p>",
              "votes": 1,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 3289886,
      "author_name": "Hi F",
      "author_url": "",
      "post_date": "2025-09-16T17:16:07.877000",
      "content": "<p>My solution😂</p>\n<p>I have confirmed that it can be submitted.<br>\nThe host will probably fix it in the near future.</p>\n<pre><code> pickle\n ():\n     (path, mode=)  f:\n        pickle.dump(obj,f,protocol=)\n\ninference_server = kaggle_evaluation.rsna_inference_server.RSNAInferenceServer(predict)\n os.getenv():\n    inference_server.serve()\n:\n    :\n        inference_server.run_local_gateway()\n        submission_df = pl.read_parquet()\n        display(submission_df)\n    :\n        pickle_dump(np.zeros(), )\n</code></pre>",
      "votes": 2,
      "replies": []
    },
    {
      "id": 3289813,
      "author_name": "AC",
      "author_url": "",
      "post_date": "2025-09-16T15:16:52.847000",
      "content": "<p>Is it fixed? Any updates?</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 3289552,
      "author_name": "AC",
      "author_url": "",
      "post_date": "2025-09-16T08:17:05.933000",
      "content": "<p>Sameeeeeeeee</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 3289405,
      "author_name": "Melissus",
      "author_url": "",
      "post_date": "2025-09-16T02:44:48.263000",
      "content": "<p>so, what can we do?</p>",
      "votes": 0,
      "replies": [
        {
          "id": 3289599,
          "author_name": "Ángel Jacinto Sánchez Ruiz",
          "author_url": "",
          "post_date": "2025-09-16T09:40:27.313000",
          "content": "<p>Submit from editor page.</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 3289373,
      "author_name": "Less",
      "author_url": "",
      "post_date": "2025-09-16T01:10:01.177000",
      "content": "<p>Me too. The same error.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 3289305,
      "author_name": "Mr. Bruce",
      "author_url": "",
      "post_date": "2025-09-15T20:11:43.280000",
      "content": "<p>The pipeline is trying to load <code>test.csv</code> at<br>\n<code>/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/test.csv</code><br>\nbut that file does not exist here <strong>FileNotFoundError.</strong></p>\n<p>Check the dataset folder → confirm whether test.csv exists (maybe it’s named differently, like <code>test_metadata.csv</code> or is inside another subfolder).<br>\nIf no <code>test.csv</code> is provided in competition input, you may need to:<br>\nRun with <code>inference_server.serve()</code> (for real competition test data, Kaggle provides it automatically), not <code>run_local_gateway()</code><br>\nOr for local testing, create/provide your own <code>test.csv</code> in the expected path.</p>",
      "votes": 0,
      "replies": [
        {
          "id": 3289307,
          "author_name": "Arunodhayan",
          "author_url": "",
          "post_date": "2025-09-15T20:16:58.867000",
          "content": "<p>This is how previously done my code worked till today </p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 3289318,
          "author_name": "Ángel Jacinto Sánchez Ruiz",
          "author_url": "",
          "post_date": "2025-09-15T21:08:44.633000",
          "content": "<p>But is the competition dataset. We can't put a dummy test.csv there. Can we?</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 3289302,
      "author_name": "OUA",
      "author_url": "",
      "post_date": "2025-09-15T20:06:26.520000",
      "content": "<p>Same here, thanks for sharing</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 3289833,
      "author_name": "Khushi Yadav",
      "author_url": "",
      "post_date": "2025-09-16T15:38:43.383000",
      "content": "<p>Same here, thanks for sharing</p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "3289300": "@ryanholbrook  @evancalabrese \n\n\n\nGatewayRuntimeError                       Traceback (most recent call last)\n/tmp/ipykernel_36/1531658682.py in <cell line: 0>()\n     10     inference_server.serve()\n     11 else:\n---> 12     inference_server.run_local_gateway()\n     13 \n     14     submission_df = pl.read_parquet('/kaggle/working/submission.parquet')\n\n/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/templates.py in run_local_gateway(self, data_paths, file_share_dir, *args, **kwargs)\n    108             self.gateway.run()\n    109         except Exception as err:\n--> 110             raise err from None\n    111         finally:\n    112             self.server.stop(0)\n\n/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/templates.py in run_local_gateway(self, data_paths, file_share_dir, *args, **kwargs)\n    106         try:\n    107             self.gateway = self._get_gateway_for_test(data_paths, file_share_dir, *args, **kwargs)\n--> 108             self.gateway.run()\n    109         except Exception as err:\n    110             raise err from None\n\n/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/base_gateway.py in run(self)\n    151         elif error:\n    152             # For local testing\n--> 153             raise error\n    154 \n    155     @final\n\nGatewayRuntimeError: (<GatewayRuntimeErrorType.GATEWAY_RAISED_EXCEPTION: 5>, 'Traceback (most recent call last):\\n  File \"/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/base_gateway.py\", line 134, in run\\n    predictions, row_ids = self.get_all_predictions()\\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/core/base_gateway.py\", line 109, in get_all_predictions\\n    for data_batch, row_ids in self.generate_data_batches():\\n  File \"/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/rsna_gateway.py\", line 90, in generate_data_batches\\n    test_df: pl.DataFrame = pl.read_csv(self.test_csv_path)\\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/_utils/deprecation.py\", line 92, in wrapper\\n    return function(*args, **kwargs)\\n           ^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/_utils/deprecation.py\", line 92, in wrapper\\n    return function(*args, **kwargs)\\n           ^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/_utils/deprecation.py\", line 92, in wrapper\\n    return function(*args, **kwargs)\\n           ^^^^^^^^^^^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/io/csv/functions.py\", line 534, in read_csv\\n    df = _read_csv_impl(\\n         ^^^^^^^^^^^^^^^\\n  File \"/usr/local/lib/python3.11/dist-packages/polars/io/csv/functions.py\", line 682, in _read_csv_impl\\n    pydf = PyDataFrame.read_csv(\\n           ^^^^^^^^^^^^^^^^^^^^^\\nFileNotFoundError: No such file or directory (os error 2): /kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/test.csv",
    "3289315": "Yes. Apparently the local execution checks for that csv, at the moment is missing... Scoring runs, but debug turned into a nightmare.",
    "3289886": "My solution😂\n\nI have confirmed that it can be submitted.\nThe host will probably fix it in the near future.\n\n```python\nimport pickle\ndef pickle_dump(obj, path):\n    with open(path, mode='wb') as f:\n        pickle.dump(obj,f,protocol=4)\n\ninference_server = kaggle_evaluation.rsna_inference_server.RSNAInferenceServer(predict)\nif os.getenv('KAGGLE_IS_COMPETITION_RERUN'):\n    inference_server.serve()\nelse:\n    try:\n        inference_server.run_local_gateway()\n        submission_df = pl.read_parquet('/kaggle/working/submission.parquet')\n        display(submission_df)\n    except:\n        pickle_dump(np.zeros(1), '/kaggle/working/submission.parquet')\n```",
    "3289813": "Is it fixed? Any updates?",
    "3289552": "Sameeeeeeeee",
    "3289405": "so, what can we do?",
    "3289373": "Me too. The same error.",
    "3289305": "The pipeline is trying to load `test.csv` at\n`/kaggle/input/rsna-intracranial-aneurysm-detection/kaggle_evaluation/test.csv`\nbut that file does not exist here **FileNotFoundError.**\n\nCheck the dataset folder → confirm whether test.csv exists (maybe it’s named differently, like `test_metadata.csv` or is inside another subfolder).\nIf no `test.csv` is provided in competition input, you may need to:\nRun with `inference_server.serve()` (for real competition test data, Kaggle provides it automatically), not `run_local_gateway()`\nOr for local testing, create/provide your own `test.csv` in the expected path.",
    "3289302": "Same here, thanks for sharing",
    "3289833": "Same here, thanks for sharing\n\n"
  }
}