Opened 17 years ago
Last modified 4 years ago
#2941 new defect
TypeError in nextItem()
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | MediaWikiPluginMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
Trac 0.10.4 / TracMediaWikiMacro 1.0
When trying out a MediWiki page in Trac, we get this error message:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 135, in process_request
self._render_view(req, db, page)
File "/usr/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 443, in _render_view
req.hdfwiki? = {
File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 1001, in wiki_to_html
Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines)
File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 795, in format
self.handle_code_block(line)
File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 734, in handle_code_block
self.out.write(to_unicode(self.code_processor.process(
File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 114, in process
text = self.processor(req, text)
File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 102, in _macro_processor
return self.macro_provider.render_macro(req, self.name, text)
File "build/bdist.linux-x86_64/egg/mediawiki/mediawiki.py", line 32, in render_macro File "build/bdist.linux-x86_64/egg/mediawiki/mediawiki.py", line 28, in expand_macro File "build/bdist.linux-x86_64/egg/mediawiki/parser.py", line 2464, in parse File "build/bdist.linux-x86_64/egg/mediawiki/parser.py", line 2340, in doBlockLevels
TypeError: nextItem() takes exactly 2 arguments (1 given)
Attachments (1)
Change History (3)
Changed 16 years ago by
comment:1 Changed 16 years ago by
comment:2 Changed 4 years ago by
Owner: | permon deleted |
---|
thanks, that attachment fixed the same issue for me