Stephen J. Turnbull wrote:
> Matt Blissett via Mailman-users writes:
> > I get exceptions logged when certain pages in the email archives
> ...
> This:
> > File "/usr/lib/python3.12/site-packages/mistune/markdown.py", line 120, in 
> > __call__
> > return self.parse(s)[0]
> > suggests it's trying to parse Markdown out of a non-markdown file.
> This:
> > File "/usr/lib/python3.12/site-packages/mistune/core.py", line 214, in 
> > parse_method
> > assert lastgroup
> > ^^^^^^^^^
> > Exception Type: AssertionError at 
> > /archives/list/tdwg-...@lists.tdwg.org/thread/HZCJQBJPACPZZN7UDNKJIPIFNTM7CA63/replies
> > doesn't make sense to me, as core.py has only 207 lines in my
> installation, and there is no assert in the parse_method function.
> Check what version you have.

Thanks — it's version 3.1.3, so it's these lines: 
https://github.com/lepture/mistune/blob/v3.1.3/src/mistune/core.py#L212-L216

> If you do not need the Markdown rendering, you can disable it (per
> list).

"Archive Rendering Mode" for this list is already set to "Plain text".

-- 
Matt
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/HN4E4A3ZT3R7P4ZLLVALTNVX33IPMHGM/

This message sent to arch...@mail-archive.com

Reply via email to