On Thu, Dec 18, 2025 at 6:10 PM Stephen J. Turnbull <[email protected]> wrote:
> Washington Odhiambo via Mailman-users writes: > > > I keep seeing several errors like the below in my mailmanweb.log > > and not sure what the causa is. > > > File > "/opt/mailman/venv/lib/python3.11/site-packages/mistune/block_parser.py", > > line 457, in parse > > end_pos2 = self.parse_method(m, state) > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > File "/opt/mailman/venv/lib/python3.11/site-packages/mistune/core.py", > > line 214, in parse_method > > assert lastgroup > > AssertionError > > ``` > > This is a mistune bug. Somewhere, mistune code is not checking for > the error condition being checked by the "assert", and it got through > to the code. I can't tell you what the problem is, the assert is in a > very generic utility that is probably called a billion times in the > mistune code. It's possible that updating mistune will fix the bug, > but I wouldn't bet on it because of the nature of what mistune does. > > mistune is a library that parses and renders Markdown (document > formatting language that is readable as plain text). Markdown > rendering in HyperKitty is an experimental format, and probably should > not be enabled for lists that are not *heavily* programmer-oriented > (maybe there are other communities that use Markdown frequently, if > so, my apologies). > > If you don't have users who really want it, you should turn it off. > I don't remember ever turning it on. What is the name of the config param? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html] _______________________________________________ Mailman-users mailing list -- [email protected] To unsubscribe send an email to [email protected] https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at: https://lists.mailman3.org/archives/list/[email protected]/message/MDBGLWMT3ZT6WV7D5GWNHKCYV5KRLMB5/ This message sent to [email protected]
