neoclide / coc-python

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

Fails to initialize on iTerm2 (macOS Catalina 10.15.3) #145

Closed asermax closed 4 years ago

asermax commented 4 years ago

Getting this error when opening a python file:

## versions

vim version: NVIM v0.4.3
node version: v13.8.0
coc.nvim version: 0.0.74
term: iTerm.app
platform: darwin

## Messages
[coc.nvim] Error on active extension coc-python: Error: Circular dependency found: Symbol(ITerminalAutoActivation) --> Symbol(ITerminalActivator) --> Symbol(ITerminalHelper) --> Symbol(ITerminalActivationCommandProvider) --> Symbol(ITerminalHelper)
    at /Users/asermax/.config/nvim/plugged/coc-python/lib/index.js:2290:19
    at Array.forEach (<anonymous>)
    at circularDependencyToException (/Users/asermax/.config/nvim/plugged/coc-python/lib/index.js:2287:27)
    at /Users/asermax/.config/nvim/plugged/coc-python/lib/index.js:2293:13
    at Array.forEach (<anonymous>)
    at circularDependencyToException (/Users/asermax/.config/nvim/plugged/coc-python/lib/index.js:2287:27)
    at /Users/asermax/.config/nvim/plugged/coc-python/lib/index.js:2293:13
    at Array.forEach (<anonymous>)
    at circularDependencyToException (/Users/asermax/.config/nvim/plugged/coc-python/lib/index.js:2287:27)
    at /Users/asermax/.config/nvim/plugged/coc-python/lib/index.js:2293:13
[coc.nvim] error: UnhandledRejection: Error: Circular dependency found: Symbol(IPythonExecutionFactory) --> Symbol(IEnvironmentActivationService) --> Symbol(ITerminalHelper) --> Symbol(ITerminalActivationCommandProvider) --> Symbol(ITerminalHelper)

I believe it's because of the changes introduced on #143, but I'm pretty new to macOS so I don't understand much of what's happening.