Skip to content

"Is not open in the session Code: -32602" multiple requests error in VSCode using Marimo #387

@edwardmoradian

Description

@edwardmoradian

Describe the bug

I am regularly getting the same error pop-ups in VSCode using Marimo Notebooks that reoccur even after updating extensions, reloading the window or existing VSCode:

Sample Error 1:
Request textDocument/semanticTokens/full failed.
Message: Document vscode-notebook-cell:/Users/.../.../Home/....py#W0sZmlsZQ%3D%3D is not open in the session
Code: -32602

Sample Error 2:
Request textDocument/codeAction failed.
Message: Document vscode-notebook-cell:/.../.../.../....py#W3sZmlsZQ%3D%3D is not open in the session
Code: -32602

Sample Error 3:
Request textDocument/inlayHint failed.
Message: Document vscode-notebook-cell:/.../.../.../....py#W5sZmlsZQ%3D%3D is not open in the session
Code: -32602

I have reached asked in a thread in the Discord Server for marimo:
https://discord.com/channels/1059888774789730424/1468647354373636218/1468647354373636218

Environment

Image
Details
Replace this line with the output. Leave the backticks in place.

Steps to reproduce

  1. Open a Marimo notebook in VSCode
  2. Eventually the pop-up starts and does not stop with the errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions