leointeg icon indicating copy to clipboard operation
leointeg copied to clipboard

Support leoserver 'warning(s)' on startup: don't cancel auto-connect after only warnings.

Open boltex opened this issue 3 years ago • 0 comments

As @edreamleo found out: Some installs of python 3.10 may give the following warning at the leoserver startup:

C:\Repos\leo-editor\leo\core\leoserver.py:1012: DeprecationWarning: There is no current event loop asyncio.get_event_loop().create_task(self._asyncIdleLoop(delay / 1000, fn))

This will be fixed automatically in next python release, it also does not impede the server in any way.

On error pipe output, do not automatically cancel the startup : check for 'warnings' instead of 'errors' and continue with the normal startup.

boltex avatar Aug 27 '22 20:08 boltex