Description
A user noticed some problem with action "Render as Docbook", which gives a Traceback sometimes:
Traceback (most recent call last):
File "/org/moin_tw/moin-1.5/MoinMoin/request.py", line 1018, in run
handler(self.page.page_name, self)
File "/org/moin_tw/moin-1.5/MoinMoin/wikiaction.py", line 825, in do_format
Page(request, pagename, formatter=Formatter(request)).send_page(request)
File "/org/moin_tw/moin-1.5/MoinMoin/Page.py", line 1246, in send_page
request.write(emit_footnotes(request, self.formatter))
File "/org/moin_tw/moin-1.5/MoinMoin/macro/FootNote.py", line 48, in emit_footnotes
attr = formatter.langAttr()
AttributeError: Formatter instance has no attribute 'langAttr'
Steps to reproduce
Details
MoinMoin Version |
1.5.1 (code shared with this wiki) |
OS and Version |
|
Python Version |
|
Server Setup |
|
Server Details |
|
Workaround
Don't use footnotes.
Discussion
The missing method is an internal HTML-formatter method. I.e. the caller does illegal things here
Plan
- Priority:
- Assigned to:
Status: fixed in 1.5 refactor branch, fixed to produce <footnote> tags in the docbook branch (http://hg.thinkmo.de/moin/1.6-docbook-mvirkkil)
