http://www.gnome.org/projects/dia/images/exempl.jpg

--> -->

TypeError

renderText() got an unexpected keyword argument 'line_anchors'

If you want to report a bug, please save this page and attach it to your bug report.

Traceback

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

  1. /usr/local/www/moin/moin-1.8.6/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_modpython.Request object>)

    1. 1309 self.page.send_page()
    2. 1310 else:
    3. 1311 handler(self.page.page_name, self)
    4. 1312
    5. 1313 # every action that didn't use to raise MoinMoinFinish must call this now:
    • handler = <function do_show>
    • self = <MoinMoin.request.request_modpython.Request object>
    • self.page = <MoinMoin.Page.Page object>
    • self.page.page_name = u'Dia/Examples'
  2. /usr/local/www/moin/moin-1.8.6/MoinMoin/action/__init__.py in do_show (pagename=u'Dia/Examples', request=<MoinMoin.request.request_modpython.Request object>, content_only=0, count_hit=1, cacheable=1, print_mode=0)

    1. 251 count_hit=count_hit,
    2. 252 print_mode=print_mode,
    3. 253 content_only=content_only,
    4. 254 )
    5. 255
    • content_only = 0
  3. /usr/local/www/moin/moin-1.8.6/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})

    1. 1199 format_args=pi['formatargs'],
    2. 1200 do_cache=do_cache,
    3. 1201 start_line=pi['lines'])
    4. 1202
    5. 1203 # check for pending footnotes
    • start_line undefined
    • pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': 'wiki', 'formatargs': '', 'language': 'en', 'lines': 1}
  4. /usr/local/www/moin/moin-1.8.6/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_modpython.Request object>, body=u'||<:style="border:0;width:20%"> {{http://www.gno...uer.org/dia/dia-cairo.htm|different exporters]].\n', format='wiki', format_args='', do_cache=1, **kw={'start_line': 1})

    1. 1287 try:
    2. 1288 code = self.loadCache(request)
    3. 1289 self.execute(request, parser, code)
    4. 1290 except Exception, e:
    5. 1291 if not is_cache_exception(e):
    • self = <MoinMoin.Page.Page object>
    • self.execute = <bound method Page.execute of <MoinMoin.Page.Page object>>
    • request = <MoinMoin.request.request_modpython.Request object>
    • parser = <MoinMoin.parser.text_moin_wiki.Parser instance>
    • code = <code object ? at 0xb2d0e60, file "Dia/Examples", line 2>
  5. /usr/local/www/moin/moin-1.8.6/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_modpython.Request object>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>, code=<code object ? at 0xb2d0e60, file "Dia/Examples", line 2>)

    1. 1318 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    2. 1319 try:
    3. 1320 exec code
    4. 1321 except "CacheNeedsUpdate": # convert the exception
    5. 1322 raise Exception("CacheNeedsUpdate")
    • code = <code object ? at 0xb2d0e60, file "Dia/Examples", line 2>
  6. /Dia/Examples in ?

  7. /usr/local/www/moin/moin-1.8.6/MoinMoin/formatter/__init__.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.macro.Macro instance>, name=u'MiniPage', args=u'= Examples =', markup=u'<<MiniPage(= Examples =)>>')

    1. 308 # call the macro
    2. 309 try:
    3. 310 return macro_obj.execute(name, args)
    4. 311 except ImportError, err:
    5. 312 errmsg = unicode(err)
    • macro_obj = <MoinMoin.macro.Macro instance>
    • macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance>>
    • name = u'MiniPage'
    • args = u'= Examples ='
  8. /usr/local/www/moin/moin-1.8.6/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance>, macro_name=u'MiniPage', args=u'= Examples =')

    1. 126 else:
    2. 127 raise ImportError("Cannot load macro %s" % macro_name)
    3. 128 return execute(self, args)
    4. 129
    5. 130 def _m_lang(self, text):
    • execute = <function execute>
    • self = <MoinMoin.macro.Macro instance>
    • args = u'= Examples ='
  9. /usr/local/www/moin/live.gnome.org/data/plugin/macro/MiniPage.py in execute (macro=<MoinMoin.macro.Macro instance>, text=u'= Examples =')

    1. 36 text = ''.join(text)
    2. 37 text = text.replace('\\n', '\n')
    3. 38 Parser = wikiutil.searchAndImportPlugin(request.cfg, "parser", request.page.pi['format'])
    4. 39 return wikiutil.renderText(request, Parser, text, line_anchors=False)
    5. 40
    • global wikiutil = <module 'MoinMoin.wikiutil' from '/usr/local/www/moin/moin/MoinMoin/wikiutil.pyc'>
    • wikiutil.renderText = <function renderText>
    • request = <MoinMoin.request.request_modpython.Request object>
    • Parser = <class MoinMoin.parser.text_moin_wiki.Parser>
    • text = u'= Examples ='
    • line_anchors undefined
    • builtin False = False

TypeError

renderText() got an unexpected keyword argument 'line_anchors'

  • args = ("renderText() got an unexpected keyword argument 'line_anchors'",)

System Details

  • Date: Wed, 16 Dec 2009 18:08:37 +0000
  • Platform: Linux label.gnome.org 2.6.18-164.6.1.el5PAE #1 SMP Tue Oct 27 11:46:58 EDT 2009 i686
  • Python: Python 2.4.3 (/usr/bin/python)
  • MoinMoin: Release 1.8.6 (release)