Skip to content

RuntimeError: This task group is not active; no new tasks can be started. #108

Description

@ste-goldstein

I'm trying to connect to a server:
jpterm --server 'https://jupyterhub.dataspace.copernicus.eu/user/my@email.com/?token=mytoken'

The app briefly loads and I can see my remote file. Then it crashes with the errer:

 /home/user/.local/share/virtualenvs/jpterm-env-KIz3eMwl/lib/python3.13/site-packages/anyio/_ba │
│ ckends/_asyncio.py:837 in _spawn                                                                 │
│                                                                                                  │
│    834 │   │   │   │   )                                                                         │
│    835 │   │                                                                                     │
│    836 │   │   if not self._active:                                                              │
│ ❱  837 │   │   │   raise RuntimeError(                                                           │
│    838 │   │   │   │   "This task group is not active; no new tasks can be started."             │
│    839 │   │   │   )                                                                             │
│    840                                                                                           │
│                                                                                                  │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │               args = ()                                                                      │ │
│ │               func = <bound method Task.wait of <anyioutils._task.Task object at             │ │
│ │                      0x7fcc8564da90>>                                                        │ │
│ │               name = None                                                                    │ │
│ │               self = <anyio._backends._asyncio.TaskGroup object at 0x7fcc8450dc50>           │ │
│ │ task_status_future = None                                                                    │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
RuntimeError: This task group is not active; no new tasks can be started.

Am I missing something ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions