{
  "id": 519706,
  "title": "Notebook Version 1 failed to run after 5301.0s",
  "url": "/competitions/rsna-2024-lumbar-spine-degenerative-classification/discussion/519706",
  "author_name": "Rohit Chaudhari",
  "post_date": "2024-07-12T12:17:14.594000",
  "votes": 0,
  "comment_count": 0,
  "views": 0,
  "content": "<p>What may be causing the error and how can we resolve it ?<br>\nPlease help | Error traceback / logs below.</p>\n<p>5294.0s    24  Traceback (most recent call last):<br>\n5294.0s    25    File \"/opt/conda/lib/python3.10/site-packages/nbclient/client.py\", line 730, in _async_poll_for_reply<br>\n5294.0s    26      msg = await ensure_async(self.kc.shell_channel.get_msg(timeout=new_timeout))<br>\n5294.0s    27    File \"/opt/conda/lib/python3.10/site-packages/nbclient/util.py\", line 96, in ensure_async<br>\n5294.0s    28      result = await obj<br>\n5294.0s    29    File \"/opt/conda/lib/python3.10/site-packages/jupyter_client/channels.py\", line 310, in get_msg<br>\n5294.0s    30      ready = await self.socket.poll(timeout)<br>\n5294.0s    31  asyncio.exceptions.CancelledError<br>\n5294.0s    32  <br>\n5294.0s    33  During handling of the above exception, another exception occurred:<br>\n5294.0s    34  <br>\n5294.0s    35  Traceback (most recent call last):<br>\n5294.0s    36    File \"/opt/conda/lib/python3.10/site-packages/nbclient/client.py\", line 949, in async_execute_cell<br>\n5294.0s    37      exec_reply = await self.task_poll_for_reply<br>\n5294.0s    38  asyncio.exceptions.CancelledError<br>\n5294.0s    39  <br>\n5294.0s    40  During handling of the above exception, another exception occurred:<br>\n5294.0s    41  <br>\n5294.0s    42  Traceback (most recent call last):<br>\n5294.0s    43    File \"\", line 1, in <br>\n5294.0s    44    File \"/opt/conda/lib/python3.10/site-packages/papermill/execute.py\", line 119, in execute_notebook<br>\n5294.0s    45      nb = papermill_engines.execute_notebook_with_engine(<br>\n5294.0s    46    File \"/opt/conda/lib/python3.10/site-packages/papermill/engines.py\", line 48, in execute_notebook_with_engine<br>\n5294.0s    47      return self.get_engine(engine_name).execute_notebook(nb, kernel_name, **kwargs)<br>\n5294.0s    48    File \"/opt/conda/lib/python3.10/site-packages/papermill/engines.py\", line 365, in execute_notebook<br>\n5294.0s    49      cls.execute_managed_notebook(nb_man, kernel_name, log_output=log_output, **kwargs)<br>\n5294.0s    50    File \"/opt/conda/lib/python3.10/site-packages/papermill/engines.py\", line 434, in execute_managed_notebook<br>\n5294.0s    51      return PapermillNotebookClient(nb_man, *<em>final_kwargs).execute()\n5294.0s    52    File \"/opt/conda/lib/python3.10/site-packages/papermill/clientwrap.py\", line 45, in execute\n5294.0s    53      self.papermill_execute_cells()\n5294.0s    54    File \"/opt/conda/lib/python3.10/site-packages/papermill/clientwrap.py\", line 72, in papermill_execute_cells\n5294.0s    55      self.execute_cell(cell, index)\n5294.0s    56    File \"/opt/conda/lib/python3.10/site-packages/nbclient/util.py\", line 84, in wrapped\n5294.0s    57      return just_run(coro(</em>args, **kwargs))<br>\n5294.0s    58    File \"/opt/conda/lib/python3.10/site-packages/nbclient/util.py\", line 62, in just_run<br>\n5294.0s    59      return loop.run_until_complete(coro)<br>\n5294.0s    60    File \"/opt/conda/lib/python3.10/asyncio/base_events.py\", line 649, in run_until_complete<br>\n5294.0s    61      return future.result()<br>\n5294.0s    62    File \"/opt/conda/lib/python3.10/site-packages/nbclient/client.py\", line 953, in async_execute_cell<br>\n5294.0s    63      raise DeadKernelError(\"Kernel died\")<br>\n5294.0s    64  nbclient.exceptions.DeadKernelError: Kernel died<br>\n5297.5s    65  /opt/conda/lib/python3.10/site-packages/traitlets/traitlets.py:2930: FutureWarning: --Exporter.preprocessors=[\"remove_papermill_header.RemovePapermillHeader\"] for containers is deprecated in traitlets 5.0. You can pass <code>--Exporter.preprocessors item</code> … multiple times to add items to a list.<br>\n5297.5s    66    warn(<br>\n5297.5s    67  [NbConvertApp] WARNING | Config option <code>kernel_spec_manager_class</code> not recognized by <code>NbConvertApp</code>.<br>\n5297.5s    68  [NbConvertApp] Converting notebook <strong>notebook</strong>.ipynb to notebook<br>\n5298.0s    69  [NbConvertApp] Writing 56043 bytes to <strong>notebook</strong>.ipynb<br>\n5299.6s    70  /opt/conda/lib/python3.10/site-packages/traitlets/traitlets.py:2930: FutureWarning: --Exporter.preprocessors=[\"nbconvert.preprocessors.ExtractOutputPreprocessor\"] for containers is deprecated in traitlets 5.0. You can pass <code>--Exporter.preprocessors item</code> … multiple times to add items to a list.<br>\n5299.6s    71    warn(<br>\n5299.6s    72  [NbConvertApp] WARNING | Config option <code>kernel_spec_manager_class</code> not recognized by <code>NbConvertApp</code>.<br>\n5299.6s    73  [NbConvertApp] Converting notebook <strong>notebook</strong>.ipynb to html<br>\n5300.9s    74  [NbConvertApp] Writing 349141 bytes to <strong>results</strong>.html</p>",
  "messages": [
    {
      "id": 2918678,
      "postDate": "2024-07-12T12:17:14.593Z",
      "content": "<p>What may be causing the error and how can we resolve it ?<br>\nPlease help | Error traceback / logs below.</p>\n<p>5294.0s    24  Traceback (most recent call last):<br>\n5294.0s    25    File \"/opt/conda/lib/python3.10/site-packages/nbclient/client.py\", line 730, in _async_poll_for_reply<br>\n5294.0s    26      msg = await ensure_async(self.kc.shell_channel.get_msg(timeout=new_timeout))<br>\n5294.0s    27    File \"/opt/conda/lib/python3.10/site-packages/nbclient/util.py\", line 96, in ensure_async<br>\n5294.0s    28      result = await obj<br>\n5294.0s    29    File \"/opt/conda/lib/python3.10/site-packages/jupyter_client/channels.py\", line 310, in get_msg<br>\n5294.0s    30      ready = await self.socket.poll(timeout)<br>\n5294.0s    31  asyncio.exceptions.CancelledError<br>\n5294.0s    32  <br>\n5294.0s    33  During handling of the above exception, another exception occurred:<br>\n5294.0s    34  <br>\n5294.0s    35  Traceback (most recent call last):<br>\n5294.0s    36    File \"/opt/conda/lib/python3.10/site-packages/nbclient/client.py\", line 949, in async_execute_cell<br>\n5294.0s    37      exec_reply = await self.task_poll_for_reply<br>\n5294.0s    38  asyncio.exceptions.CancelledError<br>\n5294.0s    39  <br>\n5294.0s    40  During handling of the above exception, another exception occurred:<br>\n5294.0s    41  <br>\n5294.0s    42  Traceback (most recent call last):<br>\n5294.0s    43    File \"\", line 1, in <br>\n5294.0s    44    File \"/opt/conda/lib/python3.10/site-packages/papermill/execute.py\", line 119, in execute_notebook<br>\n5294.0s    45      nb = papermill_engines.execute_notebook_with_engine(<br>\n5294.0s    46    File \"/opt/conda/lib/python3.10/site-packages/papermill/engines.py\", line 48, in execute_notebook_with_engine<br>\n5294.0s    47      return self.get_engine(engine_name).execute_notebook(nb, kernel_name, **kwargs)<br>\n5294.0s    48    File \"/opt/conda/lib/python3.10/site-packages/papermill/engines.py\", line 365, in execute_notebook<br>\n5294.0s    49      cls.execute_managed_notebook(nb_man, kernel_name, log_output=log_output, **kwargs)<br>\n5294.0s    50    File \"/opt/conda/lib/python3.10/site-packages/papermill/engines.py\", line 434, in execute_managed_notebook<br>\n5294.0s    51      return PapermillNotebookClient(nb_man, *<em>final_kwargs).execute()\n5294.0s    52    File \"/opt/conda/lib/python3.10/site-packages/papermill/clientwrap.py\", line 45, in execute\n5294.0s    53      self.papermill_execute_cells()\n5294.0s    54    File \"/opt/conda/lib/python3.10/site-packages/papermill/clientwrap.py\", line 72, in papermill_execute_cells\n5294.0s    55      self.execute_cell(cell, index)\n5294.0s    56    File \"/opt/conda/lib/python3.10/site-packages/nbclient/util.py\", line 84, in wrapped\n5294.0s    57      return just_run(coro(</em>args, **kwargs))<br>\n5294.0s    58    File \"/opt/conda/lib/python3.10/site-packages/nbclient/util.py\", line 62, in just_run<br>\n5294.0s    59      return loop.run_until_complete(coro)<br>\n5294.0s    60    File \"/opt/conda/lib/python3.10/asyncio/base_events.py\", line 649, in run_until_complete<br>\n5294.0s    61      return future.result()<br>\n5294.0s    62    File \"/opt/conda/lib/python3.10/site-packages/nbclient/client.py\", line 953, in async_execute_cell<br>\n5294.0s    63      raise DeadKernelError(\"Kernel died\")<br>\n5294.0s    64  nbclient.exceptions.DeadKernelError: Kernel died<br>\n5297.5s    65  /opt/conda/lib/python3.10/site-packages/traitlets/traitlets.py:2930: FutureWarning: --Exporter.preprocessors=[\"remove_papermill_header.RemovePapermillHeader\"] for containers is deprecated in traitlets 5.0. You can pass <code>--Exporter.preprocessors item</code> … multiple times to add items to a list.<br>\n5297.5s    66    warn(<br>\n5297.5s    67  [NbConvertApp] WARNING | Config option <code>kernel_spec_manager_class</code> not recognized by <code>NbConvertApp</code>.<br>\n5297.5s    68  [NbConvertApp] Converting notebook <strong>notebook</strong>.ipynb to notebook<br>\n5298.0s    69  [NbConvertApp] Writing 56043 bytes to <strong>notebook</strong>.ipynb<br>\n5299.6s    70  /opt/conda/lib/python3.10/site-packages/traitlets/traitlets.py:2930: FutureWarning: --Exporter.preprocessors=[\"nbconvert.preprocessors.ExtractOutputPreprocessor\"] for containers is deprecated in traitlets 5.0. You can pass <code>--Exporter.preprocessors item</code> … multiple times to add items to a list.<br>\n5299.6s    71    warn(<br>\n5299.6s    72  [NbConvertApp] WARNING | Config option <code>kernel_spec_manager_class</code> not recognized by <code>NbConvertApp</code>.<br>\n5299.6s    73  [NbConvertApp] Converting notebook <strong>notebook</strong>.ipynb to html<br>\n5300.9s    74  [NbConvertApp] Writing 349141 bytes to <strong>results</strong>.html</p>",
      "rawMarkdown": "What may be causing the error and how can we resolve it ?\nPlease help | Error traceback / logs below.\n\n\n5294.0s\t24\tTraceback (most recent call last):\n5294.0s\t25\t  File \"/opt/conda/lib/python3.10/site-packages/nbclient/client.py\", line 730, in _async_poll_for_reply\n5294.0s\t26\t    msg = await ensure_async(self.kc.shell_channel.get_msg(timeout=new_timeout))\n5294.0s\t27\t  File \"/opt/conda/lib/python3.10/site-packages/nbclient/util.py\", line 96, in ensure_async\n5294.0s\t28\t    result = await obj\n5294.0s\t29\t  File \"/opt/conda/lib/python3.10/site-packages/jupyter_client/channels.py\", line 310, in get_msg\n5294.0s\t30\t    ready = await self.socket.poll(timeout)\n5294.0s\t31\tasyncio.exceptions.CancelledError\n5294.0s\t32\t\n5294.0s\t33\tDuring handling of the above exception, another exception occurred:\n5294.0s\t34\t\n5294.0s\t35\tTraceback (most recent call last):\n5294.0s\t36\t  File \"/opt/conda/lib/python3.10/site-packages/nbclient/client.py\", line 949, in async_execute_cell\n5294.0s\t37\t    exec_reply = await self.task_poll_for_reply\n5294.0s\t38\tasyncio.exceptions.CancelledError\n5294.0s\t39\t\n5294.0s\t40\tDuring handling of the above exception, another exception occurred:\n5294.0s\t41\t\n5294.0s\t42\tTraceback (most recent call last):\n5294.0s\t43\t  File \"<string>\", line 1, in <module>\n5294.0s\t44\t  File \"/opt/conda/lib/python3.10/site-packages/papermill/execute.py\", line 119, in execute_notebook\n5294.0s\t45\t    nb = papermill_engines.execute_notebook_with_engine(\n5294.0s\t46\t  File \"/opt/conda/lib/python3.10/site-packages/papermill/engines.py\", line 48, in execute_notebook_with_engine\n5294.0s\t47\t    return self.get_engine(engine_name).execute_notebook(nb, kernel_name, **kwargs)\n5294.0s\t48\t  File \"/opt/conda/lib/python3.10/site-packages/papermill/engines.py\", line 365, in execute_notebook\n5294.0s\t49\t    cls.execute_managed_notebook(nb_man, kernel_name, log_output=log_output, **kwargs)\n5294.0s\t50\t  File \"/opt/conda/lib/python3.10/site-packages/papermill/engines.py\", line 434, in execute_managed_notebook\n5294.0s\t51\t    return PapermillNotebookClient(nb_man, **final_kwargs).execute()\n5294.0s\t52\t  File \"/opt/conda/lib/python3.10/site-packages/papermill/clientwrap.py\", line 45, in execute\n5294.0s\t53\t    self.papermill_execute_cells()\n5294.0s\t54\t  File \"/opt/conda/lib/python3.10/site-packages/papermill/clientwrap.py\", line 72, in papermill_execute_cells\n5294.0s\t55\t    self.execute_cell(cell, index)\n5294.0s\t56\t  File \"/opt/conda/lib/python3.10/site-packages/nbclient/util.py\", line 84, in wrapped\n5294.0s\t57\t    return just_run(coro(*args, **kwargs))\n5294.0s\t58\t  File \"/opt/conda/lib/python3.10/site-packages/nbclient/util.py\", line 62, in just_run\n5294.0s\t59\t    return loop.run_until_complete(coro)\n5294.0s\t60\t  File \"/opt/conda/lib/python3.10/asyncio/base_events.py\", line 649, in run_until_complete\n5294.0s\t61\t    return future.result()\n5294.0s\t62\t  File \"/opt/conda/lib/python3.10/site-packages/nbclient/client.py\", line 953, in async_execute_cell\n5294.0s\t63\t    raise DeadKernelError(\"Kernel died\")\n5294.0s\t64\tnbclient.exceptions.DeadKernelError: Kernel died\n5297.5s\t65\t/opt/conda/lib/python3.10/site-packages/traitlets/traitlets.py:2930: FutureWarning: --Exporter.preprocessors=[\"remove_papermill_header.RemovePapermillHeader\"] for containers is deprecated in traitlets 5.0. You can pass `--Exporter.preprocessors item` ... multiple times to add items to a list.\n5297.5s\t66\t  warn(\n5297.5s\t67\t[NbConvertApp] WARNING | Config option `kernel_spec_manager_class` not recognized by `NbConvertApp`.\n5297.5s\t68\t[NbConvertApp] Converting notebook __notebook__.ipynb to notebook\n5298.0s\t69\t[NbConvertApp] Writing 56043 bytes to __notebook__.ipynb\n5299.6s\t70\t/opt/conda/lib/python3.10/site-packages/traitlets/traitlets.py:2930: FutureWarning: --Exporter.preprocessors=[\"nbconvert.preprocessors.ExtractOutputPreprocessor\"] for containers is deprecated in traitlets 5.0. You can pass `--Exporter.preprocessors item` ... multiple times to add items to a list.\n5299.6s\t71\t  warn(\n5299.6s\t72\t[NbConvertApp] WARNING | Config option `kernel_spec_manager_class` not recognized by `NbConvertApp`.\n5299.6s\t73\t[NbConvertApp] Converting notebook __notebook__.ipynb to html\n5300.9s\t74\t[NbConvertApp] Writing 349141 bytes to __results__.html"
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "2918678": "What may be causing the error and how can we resolve it ?\nPlease help | Error traceback / logs below.\n\n\n5294.0s\t24\tTraceback (most recent call last):\n5294.0s\t25\t  File \"/opt/conda/lib/python3.10/site-packages/nbclient/client.py\", line 730, in _async_poll_for_reply\n5294.0s\t26\t    msg = await ensure_async(self.kc.shell_channel.get_msg(timeout=new_timeout))\n5294.0s\t27\t  File \"/opt/conda/lib/python3.10/site-packages/nbclient/util.py\", line 96, in ensure_async\n5294.0s\t28\t    result = await obj\n5294.0s\t29\t  File \"/opt/conda/lib/python3.10/site-packages/jupyter_client/channels.py\", line 310, in get_msg\n5294.0s\t30\t    ready = await self.socket.poll(timeout)\n5294.0s\t31\tasyncio.exceptions.CancelledError\n5294.0s\t32\t\n5294.0s\t33\tDuring handling of the above exception, another exception occurred:\n5294.0s\t34\t\n5294.0s\t35\tTraceback (most recent call last):\n5294.0s\t36\t  File \"/opt/conda/lib/python3.10/site-packages/nbclient/client.py\", line 949, in async_execute_cell\n5294.0s\t37\t    exec_reply = await self.task_poll_for_reply\n5294.0s\t38\tasyncio.exceptions.CancelledError\n5294.0s\t39\t\n5294.0s\t40\tDuring handling of the above exception, another exception occurred:\n5294.0s\t41\t\n5294.0s\t42\tTraceback (most recent call last):\n5294.0s\t43\t  File \"<string>\", line 1, in <module>\n5294.0s\t44\t  File \"/opt/conda/lib/python3.10/site-packages/papermill/execute.py\", line 119, in execute_notebook\n5294.0s\t45\t    nb = papermill_engines.execute_notebook_with_engine(\n5294.0s\t46\t  File \"/opt/conda/lib/python3.10/site-packages/papermill/engines.py\", line 48, in execute_notebook_with_engine\n5294.0s\t47\t    return self.get_engine(engine_name).execute_notebook(nb, kernel_name, **kwargs)\n5294.0s\t48\t  File \"/opt/conda/lib/python3.10/site-packages/papermill/engines.py\", line 365, in execute_notebook\n5294.0s\t49\t    cls.execute_managed_notebook(nb_man, kernel_name, log_output=log_output, **kwargs)\n5294.0s\t50\t  File \"/opt/conda/lib/python3.10/site-packages/papermill/engines.py\", line 434, in execute_managed_notebook\n5294.0s\t51\t    return PapermillNotebookClient(nb_man, **final_kwargs).execute()\n5294.0s\t52\t  File \"/opt/conda/lib/python3.10/site-packages/papermill/clientwrap.py\", line 45, in execute\n5294.0s\t53\t    self.papermill_execute_cells()\n5294.0s\t54\t  File \"/opt/conda/lib/python3.10/site-packages/papermill/clientwrap.py\", line 72, in papermill_execute_cells\n5294.0s\t55\t    self.execute_cell(cell, index)\n5294.0s\t56\t  File \"/opt/conda/lib/python3.10/site-packages/nbclient/util.py\", line 84, in wrapped\n5294.0s\t57\t    return just_run(coro(*args, **kwargs))\n5294.0s\t58\t  File \"/opt/conda/lib/python3.10/site-packages/nbclient/util.py\", line 62, in just_run\n5294.0s\t59\t    return loop.run_until_complete(coro)\n5294.0s\t60\t  File \"/opt/conda/lib/python3.10/asyncio/base_events.py\", line 649, in run_until_complete\n5294.0s\t61\t    return future.result()\n5294.0s\t62\t  File \"/opt/conda/lib/python3.10/site-packages/nbclient/client.py\", line 953, in async_execute_cell\n5294.0s\t63\t    raise DeadKernelError(\"Kernel died\")\n5294.0s\t64\tnbclient.exceptions.DeadKernelError: Kernel died\n5297.5s\t65\t/opt/conda/lib/python3.10/site-packages/traitlets/traitlets.py:2930: FutureWarning: --Exporter.preprocessors=[\"remove_papermill_header.RemovePapermillHeader\"] for containers is deprecated in traitlets 5.0. You can pass `--Exporter.preprocessors item` ... multiple times to add items to a list.\n5297.5s\t66\t  warn(\n5297.5s\t67\t[NbConvertApp] WARNING | Config option `kernel_spec_manager_class` not recognized by `NbConvertApp`.\n5297.5s\t68\t[NbConvertApp] Converting notebook __notebook__.ipynb to notebook\n5298.0s\t69\t[NbConvertApp] Writing 56043 bytes to __notebook__.ipynb\n5299.6s\t70\t/opt/conda/lib/python3.10/site-packages/traitlets/traitlets.py:2930: FutureWarning: --Exporter.preprocessors=[\"nbconvert.preprocessors.ExtractOutputPreprocessor\"] for containers is deprecated in traitlets 5.0. You can pass `--Exporter.preprocessors item` ... multiple times to add items to a list.\n5299.6s\t71\t  warn(\n5299.6s\t72\t[NbConvertApp] WARNING | Config option `kernel_spec_manager_class` not recognized by `NbConvertApp`.\n5299.6s\t73\t[NbConvertApp] Converting notebook __notebook__.ipynb to html\n5300.9s\t74\t[NbConvertApp] Writing 349141 bytes to __results__.html"
  }
}