Attachment 'traceback.html'
DownloadImportError
Cannot load macro ShowRights
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/__init__.py in run (self=<MoinMoin.request.CGI.Request object>)
- 1155 self.page.send_page(msg=msg)
- 1156 else:
- 1157 handler(self.page.page_name, self)
- 1158
- 1159 # every action that didn't use to raise MoinMoinNoFooter must call this now:
- handler = <function do_show>
- self = <MoinMoin.request.CGI.Request object>
- self.page = <MoinMoin.Page.Page object>
- self.page.page_name = u'NowTest'
/usr/lib/python2.4/site-packages/MoinMoin/action/__init__.py in do_show (pagename=u'NowTest', request=<MoinMoin.request.CGI.Request object>, content_only=0, count_hit=1, cacheable=1, print_mode=0)
- 235 count_hit=count_hit,
- 236 print_mode=print_mode,
- 237 content_only=content_only,
- 238 )
- 239
- content_only = 0
/usr/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object>, msg='', **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})
- 1128 format_args=pi['formatargs'],
- 1129 do_cache=do_cache,
- 1130 start_line=pi['lines'])
- 1131
- 1132 # check for pending footnotes
- start_line undefined
- pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': 'wiki', 'formatargs': '', 'lines': 0}
/usr/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.CGI.Request object>, Parser=<class MoinMoin.parser.text_moin_wiki.Parser>, body=u'NowTest hier beschreiben...\n\n[[ShowRights(err19999999)]]\n', format_args='', do_cache=1, **kw={'start_line': 0})
- 1215 try:
- 1216 code = self.loadCache(request)
- 1217 self.execute(request, parser, code)
- 1218 except Exception, e:
- 1219 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.CGI.Request object>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance>
- code = <code object ? at 0xb7934da0, file "NowTest", line 2>
/usr/lib/python2.4/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.CGI.Request object>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>, code=<code object ? at 0xb7934da0, file "NowTest", line 2>)
- 1247
- 1248 try:
- 1249 exec code
- 1250 except "CacheNeedsUpdate": # convert the exception
- 1251 raise Exception("CacheNeedsUpdate")
- code = <code object ? at 0xb7934da0, file "NowTest", line 2>
/usr/share/moin/mywiki/cgi-bin/NowTest in ?
/usr/lib/python2.4/site-packages/MoinMoin/formatter/__init__.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.macro.Macro instance>, name=u'ShowRights', args=u'err19999999')
- 294 def macro(self, macro_obj, name, args):
- 295 # call the macro
- 296 return macro_obj.execute(name, args)
- 297
- 298 def _get_bang_args(self, line):
- macro_obj = <MoinMoin.macro.Macro instance>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance>>
- name = u'ShowRights'
- args = u'err19999999'
/usr/lib/python2.4/site-packages/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance>, macro_name=u'ShowRights', args=u'err19999999')
- 113 execute = builtins._m_lang
- 114 else:
- 115 raise ImportError("Cannot load macro %s" % macro_name)
- 116 return execute(self, args)
- 117
- builtin ImportError = <class exceptions.ImportError>
- macro_name = u'ShowRights'
ImportError
Cannot load macro ShowRights
- args = (u'Cannot load macro ShowRights',)
System Details
- Date: Tue, 20 Mar 2007 20:11:50 +0000
- Platform: Linux noname 2.6.18-2-k7 #1 SMP Wed Nov 8 20:38:36 UTC 2006 i686
- Python: Python 2.4.4 (/usr/bin/python)
- MoinMoin: Release 1.6.0alpha (release)