siyuan
siyuan copied to clipboard
Fails to start with Python 3.10
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
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