see RecentBlogsCode

If you want more than the five most recent pages, edit this page.


This macro always causes MoinMoin to stack trace, and I'm not sure why. This wasn't happening at Brian's, but he has a slightly newer MoinMoin. It's an ugly but harmless bug. -- SteveHowell

I switched PageSignature over to using our WikiMarkup parsing trick and it works fine on my local wiki. But when I run it on my dorseys.org wiki, it dies with this same stack trace. So I'm pretty sure it's related to our parsing wiki trick. -- BrianDorsey

More info: Looks like this is related to the version of Python. The error goes away when running Python 2.2. Not sure why. -- BrianDorsey

BTW, the "trick" wastes CPU time and will always carry the risk of introducing subtle bugs.

The traceback indicates you have "re.py" in site-packages, which is quite non-standard. -- jh

A similar error shows up here: http://www.dorseys.org/wiki/moin.cgi/PageSignature running python 2.1.1 without the re in site-packages. (random thought: perhaps the re is in site-packages because it didn't come with Python 1.5x?) The wiki-markup parsing "trick" we're doing doesn't feel right, but it's very useful. Is there a better way to have MoinMoin parse wiki from macros instead of needing to produce HTML or use the macro.formatter... methods? -- BrianDorsey

jh, is there a more kosher way to the formatting than our trick? -- SteveHowell


RecentBlogs code is disabled for now, due to stack trace problem. -- SteveHowell

RecentBlogs (last edited 2008-03-04 08:33:21 by localhost)