Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-2984

Jupyther kernel not starting from tvb Dockerfiles

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4.1
    • Component/s: None
    • Labels:
      None
    • TVB-C Task:
      8.2 Pipeline Integration

      Description

      Jupyter server starts, but entering any notebook, fails to launch a kernel.

      The error first is:

      RuntimeError: This event loop is already running
      

      Then it transforms into:

        File "/opt/conda/envs/tvb-run/lib/python3.7/site-packages/tornado/gen.py", line 234, in wrapper
          yielded = ctx_run(next, result)
        File "/opt/conda/envs/tvb-run/lib/python3.7/site-packages/notebook/services/sessions/sessionmanager.py", line 98, in create_session
          kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
        File "/opt/conda/envs/tvb-run/lib/python3.7/site-packages/tornado/gen.py", line 250, in wrapper
          runner = Runner(ctx_run, result, future, yielded)
        File "/opt/conda/envs/tvb-run/lib/python3.7/site-packages/tornado/gen.py", line 739, in __init__
          if self.handle_yield(first_yielded):
        File "/opt/conda/envs/tvb-run/lib/python3.7/site-packages/tornado/gen.py", line 816, in handle_yield
          self.io_loop.add_future(self.future, inner)
        File "/opt/conda/envs/tvb-run/lib/python3.7/site-packages/tornado/ioloop.py", line 691, in add_future
          assert is_future(future)
      AssertionError
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              lia.domide Lia Domide
              Reporter:
              romina.baila Romina Baila
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 30 minutes
                  4h 30m