You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ .env/bin/lsp-devtools record -f "{.params}" --to-file logs.json
^C^CException in callback StreamReaderProtocol.connection_made.<locals>.callback(<Task cancell...server.py:43>>) at /usr/lib64/python3.12/asyncio/streams.py:248
handle: <Handle StreamReaderProtocol.connection_made.<locals>.callback(<Task cancell...server.py:43>>) at /usr/lib64/python3.12/asyncio/streams.py:248>
Traceback (most recent call last):
File "/usr/lib64/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/asyncio/base_events.py", line 671, in run_until_complete
self.run_forever()
File "/usr/lib64/python3.12/asyncio/base_events.py", line 638, in run_forever
self._run_once()
File "/usr/lib64/python3.12/asyncio/base_events.py", line 1933, in _run_once
event_list = self._selector.select(timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/selectors.py", line 468, in select
fd_event_list = self._selector.poll(timeout, max_ev)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/asyncio/runners.py", line 157, in _on_sigint
raise KeyboardInterrupt()
KeyboardInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run
self._context.run(self._callback, *self._args)
File "/usr/lib64/python3.12/asyncio/streams.py", line 249, in callback
exc = task.exception()
^^^^^^^^^^^^^^^^
File "/var/home/alex/Projects/lsp-devtools/lib/lsp-devtools/lsp_devtools/agent/server.py", line 45, in handle_client
await aio_readline(self._stop_event, reader, self.lsp.data_received)
File "/var/home/alex/Projects/lsp-devtools/.env/lib64/python3.12/site-packages/pygls/client.py", line 48, in aio_readline
header = await reader.readline()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/asyncio/streams.py", line 565, in readline
line = await self.readuntil(sep)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/asyncio/streams.py", line 657, in readuntil
await self._wait_for_data('readuntil')
File "/usr/lib64/python3.12/asyncio/streams.py", line 542, in _wait_for_data
await self._waiter
asyncio.exceptions.CancelledError
^CTask was destroyed but it is pending!
task: <Task cancelling name='Task-1' coro=<AgentServer.start_tcp() done, defined at /var/home/alex/Projects/lsp-devtools/lib/lsp-devtools/lsp_devtools/agent/server.py:42> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[gather.<locals>._done_callback() at /usr/lib64/python3.12/asyncio/tasks.py:767]>
I think this is losely related to #131
The text was updated successfully, but these errors were encountered: