On Debian 13 'leoclient' is working fine, when 'leoserver' is already started.
After 'leoclient' is finished, 'leoserver' is shut down - and - reports the following errors:
###
Ctrl+c to break
server: User Connected, Total: 1, Limit: 1
server: Error: id: 1 !error {} error called
server: Error: id: 19 !finishCreate {} _do_message: no response: 'finishCreate'
server: Error: id: 48 !goto_line_in_leo_outline {} goto_line_in_leo_outline: no filePath given
server: Error: id: 49 !goto_nav_entry {} onSelectItem: no target found for None
server: Error: id: 50 !goto_script {} goto_script: no button index given
server: Error: id: 53 !insert_file_node {} insert_file_node: No filePath given
server: Error: id: 66 !paste_as_clone_node {} paste_as_clone_node: no string given
server: Error: id: 67 !paste_as_template {} paste_as_template: no string given
server: Error: id: 68 !paste_node {} paste_node: no string given
server: Error: id: 72 !remove_tag {} remove_tag: no tag
server: Error: id: 83 !tag_node {} tag_node: no tag
server: Error: id: 99 !get_all_leo_commands {} _check_c: no open commander
server connection finished. Total: 0, Limit: 1
Shutting down leoserver
leoserver: cancelled
Checking for changed commanders...
Stopped leobridge server
📦[user@leo-on-debian leo-editor]$
###
I don't know, if those server errors are relevant ...
If 'leoserver' is not started manually before, 'leoclient' still crashes on Debian:
###
📦[user@leo-on-debian leo-editor]$
📦[user@leo-on-debian leo-editor]$ python3 -m leo.core.leoclient
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/home/user/distroboxes/projects/leo-on-debian/leo-editor/leo/core/leoclient.py", line 266, in <module>
main()
~~~~^^
File "/home/user/distroboxes/projects/leo-on-debian/leo-editor/leo/core/leoclient.py", line 253, in main
asyncio.run(client_main_loop(timeout)) # #4664
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/asyncio/runners.py", line 204, in run
return runner.run(main)
~~~~~~~~~~^^^^^^
File "/usr/local/lib/python3.14/asyncio/runners.py", line 127, in run
return self._loop.run_until_complete(task)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/local/lib/python3.14/asyncio/base_events.py", line 719, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "/home/user/distroboxes/projects/leo-on-debian/leo-editor/leo/core/leoclient.py", line 178, in client_main_loop
async with websockets.connect(uri) as websocket:
~~~~~~~~~~~~~~~~~~^^^^^
File "/home/user/distroboxes/projects/leo-on-debian/.local/lib/python3.14/site-packages/websockets/asyncio/client.py", line 590, in __aenter__
return await self
^^^^^^^^^^
File "/home/user/distroboxes/projects/leo-on-debian/.local/lib/python3.14/site-packages/websockets/asyncio/client.py", line 544, in __await_impl__
self.connection = await self.create_connection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/distroboxes/projects/leo-on-debian/.local/lib/python3.14/site-packages/websockets/asyncio/client.py", line 470, in create_connection
_, connection = await loop.create_connection(factory, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/asyncio/base_events.py", line 1176, in create_connection
raise OSError('Multiple exceptions: {}'.format(
', '.join(str(exc) for exc in exceptions)))
OSError: Multiple exceptions: [Errno 111] Connect call failed ('::1', 32125, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 32125)
📦[user@leo-on-debian leo-editor]$
###
With kind regards,
Viktor