siyuan icon indicating copy to clipboard operation
siyuan copied to clipboard

Fails to start with Python 3.10

Open thorus90 opened this issue 2 years ago • 1 comments

If you are using python 3.10 the webui fails to start with:

ImportError: cannot import name 'MutableMapping' from 'collections' (/usr/lib/python3.10/collections/init.py)

this can be fixed by changing bottly.py in line 87 to from collections.abc import MutableMapping as DictMixin

thorus90 avatar Jan 09 '22 08:01 thorus90

The WebUI is still maintained with recoll on its repo web site (framagit): https://framagit.org/medoc92/recollwebui The bottle version there fixes this error. Also see this comment from koniu for confirmation: https://github.com/koniu/recoll-webui/issues/83#issuecomment-723658259

medoc92 avatar Nov 05 '22 08:11 medoc92