Skip to content

Plugin reliably fails with nvim 0.11.X #52

@savchenko

Description

@savchenko

I have spent a good hour trying to get either direct or proxy up and running, but to no avail.

My setup is rather minimalistic, so I am not certain where the incompatibility is exactly.

I see plenty of various errors, e.g.

Error executing vim.schedule lua callback: ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: The coroutine failed with this message: ...are/nvim/lazy/neopyter
/lua/neopyter/jupyter/notebook.lua:236: bad argument #1 to 'ipairs' (table expected, got nil)                                                                               
stack traceback:                                                                                                                                                            
        [C]: in function 'error'                                                                                                                                            
        ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: in function 'callback_or_next'                                                                      
        ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function <...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:44> 

Or, just after opening the *.ju file:

Error detected while processing BufReadPost Autocommands for "*.ju.*"..BufWinEnter Autocommands for "*.ju.*":
Error executing lua callback: ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: The coroutine failed with this message: ...are/nvim/lazy/neopyter/lua/neopyter
/jupyter/notebook.lua:153: attempt to index a nil value
stack traceback:
        [C]: in function 'error'
        ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: in function 'callback_or_next'
        ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'step'
        ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:48: in function 'execute'
        ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:108: in function 'run'
        ...r/.local/share/nvim/lazy/neopyter/lua/neopyter/async.lua:52: in function <...r/.local/share/nvim/lazy/neopyter/lua/neopyter/async.lua:50>
        [C]: in function 'resume'
        ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'step'
        ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:48: in function 'execute'
        ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:108: in function 'run'
        ...r/.local/share/nvim/lazy/neopyter/lua/neopyter/async.lua:52: in function <...r/.local/share/nvim/lazy/neopyter/lua/neopyter/async.lua:50>

I think adding <h1> warning to the README.md will save everyone time if the extension is indeed incompatible with latest stable NeoVim and/or Jupyter Lab.

NVIM v0.11.7
Jupyter Lab Version 4.5.5

Ping @AbaoFromCUG

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions