neoclide / coc-python

Python extension for coc.nvim, fork of vscode-python
574 stars 51 forks source link

Jedi error while using the extension #242

Open F4zii opened 4 years ago

F4zii commented 4 years ago

While using the extension and writing my code, this error pops up - image

[coc.nvim]: TypeError: item.dispose is not a function
    at Object.disposeAll (/home/iddos/.dotfiles/config/nvim/plugged/coc.nvim/lib/util/index.js:47:18)
    at Object.deactivate (/home/iddos/.dotfiles/config/nvim/plugged/coc.nvim/lib/extensions.js:811:24)
    at Extensions.deactivate (/home/iddos/.dotfiles/config/nvim/plugged/coc.nvim/lib/extensions.js:505:36)
    at Object.ExtensionList.addAction.persist [as execute] (/home/iddos/.dotfiles/config/nvim/plugged/coc.nvim/lib/list/source/extensions.js:26:44)
    at /home/iddos/.dotfiles/config/nvim/plugged/coc.nvim/lib/list/manager.js:754:76
    at Array.map (<anonymous>)
    at ListManager.doItemAction (/home/iddos/.dotfiles/config/nvim/plugged/coc.nvim/lib/list/manager.js:754:41)
    at ListManager.doAction (/home/iddos/.dotfiles/config/nvim/plugged/coc.nvim/lib/list/manager.js:209:24)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async /home/iddos/.dotfiles/config/nvim/plugged/coc.nvim/lib/list/mappings.js:32:13
dylanirlbeck commented 3 years ago

Getting this same issue.

ghost commented 3 years ago

I got the same error: [coc.nvim] Jedi error: Cannot call write after a stream was destroyed but pip installing jedi for the interpreter I was working with fixed the error.