dccsillag / magma-nvim

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

[Bug] error when mannually try :UpdateRemotePlugins(all dependencies installed) #67

Closed puppyapple closed 1 year ago

puppyapple commented 1 year ago

Encountered TypeError loading plugin at /home/puppyapple/.local/share/lunarvim/site/pack/packer/start/magma-nvim/rplugin/python3/magma: 'ABCMeta' object is not subscriptable Traceback (most recent call last): File "/home/puppyapple/anaconda3/envs/py38/lib/python3.8/site-packages/pynvim/plugin/host.py", line 165, in _load module = imp.load_module(name, file, pathname, descr) File "/home/puppyapple/anaconda3/envs/py38/lib/python3.8/imp.py", line 244, in load_module return load_package(name, filename) File "/home/puppyapple/anaconda3/envs/py38/lib/python3.8/imp.py", line 216, in load_package return _load(spec) File "", line 702, in _load File "", line 671, in _load_unlocked TypeError: 'ABCMeta' object is not subscriptable remote/host: python3 host registered plugins [] remote/host: generated rplugin manifest: /home/puppyapple/.local/share/nvim/rplugin.vim

vanducng commented 1 year ago

Got same issue, I think it resulted from to this commit.

I temporary install from a commit previously.

  use { "dccsillag/magma-nvim", commit = "0ab5ef297bf98d69f03bb069533444c14cd53383", run = ":UpdateRemotePlugins" }

Hopefully @dccsillag can take some time on this, I think its similar to the discussion in this thread https://stackoverflow.com/questions/59955751/abcmeta-object-is-not-subscriptable-when-trying-to-annotate-a-hash-variable

Slownite commented 1 year ago

Are they any permanent solutions?

gallavee commented 1 year ago

using python 3.9 fixed this for me

WhiteBlackGoose commented 1 year ago

eca28c6 should fix it