--> --> |
PluginAttributeError
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/lib/python2.5/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_fcgi.Request object at 0x9092e0c>)
- 1281
- 1282 # Disallow non available actions
- 1283 elif action_name[0].isupper() and not action_name in self.getAvailableActions(self.page):
- 1284 msg = _("You are not allowed to do %(action_name)s on this page.") % {
- 1285 'action_name': wikiutil.escape(action_name), }
- action_name = 'show'
- ].isupper = <built-in method isupper of str object at 0x8275380>
- self = <MoinMoin.request.request_fcgi.Request object at 0x9092e0c>
- self.getAvailableActions = <bound method Request.getAvailableActions of <Mo...equest.request_fcgi.Request object at 0x9092e0c>>
- self.page = <MoinMoin.Page.Page object at 0x909f7ec>
/usr/local/lib/python2.5/site-packages/MoinMoin/action/__init__.py in do_show (pagename=u'RecentChanges', request=<MoinMoin.request.request_fcgi.Request object at 0x9092e0c>, content_only=0, count_hit=1, cacheable=1, print_mode=0)
- 239 """ show a page, either current revision or the revision given by rev form value.
- 240 if count_hit is non-zero, we count the request for statistics.
- 241 """
- 242 # We must check if the current page has different ACLs.
- 243 if not request.user.may.read(pagename):
- send undefined
- a undefined
- page undefined
- using undefined
- specific undefined
- formatter undefined
- given undefined
- by undefined
- mimetype = u'text/html'
- form undefined
- key undefined
/usr/local/lib/python2.5/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object at 0x909fbcc>, msg='', **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})
- 1179 special = 'denied'
- 1180
- 1181 # if we have a special page, output it, unless
- 1182 # - we should only output content (this is for say the pagelinks formatter)
- 1183 # - we have a non-default formatter
- special undefined
- content_only = 0
- self = <MoinMoin.Page.Page object at 0x909fbcc>
- self.default_formatter = True
/usr/local/lib/python2.5/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object at 0x909fbcc>, request=<MoinMoin.request.request_fcgi.Request object at 0x9092e0c>, body=u'\n||<tablestyle="width: 99%; background: #E6EAF0;...sions of the problematic paragraphs together. ||\n', format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 7})
- 1267 """ Output the formatted wiki page, using caching if possible
- 1268
- 1269 @param request: the request object
- 1270 @param body: text of the wiki page
- 1271 @param format: format of content, default 'wiki'
- param undefined
- request = <MoinMoin.request.request_fcgi.Request object at 0x9092e0c>
- the undefined
- builtin object = <type 'object'>
/usr/local/lib/python2.5/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page object at 0x909fbcc>, request=<MoinMoin.request.request_fcgi.Request object at 0x9092e0c>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance at 0x909f36c>, code=<code object <module> at 0x8d837b8, file "RecentChanges", line 2>)
- 1298 request.clock.stop('send_page_content')
- 1299
- 1300 def format(self, parser):
- 1301 """ Format and write page content without caching """
- 1302 parser.format(self.formatter)
- format undefined
- self = <MoinMoin.Page.Page object at 0x909fbcc>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x909f36c>
/export/www/RecentChanges in
() /usr/local/lib/python2.5/site-packages/MoinMoin/formatter/__init__.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0x909f02c>, macro_obj=<MoinMoin.macro.Macro instance at 0x909fb0c>, name=u'RandomQuote', args=u'WikiTipOfTheDay', markup=u'<<RandomQuote(WikiTipOfTheDay)>>')
- 306 def table_cell(self, on, attrs={}, **kw):
- 307 raise NotImplementedError
- 308
- 309 # Dynamic stuff / Plugins ############################################
- 310
- macro undefined
- self = <MoinMoin.formatter.text_html.Formatter instance at 0x909f02c>
- macro_obj = <MoinMoin.macro.Macro instance at 0x909fb0c>
- name = u'RandomQuote'
- args = u'WikiTipOfTheDay'
- markup = u'<<RandomQuote(WikiTipOfTheDay)>>'
- builtin None = None
/usr/local/lib/python2.5/site-packages/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance at 0x909fb0c>, macro_name=u'RandomQuote', args=u'WikiTipOfTheDay')
- 104
- 105 def execute(self, macro_name, args):
- 106 """ Get and execute a macro
- 107
- 108 Try to get a plugin macro, or a builtin macro or a language
/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py in importPlugin (cfg=<superdave.Config instance at 0x850670c>, kind='macro', name=u'RandomQuote', function='execute')
- 1102 @return: "function" of module "name" of kind "kind", or None
- 1103 """
- 1104 try:
- 1105 return importWikiPlugin(cfg, kind, name, function)
- 1106 except PluginMissingError:
/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py in importBuiltinPlugin (kind='macro', name=u'RandomQuote', function='execute')
- 1124 See importPlugin docstring.
- 1125 """
- 1126 if not name in builtinPlugins(kind):
- 1127 raise PluginMissingError
- 1128 moduleName = 'MoinMoin.%s.%s' % (kind, name)
- name = u'RandomQuote'
- global builtinPlugins = <function builtinPlugins at 0x8395f0c>
- kind = 'macro'
/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py in importNameFromPlugin (moduleName=u'MoinMoin.macro.RandomQuote', name='execute')
- 1136 """
- 1137 module = __import__(moduleName, globals(), {}, [name])
- 1138 try:
- 1139 return getattr(module, name)
- 1140 except AttributeError:
PluginAttributeError
- args = ()
- message = ''
System Details
- Date: Thu, 21 Aug 2008 17:10:21 +0000
- Platform: FreeBSD indy.lan 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0: Wed Feb 13 02:40:56 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
- Python: Python 2.5.2 (/usr/local/bin/python)
- MoinMoin: Release 1.6.3 (release)
