Add missing dependencies to multilspy to run Dart LSP in Windows and MacOS#74
Merged
MischaPanch merged 1 commit intooraios:mainfrom Apr 21, 2025
Merged
Conversation
Contributor
|
Thanks! Have you actually tried it with Dart, does the language server work there? |
Contributor
Author
@MischaPanch, I have tried, but with no success to the moment. After the dependencies from this PR, I could start Error executing tool: 'relativePath'
Traceback (most recent call last):
File ".../serena/src/serena/agent.py", line 551, in apply_ex
result = apply_fn(**kwargs)
^^^^^^^^^^^^^^^^^^
File ".../serena/src/serena/agent.py", line 753, in apply
symbols = self.symbol_manager.find_by_name(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../serena/src/serena/symbol.py", line 230, in find_by_name
symbol_roots = self.lang_server.request_full_symbol_tree(within_relative_path=within_relative_path, include_body=include_body)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../serena/src/multilspy/language_server.py", line 1780, in request_full_symbol_tree
).result(timeout=self.timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../Python/Python311/Lib/concurrent/futures/_base.py", line 456, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File ".../Python/Python311/Lib/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File ".../serena/src/multilspy/language_server.py", line 990, in request_full_symbol_tree
return await process_directory(start_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../serena/src/multilspy/language_server.py", line 946, in process_directory
child_symbols = await process_directory(item_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../serena/src/multilspy/language_server.py", line 946, in process_directory
child_symbols = await process_directory(item_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../serena/src/multilspy/language_server.py", line 964, in process_directory
fix_relative_path(root_nodes)
File ".../serena/src/multilspy/language_server.py", line 955, in fix_relative_path
path = Path(node["location"]["relativePath"])
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'relativePath'I have not investigated deeper, but I imagine that this is due to |
baka3k
pushed a commit
to baka3k/serena
that referenced
this pull request
Nov 11, 2025
…linux Add missing dependencies to multilspy to run Dart LSP in Windows and MacOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the same content of the PR to multispy to add support to other platforms for Dart LSP.