luk400 / vim-jukit

Jupyter-Notebook inspired Neovim/Vim Plugin
MIT License
602 stars 23 forks source link

Undefined variable: g:_jukit_ps #122

Open tomaszstachera opened 4 weeks ago

tomaszstachera commented 4 weeks ago

After trying to convert a notebook there is an issue:

Error detected while processing function jukit#convert#notebook_convert[5]..<SNR>56_convert_to_script[12]..provider#python3#Call:
line    1:
E5108: Error executing lua Vim:Error invoking 'python_execute' on channel 7 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 2, in <module>
  File "/Users/tomasz/miniconda3/envs/grokking/lib/python3.10/site-packages/pynvim/plugin/script_host.py", line 210, in eval
    obj = self.request("vim_eval", expr)
  File "/Users/tomasz/miniconda3/envs/grokking/lib/python3.10/site-packages/pynvim/api/nvim.py", line 199, in request
    res = self._session.request(name, *args, **kwargs)
  File "/Users/tomasz/miniconda3/envs/grokking/lib/python3.10/site-packages/pynvim/msgpack_rpc/session.py", line 139, in request
    raise self.error_wrapper(err)
pynvim.api.common.NvimError: function jukit#convert#notebook_convert[5]..<SNR>56_convert_to_script[12]..provider#python3#Call[1]..<SNR>56_convert_to_script[12]..jukit#util#plugin_path, line 2: Vim(let):E121: Undefined variable: g:_jukit_ps
stack traceback:
        [C]: at 0x010fe2f33c