Bug Report
Error when attempting to use GUI Mode
Description
Edit GUI Mode doesn't work, and usually returns with the error:Illegal HTML attribute "bgcolor" passed to formatter
- Is this with Internet Explorer? Thanks Michelle, I haven't seen this, I'll have to investigate Cheers, David.
--> -->
ImportError
Cannot load macro PageComment2
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/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestModPy object>)
- 1205 self.page.send_page(self, msg=msg)
- 1206 else:
- 1207 handler(self.page.page_name, self)
- 1208
- 1209 # generate page footer (actions that do not want this footer use
- handler = <function do_show>
- self = <MoinMoin.request.RequestModPy object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.page_name = u'AucklandWikiCommunity/GeneralDiscussion/BugReports'
/usr/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'AucklandWikiCommunity/GeneralDiscussion/BugReports', request=<MoinMoin.request.RequestModPy object>)
- 466 else:
- 467 request.cacheable = 1
- 468 Page(request, pagename).send_page(request, count_hit=1)
- 469
- 470
- global Page = <class MoinMoin.Page.Page>
- request = <MoinMoin.request.RequestModPy object>
- pagename = u'AucklandWikiCommunity/GeneralDiscussion/BugReports'
- ).send_page undefined
- count_hit undefined
/usr/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>, msg='', **keywords={'count_hit': 1})
- 1254 format_args=pi_formatargs,
- 1255 do_cache=do_cache,
- 1256 start_line=pi_lines)
- 1257
- 1258 # check for pending footnotes
- start_line undefined
- pi_lines = 0
/usr/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'= Bug Report =\n=== Error when attempting to use ...PageComment2(newerfirst=1,commentfirst=1)]]\n----\n', format_args='', do_cache=1, **kw={'start_line': 0})
- 1345 try:
- 1346 code = self.loadCache(request)
- 1347 self.execute(request, parser, code)
- 1348 except Exception, e:
- 1349 if not is_cache_exception(e):
- self = <MoinMoin.Page.Page instance>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance>>
- request = <MoinMoin.request.RequestModPy object>
- parser = <MoinMoin.parser.wiki.Parser instance>
- code = <code object ? at 0xa6e9720, file "AucklandWikiCommunity/GeneralDiscussion/BugReports", line 2>
/usr/lib/python2.4/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>, parser=<MoinMoin.parser.wiki.Parser instance>, code=<code object ? at 0xa6e9720, file "AucklandWikiCommunity/GeneralDiscussion/BugReports", line 2>)
- 1374 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1375 try:
- 1376 exec code
- 1377 except 'CacheNeedsUpdate':
- 1378 raise Exception('CacheNeedsUpdate')
- code = <code object ? at 0xa6e9720, file "AucklandWikiCommunity/GeneralDiscussion/BugReports", line 2>
/AucklandWikiCommunity/GeneralDiscussion/BugReports in ?
/usr/lib/python2.4/site-packages/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, name=u'PageComment2', args=u'newerfirst=1,commentfirst=1')
- 288 def macro(self, macro_obj, name, args):
- 289 # call the macro
- 290 return macro_obj.execute(name, args)
- 291
- 292 def _get_bang_args(self, line):
- macro_obj = <MoinMoin.wikimacro.Macro instance>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance>>
- name = u'PageComment2'
- args = u'newerfirst=1,commentfirst=1'
/usr/lib/python2.4/site-packages/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'PageComment2', args=u'newerfirst=1,commentfirst=1')
- 117 execute = builtins._m_lang
- 118 else:
- 119 raise ImportError("Cannot load macro %s" % macro_name)
- 120 return execute(self, args)
- 121
- builtin ImportError = <class exceptions.ImportError>
- macro_name = u'PageComment2'
ImportError
Cannot load macro PageComment2
- args = (u'Cannot load macro PageComment2',)
System Details
- Date: Thu, 20 Nov 2008 22:17:34 +0000
- Platform: Linux brainbox.greymatter.co.nz 2.6.17-1.2174_FC5 #1 Tue Aug 8 15:30:55 EDT 2006 i686
- Python: Python 2.4.3 (/usr/bin/python)
- MoinMoin: Release 1.5.8 (release)
