Skip to content

Content is not synced to Jupyter #40

Description

@bverhagen

The content in my Neovim buffer is not synced to the Jupyterlab instance I have open.

Steps:

  1. My jupyterlab runs on a remote server. I installed Neopyter and in the settings I choose the defaults (host 127.0.0.1, port 9001)

  2. I installed Neovim extension.

When I open test.ju.py and run :Neopyter status, I get what I should get as @AbaoFromCUG mentions in #15 :


==============================================================================
neopyter:                                                                   ✅

neopyter: config ~
- {
    auto_attach = true,
    auto_connect = true,
    file_pattern = { "*.ju.py" },
    filename_mapper = <function 1>,
    highlight = {
      enable = true,
      mode = "separator"
    },
    injection = {
      enable = true
    },
    jupyter = {
      auto_activate_file = true,
      partial_sync = false,
      scroll = {
        align = "center",
        enable = true
      }
    },
    mode = "direct",
    on_attach = <function 2>,
    parser = {
      python = {},
      r = {},
      trim_whitespace = false
    },
    remote_address = "127.0.0.1:9001",
    textobject = {
      enable = true,
      queries = { "cellseparator", "cellcontent", "cell" }
    }
  }

neopyter: version ~
- neovim plugin(neopyter@0.3.2) status: active
- jupyter lab extension: don't connect

neopyter: status ~
- attach=ready, connect=syncing

- file                           attach     connect    remote_path
- * gpu.ju.py                      true       false

Trying commands like:

:Neopyter execute kernelmenu:restart

returns an error:

RPC websocket server is listening, but without client, can't request [executeCommand]

How can I debug this further?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions