Skip to content

Instantly share code, notes, and snippets.

@lucax88x
Created March 3, 2024 19:45
Show Gist options
  • Save lucax88x/20aae191173ad0c63c96dd74ca3d793f to your computer and use it in GitHub Desktop.
Save lucax88x/20aae191173ad0c63c96dd74ca3d793f to your computer and use it in GitHub Desktop.
ruff error
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" "Unable to deserialize message\n + Exception Group Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/pygls/protocol/json_rpc.py\", line 330, in _deserialize_message\n | return self._converter.structure(data, request_type)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 332, in structure\n | return self._structure_func.dispatch(cl)(obj, cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.InitializeRequest>\", line 26, in structure_InitializeRequest\n | if errors: raise __c_cve('While structuring ' + 'InitializeRequest', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring InitializeRequest (1 sub-exception)\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.InitializeRequest>\", line 10, in structure_InitializeRequest\n | res['params'] = __c_structure_params(o['params'], __c_type_params)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.InitializeParams>\", line 63, in structure_InitializeParams\n | if errors: raise __c_cve('While structuring ' + 'InitializeParams', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring InitializeParams (1 sub-exception)\n | Structuring class InitializeRequest @ attribute params\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.InitializeParams>\", line 5, in structure_InitializeParams\n | res['capabilities'] = __c_structure_capabilities(o['capabilities'], __c_type_capabilities)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.ClientCapabilities>\", line 40, in structure_ClientCapabilities\n | if errors: raise __c_cve('While structuring ' + 'ClientCapabilities', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring ClientCapabilities (2 sub-exceptions)\n | Structuring class InitializeParams @ attribute capabilities\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.ClientCapabilities>\", line 6, in structure_ClientCapabilities\n | res['workspace'] = __c_structure_workspace(o['workspace'], __c_type_workspace)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.WorkspaceClientCapabilities>\", line 94, in structure_WorkspaceClientCapabilities\n | if errors: raise __c_cve('While structuring ' + 'WorkspaceClientCapabilities', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring WorkspaceClientCapabilities (1 sub-exception)\n | Structuring class ClientCapabilities @ attribute workspace\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.WorkspaceClientCapabilities>\", line 30, in structure_WorkspaceClientCapabilities\n | res['symbol'] = __c_structure_symbol(o['symbol'], __c_type_symbol)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.WorkspaceSymbolClientCapabilities>\", line 28, in structure_WorkspaceSymbolClientCapabilities\n | if errors: raise __c_cve('While structuring ' + 'WorkspaceSymbolClientCapabilities', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring WorkspaceSymbolClientCapabilities (1 sub-exception)\n | Structuring class WorkspaceClientCapabilities @ attribute symbol\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.WorkspaceSymbolClientCapabilities>\", line 12, in structure_WorkspaceSymbolClientCapabilities\n | res['symbol_kind'] = __c_structure_symbol_kind(o['symbolKind'], __c_type_symbol_kind)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.WorkspaceSymbolClientCapabilitiesSymbolKindType>\", line 10, in structure_WorkspaceSymbolClientCapabilitiesSymbolKindType\n | if errors: raise __c_cve('While structuring ' + 'WorkspaceSymbolClientCapabilitiesSymbolKindType', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring WorkspaceSymbolClientCapabilitiesSymbolKindType (1 sub-exception)\n | Structuring class WorkspaceSymbolClientCapabilities @ attribute symbol_kind\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.WorkspaceSymbolClientCapabilitiesSymbolKindType>\", line 6, in structure_WorkspaceSymbolClientCapabilitiesSymbolKindType\n | res['value_set'] = __c_structure_value_set(o['valueSet'], __c_type_value_set)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 531, in _structure_list\n | raise IterableValidationError(\n | cattrs.errors.IterableValidationError: While structuring typing.List[lsprotocol.types.SymbolKind] (26 sub-exceptions)\n | Structuring class WorkspaceSymbolClientCapabilitiesSymbolKindType @ attribute value_set\n +-+---------------- 1 -------------"
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" "---\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [1, 'File'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 0\n +---------------- 2 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [2, 'Module'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 1\n +---------------- 3 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [3, 'Namespace'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 2\n +---------------- 4 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [4, 'Package'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 3\n +---------------- 5 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [5, 'Class'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 4\n +---------------- 6 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [6, 'Method'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 5\n +---------------- 7 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [7, 'Property'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 6\n "
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" " +---------------- 8 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [8, 'Field'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 7\n +---------------- 9 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [9, 'Constructor'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 8\n +---------------- 10 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [10, 'Enum'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 9\n +---------------- 11 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [11, 'Interface'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 10\n +---------------- 12 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [12, 'Function'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 11\n +---------------- 13 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [13, 'Variable'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 12\n +---------------- 14 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [14, 'Constant'] is not a valid SymbolKind\n | Structuring typing."
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" "List[lsprotocol.types.SymbolKind] @ index 13\n +---------------- 15 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [15, 'String'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 14\n +---------------- ... ----------------\n | and 11 more exceptions\n +------------------------------------\n +---------------- 2 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.ClientCapabilities>\", line 12, in structure_ClientCapabilities\n | res['text_document'] = __c_structure_text_document(o['textDocument'], __c_type_text_document)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.TextDocumentClientCapabilities>\", line 190, in structure_TextDocumentClientCapabilities\n | if errors: raise __c_cve('While structuring ' + 'TextDocumentClientCapabilities', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring TextDocumentClientCapabilities (3 sub-exceptions)\n | Structuring class ClientCapabilities @ attribute text_document\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.TextDocumentClientCapabilities>\", line 12, in structure_TextDocumentClientCapabilities\n | res['completion'] = __c_structure_completion(o['completion'], __c_type_completion)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.CompletionClientCapabilities>\", line 40, in structure_CompletionClientCapabilities\n | if errors: raise __c_cve('While structuring ' + 'CompletionClientCapabilities', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring CompletionClientCapabilities (1 sub-exception)\n | Structuring class TextDocumentClientCapabilities @ attribute completion\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.CompletionClientCapabilities>\", line 18, in structure_CompletionClientCapabilities\n | res['completion_item_kind'] = __c_structure_completion_item_kind(o['completionItemKind'], __c_type_completion_item_kind)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.CompletionClientCapabilitiesCompletionItemKindType>\", line 10, in structure_CompletionClientCapabilitiesCompletionItemKindType\n | if errors: raise __c_cve('While structuring ' + 'CompletionClientCapabilitiesCompletionItemKindType', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring CompletionClientCapabilitiesCompletionItemKindType (1 sub-exception)\n | Structuring class CompletionClientCapabilities @ attribute completion_item_kind\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.CompletionClientCapabilitiesCompletionItemKindType>\", line 6, in structure_CompletionClientCapabilitiesCompletionItemKindType\n | res['value_set'] = __c_structure_value_set(o['valueSet'], __c_type_value_set)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 531, in _structure_list\n | raise IterableValidationError(\n | cattrs.errors.IterableValidationError: While structuring typing.List[lsprotocol.types.CompletionItemKind] (25 sub-exceptions)\n | Structuring class CompletionClientCapabilitiesCompletionItemKindType @ attribute value_set\n +-+---------------- 1 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [1, 'Text'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 0\n +---------------- 2 ----------------\n | Traceback (most recent call last):"
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" "\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [2, 'Method'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 1\n +---------------- 3 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [3, 'Function'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 2\n +---------------- 4 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [4, 'Constructor'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 3\n +---------------- 5 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [5, 'Field'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 4\n +---------------- 6 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [6, 'Variable'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 5\n +---------------- 7 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [7, 'Class'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 6\n +---------------- 8 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [8, 'Interface'] is not a valid CompletionItemKind\n | Structuring typing.Li"
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" "st[lsprotocol.types.CompletionItemKind] @ index 7\n +---------------- 9 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [9, 'Module'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 8\n +---------------- 10 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [10, 'Property'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 9\n +---------------- 11 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [11, 'Unit'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 10\n +---------------- 12 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [12, 'Value'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 11\n +---------------- 13 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [13, 'Enum'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 12\n +---------------- 14 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [14, 'Keyword'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 13\n +---------------- 15 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __"
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" "new__\n | raise ve_exc\n | ValueError: [15, 'Snippet'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 14\n +---------------- ... ----------------\n | and 10 more exceptions\n +------------------------------------\n +---------------- 2 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.TextDocumentClientCapabilities>\", line 66, in structure_TextDocumentClientCapabilities\n | res['document_symbol'] = __c_structure_document_symbol(o['documentSymbol'], __c_type_document_symbol)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.DocumentSymbolClientCapabilities>\", line 34, in structure_DocumentSymbolClientCapabilities\n | if errors: raise __c_cve('While structuring ' + 'DocumentSymbolClientCapabilities', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring DocumentSymbolClientCapabilities (1 sub-exception)\n | Structuring class TextDocumentClientCapabilities @ attribute document_symbol\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.DocumentSymbolClientCapabilities>\", line 12, in structure_DocumentSymbolClientCapabilities\n | res['symbol_kind'] = __c_structure_symbol_kind(o['symbolKind'], __c_type_symbol_kind)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.DocumentSymbolClientCapabilitiesSymbolKindType>\", line 10, in structure_DocumentSymbolClientCapabilitiesSymbolKindType\n | if errors: raise __c_cve('While structuring ' + 'DocumentSymbolClientCapabilitiesSymbolKindType', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring DocumentSymbolClientCapabilitiesSymbolKindType (1 sub-exception)\n | Structuring class DocumentSymbolClientCapabilities @ attribute symbol_kind\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.DocumentSymbolClientCapabilitiesSymbolKindType>\", line 6, in structure_DocumentSymbolClientCapabilitiesSymbolKindType\n | res['value_set'] = __c_structure_value_set(o['valueSet'], __c_type_value_set)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 531, in _structure_list\n | raise IterableValidationError(\n | cattrs.errors.IterableValidationError: While structuring typing.List[lsprotocol.types.SymbolKind] (26 sub-exceptions)\n | Structuring class DocumentSymbolClientCapabilitiesSymbolKindType @ attribute value_set\n +-+---------------- 1 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [1, 'File'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 0\n +---------------- 2 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [2, 'Module'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 1\n +---------------- 3 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [3, 'Namespace'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 2\n +---------------- 4 ----------------\n | Traceback (most recent call last):\n | File \"/Users/lu"
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" "ca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [4, 'Package'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 3\n +---------------- 5 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [5, 'Class'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 4\n +---------------- 6 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [6, 'Method'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 5\n +---------------- 7 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [7, 'Property'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 6\n +---------------- 8 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [8, 'Field'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 7\n +---------------- 9 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [9, 'Constructor'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 8\n +---------------- 10 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [10, 'Enum'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 9\n +---------------- 11 ----------------\n | Traceback (most recent call la"
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" "st):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [11, 'Interface'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 10\n +---------------- 12 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [12, 'Function'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 11\n +---------------- 13 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [13, 'Variable'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 12\n +---------------- 14 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [14, 'Constant'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 13\n +---------------- 15 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [15, 'String'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 14\n +---------------- ... ----------------\n | and 11 more exceptions\n +------------------------------------\n +---------------- 3 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.TextDocumentClientCapabilities>\", line 132, in structure_TextDocumentClientCapabilities\n | res['publish_diagnostics'] = __c_structure_publish_diagnostics(o['publishDiagnostics'], __c_type_publish_diagnostics)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.PublishDiagnosticsClientCapabilities>\", line 34, in structure_PublishDiagnosticsClientCapabilities\n | if errors: raise __c_cve('While structuring ' + 'PublishDiagnosticsClientCapabilities', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring PublishDiagnosticsClientCapabilities (1 sub-exception)\n | Structuring class TextDocumentClientCapabilities @ attribute publish_diagnostics\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.PublishDiagnosticsClientCapabilities>\", line 12, in structure_PublishDiagnosticsClientCapabilities\n | res['tag_support'] = __c_structure_tag_support(o['tagSupport'], __c_type_tag_support)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^"
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" "^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.PublishDiagnosticsClientCapabilitiesTagSupportType>\", line 9, in structure_PublishDiagnosticsClientCapabilitiesTagSupportType\n | if errors: raise __c_cve('While structuring ' + 'PublishDiagnosticsClientCapabilitiesTagSupportType', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring PublishDiagnosticsClientCapabilitiesTagSupportType (1 sub-exception)\n | Structuring class PublishDiagnosticsClientCapabilities @ attribute tag_support\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.PublishDiagnosticsClientCapabilitiesTagSupportType>\", line 5, in structure_PublishDiagnosticsClientCapabilitiesTagSupportType\n | res['value_set'] = __c_structure_value_set(o['valueSet'], __c_type_value_set)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 531, in _structure_list\n | raise IterableValidationError(\n | cattrs.errors.IterableValidationError: While structuring typing.List[lsprotocol.types.DiagnosticTag] (2 sub-exceptions)\n | Structuring class PublishDiagnosticsClientCapabilitiesTagSupportType @ attribute value_set\n +-+---------------- 1 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [1, 'Unnecessary'] is not a valid DiagnosticTag\n | Structuring typing.List[lsprotocol.types.DiagnosticTag] @ index 0\n +---------------- 2 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [2, 'Deprecated'] is not a valid DiagnosticTag\n | Structuring typing.List[lsprotocol.types.DiagnosticTag] @ index 1\n +------------------------------------\n\n"
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" "Error receiving data\n + Exception Group Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/pygls/protocol/json_rpc.py\", line 330, in _deserialize_message\n | return self._converter.structure(data, request_type)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 332, in structure\n | return self._structure_func.dispatch(cl)(obj, cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.InitializeRequest>\", line 26, in structure_InitializeRequest\n | if errors: raise __c_cve('While structuring ' + 'InitializeRequest', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring InitializeRequest (1 sub-exception)\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.InitializeRequest>\", line 10, in structure_InitializeRequest\n | res['params'] = __c_structure_params(o['params'], __c_type_params)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.InitializeParams>\", line 63, in structure_InitializeParams\n | if errors: raise __c_cve('While structuring ' + 'InitializeParams', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring InitializeParams (1 sub-exception)\n | Structuring class InitializeRequest @ attribute params\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.InitializeParams>\", line 5, in structure_InitializeParams\n | res['capabilities'] = __c_structure_capabilities(o['capabilities'], __c_type_capabilities)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.ClientCapabilities>\", line 40, in structure_ClientCapabilities\n | if errors: raise __c_cve('While structuring ' + 'ClientCapabilities', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring ClientCapabilities (2 sub-exceptions)\n | Structuring class InitializeParams @ attribute capabilities\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.ClientCapabilities>\", line 6, in structure_ClientCapabilities\n | res['workspace'] = __c_structure_workspace(o['workspace'], __c_type_workspace)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.WorkspaceClientCapabilities>\", line 94, in structure_WorkspaceClientCapabilities\n | if errors: raise __c_cve('While structuring ' + 'WorkspaceClientCapabilities', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring WorkspaceClientCapabilities (1 sub-exception)\n | Structuring class ClientCapabilities @ attribute workspace\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.WorkspaceClientCapabilities>\", line 30, in structure_WorkspaceClientCapabilities\n | res['symbol'] = __c_structure_symbol(o['symbol'], __c_type_symbol)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.WorkspaceSymbolClientCapabilities>\", line 28, in structure_WorkspaceSymbolClientCapabilities\n | if errors: raise __c_cve('While structuring ' + 'WorkspaceSymbolClientCapabilities', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring WorkspaceSymbolClientCapabilities (1 sub-exception)\n | Structuring class WorkspaceClientCapabilities @ attribute symbol\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.WorkspaceSymbolClientCapabilities>\", line 12, in structure_WorkspaceSymbolClientCapabilities\n | res['symbol_kind'] = __c_structure_symbol_kind(o['symbolKind'], __c_type_symbol_kind)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.WorkspaceSymbolClientCapabilitiesSymbolKindType>\", line 10, in structure_WorkspaceSymbolClientCapabilitiesSymbolKindType\n | if errors: raise __c_cve('While structuring ' + 'WorkspaceSymbolClientCapabilitiesSymbolKindType', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring WorkspaceSymbolClientCapabilitiesSymbolKindType (1 sub-exception)\n | Structuring class WorkspaceSymbolClientCapabilities @ attribute symbol_kind\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.WorkspaceSymbolClientCapabilitiesSymbolKindType>\", line 6, in structure_WorkspaceSymbolClientCapabilitiesSymbolKindType\n | res['value_set'] = __c_structure_value_set(o['valueSet'], __c_type_value_set)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 531, in _structure_list\n | raise IterableValidationError(\n | cattrs.errors.IterableValidationError: While structuring typing.List[lsprotocol.types.SymbolKind] (26 sub-exceptions)\n | Structuring class WorkspaceSymbolClientCapabilitiesSymbolKindType @ attribute value_set\n +-+---------------- 1 ----------------\n "
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" " | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [1, 'File'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 0\n +---------------- 2 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [2, 'Module'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 1\n +---------------- 3 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [3, 'Namespace'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 2\n +---------------- 4 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [4, 'Package'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 3\n +---------------- 5 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [5, 'Class'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 4\n +---------------- 6 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [6, 'Method'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 5\n +---------------- 7 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [7, 'Property'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 6\n +-----"
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" "----------- 8 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [8, 'Field'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 7\n +---------------- 9 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [9, 'Constructor'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 8\n +---------------- 10 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [10, 'Enum'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 9\n +---------------- 11 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [11, 'Interface'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 10\n +---------------- 12 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [12, 'Function'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 11\n +---------------- 13 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [13, 'Variable'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 12\n +---------------- 14 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [14, 'Constant'] is not a valid SymbolKind\n | Structuring typing.List[lspr"
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" "otocol.types.SymbolKind] @ index 13\n +---------------- 15 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [15, 'String'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 14\n +---------------- ... ----------------\n | and 11 more exceptions\n +------------------------------------\n +---------------- 2 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.ClientCapabilities>\", line 12, in structure_ClientCapabilities\n | res['text_document'] = __c_structure_text_document(o['textDocument'], __c_type_text_document)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.TextDocumentClientCapabilities>\", line 190, in structure_TextDocumentClientCapabilities\n | if errors: raise __c_cve('While structuring ' + 'TextDocumentClientCapabilities', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring TextDocumentClientCapabilities (3 sub-exceptions)\n | Structuring class ClientCapabilities @ attribute text_document\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.TextDocumentClientCapabilities>\", line 12, in structure_TextDocumentClientCapabilities\n | res['completion'] = __c_structure_completion(o['completion'], __c_type_completion)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.CompletionClientCapabilities>\", line 40, in structure_CompletionClientCapabilities\n | if errors: raise __c_cve('While structuring ' + 'CompletionClientCapabilities', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring CompletionClientCapabilities (1 sub-exception)\n | Structuring class TextDocumentClientCapabilities @ attribute completion\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.CompletionClientCapabilities>\", line 18, in structure_CompletionClientCapabilities\n | res['completion_item_kind'] = __c_structure_completion_item_kind(o['completionItemKind'], __c_type_completion_item_kind)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.CompletionClientCapabilitiesCompletionItemKindType>\", line 10, in structure_CompletionClientCapabilitiesCompletionItemKindType\n | if errors: raise __c_cve('While structuring ' + 'CompletionClientCapabilitiesCompletionItemKindType', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring CompletionClientCapabilitiesCompletionItemKindType (1 sub-exception)\n | Structuring class CompletionClientCapabilities @ attribute completion_item_kind\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.CompletionClientCapabilitiesCompletionItemKindType>\", line 6, in structure_CompletionClientCapabilitiesCompletionItemKindType\n | res['value_set'] = __c_structure_value_set(o['valueSet'], __c_type_value_set)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 531, in _structure_list\n | raise IterableValidationError(\n | cattrs.errors.IterableValidationError: While structuring typing.List[lsprotocol.types.CompletionItemKind] (25 sub-exceptions)\n | Structuring class CompletionClientCapabilitiesCompletionItemKindType @ attribute value_set\n +-+---------------- 1 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [1, 'Text'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 0\n +---------------- 2 ----------------\n | Traceback (most recent call last):\n "
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" " | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [2, 'Method'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 1\n +---------------- 3 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [3, 'Function'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 2\n +---------------- 4 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [4, 'Constructor'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 3\n +---------------- 5 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [5, 'Field'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 4\n +---------------- 6 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [6, 'Variable'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 5\n +---------------- 7 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [7, 'Class'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 6\n +---------------- 8 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [8, 'Interface'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprot"
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" "ocol.types.CompletionItemKind] @ index 7\n +---------------- 9 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [9, 'Module'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 8\n +---------------- 10 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [10, 'Property'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 9\n +---------------- 11 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [11, 'Unit'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 10\n +---------------- 12 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [12, 'Value'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 11\n +---------------- 13 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [13, 'Enum'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 12\n +---------------- 14 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [14, 'Keyword'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 13\n +---------------- 15 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n "
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" " | raise ve_exc\n | ValueError: [15, 'Snippet'] is not a valid CompletionItemKind\n | Structuring typing.List[lsprotocol.types.CompletionItemKind] @ index 14\n +---------------- ... ----------------\n | and 10 more exceptions\n +------------------------------------\n +---------------- 2 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.TextDocumentClientCapabilities>\", line 66, in structure_TextDocumentClientCapabilities\n | res['document_symbol'] = __c_structure_document_symbol(o['documentSymbol'], __c_type_document_symbol)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.DocumentSymbolClientCapabilities>\", line 34, in structure_DocumentSymbolClientCapabilities\n | if errors: raise __c_cve('While structuring ' + 'DocumentSymbolClientCapabilities', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring DocumentSymbolClientCapabilities (1 sub-exception)\n | Structuring class TextDocumentClientCapabilities @ attribute document_symbol\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.DocumentSymbolClientCapabilities>\", line 12, in structure_DocumentSymbolClientCapabilities\n | res['symbol_kind'] = __c_structure_symbol_kind(o['symbolKind'], __c_type_symbol_kind)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.DocumentSymbolClientCapabilitiesSymbolKindType>\", line 10, in structure_DocumentSymbolClientCapabilitiesSymbolKindType\n | if errors: raise __c_cve('While structuring ' + 'DocumentSymbolClientCapabilitiesSymbolKindType', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring DocumentSymbolClientCapabilitiesSymbolKindType (1 sub-exception)\n | Structuring class DocumentSymbolClientCapabilities @ attribute symbol_kind\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.DocumentSymbolClientCapabilitiesSymbolKindType>\", line 6, in structure_DocumentSymbolClientCapabilitiesSymbolKindType\n | res['value_set'] = __c_structure_value_set(o['valueSet'], __c_type_value_set)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 531, in _structure_list\n | raise IterableValidationError(\n | cattrs.errors.IterableValidationError: While structuring typing.List[lsprotocol.types.SymbolKind] (26 sub-exceptions)\n | Structuring class DocumentSymbolClientCapabilitiesSymbolKindType @ attribute value_set\n +-+---------------- 1 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [1, 'File'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 0\n +---------------- 2 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [2, 'Module'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 1\n +---------------- 3 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [3, 'Namespace'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 2\n +---------------- 4 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi"
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" "/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [4, 'Package'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 3\n +---------------- 5 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [5, 'Class'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 4\n +---------------- 6 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [6, 'Method'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 5\n +---------------- 7 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [7, 'Property'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 6\n +---------------- 8 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [8, 'Field'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 7\n +---------------- 9 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [9, 'Constructor'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 8\n +---------------- 10 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [10, 'Enum'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 9\n +---------------- 11 ----------------\n | Traceback (most recent call last):\n "
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" " | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [11, 'Interface'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 10\n +---------------- 12 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [12, 'Function'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 11\n +---------------- 13 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [13, 'Variable'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 12\n +---------------- 14 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [14, 'Constant'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 13\n +---------------- 15 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [15, 'String'] is not a valid SymbolKind\n | Structuring typing.List[lsprotocol.types.SymbolKind] @ index 14\n +---------------- ... ----------------\n | and 11 more exceptions\n +------------------------------------\n +---------------- 3 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.TextDocumentClientCapabilities>\", line 132, in structure_TextDocumentClientCapabilities\n | res['publish_diagnostics'] = __c_structure_publish_diagnostics(o['publishDiagnostics'], __c_type_publish_diagnostics)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.PublishDiagnosticsClientCapabilities>\", line 34, in structure_PublishDiagnosticsClientCapabilities\n | if errors: raise __c_cve('While structuring ' + 'PublishDiagnosticsClientCapabilities', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring PublishDiagnosticsClientCapabilities (1 sub-exception)\n | Structuring class TextDocumentClientCapabilities @ attribute publish_diagnostics\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.PublishDiagnosticsClientCapabilities>\", line 12, in structure_PublishDiagnosticsClientCapabilities\n | res['tag_support'] = __c_structure_tag_support(o['tagSupport'], __c_type_tag_support)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 627, in _structure_optional\n | return self._structure_func.dispatch(other)(obj, other)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
[ERROR][2024-03-03 20:34:30] .../vim/lsp/rpc.lua:794 "rpc" "/Users/luca.trazzi/.local/share/nvim/mason/bin/ruff-lsp" "stderr" "^^^^^^^^^^^^^^^^^\n | File \"<cattrs generated structure lsprotocol.types.PublishDiagnosticsClientCapabilitiesTagSupportType>\", line 9, in structure_PublishDiagnosticsClientCapabilitiesTagSupportType\n | if errors: raise __c_cve('While structuring ' + 'PublishDiagnosticsClientCapabilitiesTagSupportType', errors, __cl)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | cattrs.errors.ClassValidationError: While structuring PublishDiagnosticsClientCapabilitiesTagSupportType (1 sub-exception)\n | Structuring class PublishDiagnosticsClientCapabilities @ attribute tag_support\n +-+---------------- 1 ----------------\n | Exception Group Traceback (most recent call last):\n | File \"<cattrs generated structure lsprotocol.types.PublishDiagnosticsClientCapabilitiesTagSupportType>\", line 5, in structure_PublishDiagnosticsClientCapabilitiesTagSupportType\n | res['value_set'] = __c_structure_value_set(o['valueSet'], __c_type_value_set)\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 531, in _structure_list\n | raise IterableValidationError(\n | cattrs.errors.IterableValidationError: While structuring typing.List[lsprotocol.types.DiagnosticTag] (2 sub-exceptions)\n | Structuring class PublishDiagnosticsClientCapabilitiesTagSupportType @ attribute value_set\n +-+---------------- 1 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [1, 'Unnecessary'] is not a valid DiagnosticTag\n | Structuring typing.List[lsprotocol.types.DiagnosticTag] @ index 0\n +---------------- 2 ----------------\n | Traceback (most recent call last):\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 521, in _structure_list\n | res.append(handler(e, elem_type))\n | ^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/cattrs/converters.py\", line 430, in _structure_call\n | return cl(obj)\n | ^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 744, in __call__\n | return cls.__new__(cls, value)\n | ^^^^^^^^^^^^^^^^^^^^^^^\n | File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/enum.py\", line 1158, in __new__\n | raise ve_exc\n | ValueError: [2, 'Deprecated'] is not a valid DiagnosticTag\n | Structuring typing.List[lsprotocol.types.DiagnosticTag] @ index 1\n +------------------------------------\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/pygls/protocol/json_rpc.py\", line 443, in data_received\n self._data_received(data)\n File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/pygls/protocol/json_rpc.py\", line 475, in _data_received\n json.loads(\n File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/json/__init__.py\", line 359, in loads\n return cls(**kw).decode(s)\n ^^^^^^^^^^^^^^^^^^^\n File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/json/decoder.py\", line 337, in decode\n obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/luca.trazzi/.rye/py/[email protected]/install/lib/python3.12/json/decoder.py\", line 353, in raw_decode\n obj, end = self.scan_once(s, idx)\n ^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/luca.trazzi/.local/share/nvim/mason/packages/ruff-lsp/venv/lib/python3.12/site-packages/pygls/protocol/json_rpc.py\", line 344, in _deserialize_message\n raise JsonRpcInvalidParams() from exc\npygls.exceptions.JsonRpcInvalidParams: Invalid Params\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment