Opened 9 years ago

Last modified 9 years ago

#2941 new defect

TypeError in nextItem()

Reported by: anonymous Owned by: permon
Priority: normal Component: MediaWikiPluginMacro
Severity: normal Keywords:
Cc: Trac Release: 0.10


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/", line 406, in dispatch_request


File "/usr/lib/python2.4/site-packages/trac/web/", line 237, in dispatch

resp = chosen_handler.process_request(req)

File "/usr/lib/python2.4/site-packages/trac/wiki/", line 135, in process_request

self._render_view(req, db, page)

File "/usr/lib/python2.4/site-packages/trac/wiki/", line 443, in _render_view

req.hdfwiki? = {

File "/usr/lib/python2.4/site-packages/trac/wiki/", 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/", line 795, in format


File "/usr/lib/python2.4/site-packages/trac/wiki/", line 734, in handle_code_block


File "/usr/lib/python2.4/site-packages/trac/wiki/", line 114, in process

text = self.processor(req, text)

File "/usr/lib/python2.4/site-packages/trac/wiki/", line 102, in _macro_processor

return self.macro_provider.render_macro(req,, text)

File "build/bdist.linux-x86_64/egg/mediawiki/", line 32, in render_macro File "build/bdist.linux-x86_64/egg/mediawiki/", line 28, in expand_macro File "build/bdist.linux-x86_64/egg/mediawiki/", line 2464, in parse File "build/bdist.linux-x86_64/egg/mediawiki/", line 2340, in doBlockLevels

TypeError: nextItem() takes exactly 2 arguments (1 given)

Attachments (1) (104.2 KB) - added by simon 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by simon

Attachment: added

comment:1 Changed 9 years ago by anonymous

thanks, that attachment fixed the same issue for me

Modify Ticket

as new The owner will remain permon.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.