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

  1. Go to HBCI and GnuCash

  2. Choose "render as docbook" from menu

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


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/DocBookFootNotesBroken (last edited 2007-10-29 19:07:38 by localhost)