Oh, awesome! Thanks.
2022/07/27 1:00、Mark Sapiro <mark@msapiro.net <mailto:mark@msapiro.net>>のメール:
On 7/25/22 12:57, Koichi MATSUMOTO via Mailman-Developers wrote:
Hi, I tried to install Mailman & HyperKitty according to the installation instructions and do `mailman-web migrate`, but failed. ... from mistune.plugins.extra import plugin_url ModuleNotFoundError: No module named 'mistune.plugins.extra' ... Ok, I installed mistune 2.0.4 and retried `mailman-web migrate` but failied yet. ... ImportError: cannot import name 'escape_html' from 'mistune.scanner' (/srv/mailman/.pyenv/versions/3.10.5/lib/python3.10/site-packages/mistune/scanner.py) ... And then, I modified hyperkitty/lib/renderer.py as below: ``` --- renderer.py.orig 2022-07-26 04:41:01.244307778 +0900 +++ renderer.py 2022-07-26 04:35:14.096672198 +0900 @@ -4,7 +4,7 @@ import mistune from mistune.plugins.extra import plugin_url -from mistune.scanner import escape_html, escape_url +from mistune.util import escape_html, escape_url class MyRenderer(mistune.HTMLRenderer): ``` Then retried, I migrated databases successfully. Is this a bug?
These are known issues, fixed for the next release. See https://gitlab.com/mailman/hyperkitty/-/issues/437 <https://gitlab.com/mailman/hyperkitty/-/issues/437>, https://gitlab.com/mailman/hyperkitty/-/merge_requests/454 <https://gitlab.com/mailman/hyperkitty/-/merge_requests/454> and https://gitlab.com/mailman/hyperkitty/-/merge_requests/379 <https://gitlab.com/mailman/hyperkitty/-/merge_requests/379>
-- Mark Sapiro <mark@msapiro.net <mailto:mark@msapiro.net>> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan (snip)