-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoneType object has attribute plugin_manager #359
Comments
never mind. I figured it out. I think. turns out oni is expecting me to install this with the |
@wreed4 are you still able to repro this issue? I’d be interesting in debugging it even if you’ve found a workaround. |
@gatesn definitely. Install the Oni editor, then follow the instructions for setting up this plugin, but do not use the [all] directive. I believe I used |
Hi
The error occurs when I using go_to_definition function while set PYTHONPATH to include the local library path "~/.local/lib/python3.7/site-packages". If exclude the local library in PYTHONPATH, then the go_to_definition works without error message. It can jumps to system libraries like 'os', but failed to jump to local libraries installed in I tried to reinstall the language server but without luck. any help please? Many thanks. |
I installed the library outside the .local path and included the new path in PYTHONPATH, now the go_to_definition can jump to the new location now. |
This started happening to me recently. I didn't update pyls in the meantime. This was on version 0.26, on Arch Linux. I tried updating to 0.27 but it did not help. |
I had the same problem. I fixed it with uninstalling typed-ast version 1.4.0 and installing version 1.3.1: |
I'm having a similar problem, I'm using Artix Linux and NeoVim 0.3.8, this is the output of
I would like to avoid using Update: Downgrading to python-typed-ast 1.3.1 using pacman doesn't seem to work. |
Update: Seems that the problem (in my case) is due to the mypy extension requiring python-typing_extension version 3.7.4 or higher, while the most recent version on my system is 3.7.2. |
I didn't investigate the root cause but going back to version |
Installing pip install --user mypy black PyLS is installed as user's package: pip install --user 'python-language-server[all]'
|
tl;dr Update
It was always there, I just didn't look. I wondered why it didn't show up in the status bar. Then I realized that, to debug an earlier problem, I added an "lsp_buffer_enabled" message, which replaced the earlier message from pyls 🙄 Hi,
So, I guess that the reports in this issue have in common that some error occurred and pyls didn't gracefully handle it? After the error it was not initialize because the I see the following communication in the vim-lsp/pyls debug output:
|
I just installed pyls to work with the oni editor. I don't think I've changed anything in the way of configuration. However, when I attempt to use the completion features, I always am met with this error. Here is the stack trace from stderr.
Any help would be very much appreciated.
The text was updated successfully, but these errors were encountered: