dccsillag / magma-nvim

Interact with Jupyter from NeoVim.
GNU General Public License v3.0
977 stars 49 forks source link

API call: Invalid 'style': expected String, got nil #124

Open eyalk11 opened 3 months ago

eyalk11 commented 3 months ago

Describe the bug A clear and concise description of what the bug is. got pynvim.api.common.NvimError: Vim:E5555: API call: Invalid 'style': expected String, got nil

when evaluate any cell

Desktop (please complete the following information):

python 3.9

BTW, how do I change python host? I mean I need pythno3_host to be 3.9 but still use another python in magma?

rwijtvliet commented 2 months ago

Same here, python 3.11 on MacOS

nickhealy commented 1 month ago

+1, on RHEL 7.5 (old I know, but I don't imagine this is OS related) browser is chrome

rolliver commented 4 weeks ago

New here just installed and got the same error, tracked it down to outputbuffer.py 126

                    "style": None
                    if self.options.output_window_borders
                    else "minimal",
                    "border": "rounded"
                    if self.options.output_window_borders
                    else "none",

Seems to work if you change to "style": "minimal"

126c126
<                     "style": "minimal"
---
>                     "style": None