Skip to content
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

python3.11 failed to invoke tagls #3

Open
zhuzhzh opened this issue Jun 15, 2023 · 0 comments
Open

python3.11 failed to invoke tagls #3

zhuzhzh opened this issue Jun 15, 2023 · 0 comments

Comments

@zhuzhzh
Copy link

zhuzhzh commented Jun 15, 2023

Here is the output.

$ python3 -m tagls
Traceback (most recent call last):
  File "<frozen runpy>", line 189, in _run_module_as_main
  File "<frozen runpy>", line 148, in _get_module_details
  File "<frozen runpy>", line 112, in _get_module_details
  File "/home/harriszh/.local/python-3.11.3/lib/python3.11/site-packages/tagls/__init__.py", line 1, in <module>
    from tagls.server import server
  File "/home/harriszh/.local/python-3.11.3/lib/python3.11/site-packages/tagls/server.py", line 7, in <module>
    from pygls.capabilities import ServerCapabilitiesBuilder
  File "/home/harriszh/.local/python-3.11.3/lib/python3.11/site-packages/pygls/capabilities.py", line 17, in <module>
    from pygls.lsp.methods import (CODE_ACTION, CODE_LENS, COMPLETION, DECLARATION, DEFINITION,
  File "/home/harriszh/.local/python-3.11.3/lib/python3.11/site-packages/pygls/lsp/__init__.py", line 23, in <module>
    from pygls.lsp.types import *
  File "/home/harriszh/.local/python-3.11.3/lib/python3.11/site-packages/pygls/lsp/types/__init__.py", line 6, in <module>
    from pygls.lsp.types.general_messages import *
  File "/home/harriszh/.local/python-3.11.3/lib/python3.11/site-packages/pygls/lsp/types/general_messages.py", line 35, in <module>
    from pygls.lsp.types.language_features import (CallHierarchyClientCapabilities,
  File "/home/harriszh/.local/python-3.11.3/lib/python3.11/site-packages/pygls/lsp/types/language_features/__init__.py", line 2, in <module>
    from pygls.lsp.types.language_features.call_hierarchy import *
  File "/home/harriszh/.local/python-3.11.3/lib/python3.11/site-packages/pygls/lsp/types/language_features/call_hierarchy.py", line 70, in <module>
    class CallHierarchyIncomingCall(Model):
  File "/home/harriszh/.local/python-3.11.3/lib/python3.11/site-packages/pydantic/main.py", line 369, in __new__
    cls.__signature__ = ClassAttribute('__signature__', generate_model_signature(cls.__init__, fields, config))
                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/harriszh/.local/python-3.11.3/lib/python3.11/site-packages/pydantic/utils.py", line 231, in generate_model_signature
    merged_params[param_name] = Parameter(
                                ^^^^^^^^^^
  File "/home/harriszh/.local/python-3.11.3/lib/python3.11/inspect.py", line 2722, in __init__
    raise ValueError('{!r} is not a valid parameter name'.format(name))
ValueError: 'from' is not a valid parameter name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant