Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to run run_cell() #137

Closed
vandalt opened this issue Jun 30, 2024 · 1 comment · Fixed by #138
Closed

Error when trying to run run_cell() #137

vandalt opened this issue Jun 30, 2024 · 1 comment · Fixed by #138

Comments

@vandalt
Copy link

vandalt commented Jun 30, 2024

I get the following error when trying to use run_cell() after the latest otter.nvim (which makes configuration much nicer btw, thanks a lot! 🙂)

E5108: Error executing lua: ...l/share/nvim/lazy/quarto-nvim/lua/quarto/runner/init.lua:87: attempt to index field '_
otters_attached' (a nil value)                                                                                       
stack traceback:                                                                                                     
        ...l/share/nvim/lazy/quarto-nvim/lua/quarto/runner/init.lua:87: in function 'run'                            
        ...l/share/nvim/lazy/quarto-nvim/lua/quarto/runner/init.lua:111: in function 'run_cell'                      
        /home/vandal/.config/nvim/lua/plugins/repl.lua:182: in function </home/vandal/.config/nvim/lua/plugins/repl.l
ua:181>                   

It seems that _otters_attached was removed from the otter.nvim source code in the latest update. I'm looking at it right now to understand further, but wanted to point it out here as the fix is probably more obvious to you.

Thanks!

@jmbuhr jmbuhr closed this as completed in c873128 Jun 30, 2024
@jmbuhr
Copy link
Collaborator

jmbuhr commented Jun 30, 2024

Thanks! That was an oversight by me, I had renamed some things in otter.nvim and forget it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants