-
Notifications
You must be signed in to change notification settings - Fork 21
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
Python error "AttributeError: 'NoneType' object has no attribute 'groupdict'" in esbonio.lsp while getting doctree #418
Comments
The server has the concept of an ‘initial’ doctree which is the doctree you get when all roles and directives are disabled -useful for computing document symbols etc. I’m assuming that the way the server is disabling roles and directives is causing an issue somewhere… what version of Would you also be able to share the content of your |
If you like, I could try to temporarily give you read access to the repo of the project. I tried to temporarily make it public, but somehow that choice is unavailable in our gitlab.tue.nl repo. docutils 0.17.1 _README.rst:
|
Thanks, it looks like the server is not handling default roles correctly, should be easy enough to fix :) |
That was quick! Thanks, looking forward for the update to test. |
|
I cannot find it on conda yet. Latest version there is 0.13.0. Have you released it on conda (conda-forge)? I do see it on PyPi, but I would rather not mix conda installed packages with pip installs. Update 1: My Mac system does not automatically do this. Closing and reopening VSCode and starting esbonio does not help. Update 2: Anyway, what counts is that I see no more errors in the esbonio output and the "Go to Definition" lookup also works again! Update 3 (15:15): |
Yep my bad, I always forget that there’s a lag between PyPi and conda-forge 😅
Hmm not ideal… the VSCode extension currently doesn’t know about conda so it’s going to use the PyPi version everytime. There is an option
I’m glad it all worked out in the end! |
Thanks for the options the tip. Good to know! |
When (re)starting the Sphinx server, which (re)starts the esbonio language server in VSCode, I get the following python error. The html preview output in VSCode appears to be correct and complete. No idea how to further investigate this, or what could be the cause.
Esbonio VSCode extension v0.9.2.
Conda esbonio 0.13.0
VSCode 1.68.1
The text was updated successfully, but these errors were encountered: