Skip to content

More problems with jupyter notebooks: can't create new cells or execute the cells #142

@PhyAMR

Description

@PhyAMR

Hi again, I now can open notebooks that I have already wrote in them, but when I try to create a new one with nvim test.ipynb I get this error

Error detected while processing BufReadCmd Autocommands for "*.ipynb":
Error executing lua callback: ...cal/share/nvim/lazy/jupytext.nvim/lua/jupytext/utils.lua:16: attempt to index a nil value
stack traceback:
        ...cal/share/nvim/lazy/jupytext.nvim/lua/jupytext/utils.lua:16: in function 'get_ipynb_metadata'
        ...ocal/share/nvim/lazy/jupytext.nvim/lua/jupytext/init.lua:70: in function 'read_from_ipynb'
        ...ocal/share/nvim/lazy/jupytext.nvim/lua/jupytext/init.lua:176: in function <...ocal/share/nvim/lazy/jupytext.nvim/lua/jupytext/init.lua:175>

An I can't see or use the keybindings to execute the notebook cells.

I did all the changes you commented on the previous issue and now I can see a proper formatting for the notebook, but I can't execute it.

Thank you for this config, and if I may suggest one thing, could you make a guide on how to add new plugins to not break the configuration I'm having some trouble trying to add rust to the LSP.

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