|
--> --> |
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.
/usr/local/www/moin/moin-1.8.6/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_modpython.Request object>)
- 1309 self.page.send_page()
- 1310 else:
- 1311 handler(self.page.page_name, self)
- 1312
- 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'
/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)
- 251 count_hit=count_hit,
- 252 print_mode=print_mode,
- 253 content_only=content_only,
- 254 )
- 255
- content_only = 0
/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})
- 1199 format_args=pi['formatargs'],
- 1200 do_cache=do_cache,
- 1201 start_line=pi['lines'])
- 1202
- 1203 # check for pending footnotes
- start_line undefined
- pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': 'wiki', 'formatargs': '', 'language': 'en', 'lines': 1}
/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})
- 1287 try:
- 1288 code = self.loadCache(request)
- 1289 self.execute(request, parser, code)
- 1290 except Exception, e:
- 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>
/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>)
- 1318 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1319 try:
- 1320 exec code
- 1321 except "CacheNeedsUpdate": # convert the exception
- 1322 raise Exception("CacheNeedsUpdate")
- code = <code object ? at 0xb2d0e60, file "Dia/Examples", line 2>
/Dia/Examples in ?
/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 =)>>')
- 308 # call the macro
- 309 try:
- 310 return macro_obj.execute(name, args)
- 311 except ImportError, err:
- 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 ='
/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 =')
- 126 else:
- 127 raise ImportError("Cannot load macro %s" % macro_name)
- 128 return execute(self, args)
- 129
- 130 def _m_lang(self, text):
- execute = <function execute>
- self = <MoinMoin.macro.Macro instance>
- args = u'= Examples ='
/usr/local/www/moin/live.gnome.org/data/plugin/macro/MiniPage.py in execute (macro=<MoinMoin.macro.Macro instance>, text=u'= Examples =')
- 36 text = ''.join(text)
- 37 text = text.replace('\\n', '\n')
- 38 Parser = wikiutil.searchAndImportPlugin(request.cfg, "parser", request.page.pi['format'])
- 39 return wikiutil.renderText(request, Parser, text, line_anchors=False)
- 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)