[moin-user] ListPages macro doesn't work

Volker Wysk post at volker-wysk.de
Sat Sep 2 14:18:14 EDT 2017


Hi!

I'm playing with moinmoin, and have tried the ListPages macro, which I have 
downloaded from the macro market. It's quite old (2011), but it is in the list 
of macros for moinmoin 1.9. 

I've copied the example to a wiki page:
<<ListPages(search_term=u'.+', list_type=("number_list", "bullet_list", 
"content"), link=("pagename", "subpage"), reverse=False)>>

This results in an error:
<<ListPages: Ausführung fehlgeschlagen [Unbenamte Argumente können nicht 
benamten Argumenten folgen] (siehe auch die Log-Datei)>>

English translation:
"execution failed [unnamed arguments can't follow named arguments] (also see 
the log file)"

In the apache log file (error.log) there is no additional information.

To me, this looks like ListPages is broken. I know hardly any python, but the 
message (about named and unnamed arguments) doesn't seem true to me. I've also 
played with the macro invocation a little, but this didn't reveal anything.

Should I contact Reimar Bauer, the author of ListPages? How? (His wiki page on 
moinmo.in doesn't look functional)

Happy hacking,
Volker



More information about the moin-user mailing list