Oct. 14, 2022
9:32 p.m.
On 10/14/22 13:59, Martin Lorenz wrote:
OK thanks for the advice.
I started installing following the path ...
the first error I hit is:
... File "/opt/mailman/venv/lib/python3.9/site-packages/hyperkitty/lib/renderer.py", line 6, in <module> from mistune.plugins.extra import plugin_url ModuleNotFoundError: No module named 'mistune.plugins.extra'
Sorry, that's https://gitlab.com/mailman/hyperkitty/-/issues/437
It is also not clear if you will also encounter https://gitlab.com/mailman/hyperkitty/-/issues/431
If your HyperKitty is version 1.3.5 installed from PyPI, the simplest solution is to downgrade mistune to 2.0.0rc1 in your venv
pip install mistune==2.0.0rc1
Alternatively you can downgrade to mistune<3.0
pip install mistune<3.0
But then you also need to ensure that line 7 in /opt/mailman/venv/lib/python3.9/site-packages/hyperkitty/lib/renderer.py is
from mistune.util import escape_html, escape_url
and not
from mistune.scanner import escape_html, escape_url
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan