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.

Steve

-- 
GNU Mailman consultant (installation, migration, customization)
Sirius Open Source    https://www.siriusopensource.com/
Software systems consulting in Europe, North America, and Japan
_______________________________________________
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/IGMFYZZO4GOQKI6DYYFYFRVPLIU6RLG7/

This message sent to [email protected]

Reply via email to