--> -->

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.

  1. /usr/local/lib/python2.5/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_fcgi.Request object at 0x9092e0c>)

    1. 1281
    2. 1282 # Disallow non available actions
    3. 1283 elif action_name[0].isupper() and not action_name in self.getAvailableActions(self.page):
    4. 1284 msg = _("You are not allowed to do %(action_name)s on this page.") % {
    5. 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>
  2. /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)

    1. 239 """ show a page, either current revision or the revision given by rev form value.
    2. 240 if count_hit is non-zero, we count the request for statistics.
    3. 241 """
    4. 242 # We must check if the current page has different ACLs.
    5. 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
  3. /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})

    1. 1179 special = 'denied'
    2. 1180
    3. 1181 # if we have a special page, output it, unless
    4. 1182 # - we should only output content (this is for say the pagelinks formatter)
    5. 1183 # - we have a non-default formatter
    • special undefined
    • content_only = 0
    • self = <MoinMoin.Page.Page object at 0x909fbcc>
    • self.default_formatter = True
  4. /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})

    1. 1267 """ Output the formatted wiki page, using caching if possible
    2. 1268
    3. 1269 @param request: the request object
    4. 1270 @param body: text of the wiki page
    5. 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'>
  5. /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>)

    1. 1298 request.clock.stop('send_page_content')
    2. 1299
    3. 1300 def format(self, parser):
    4. 1301 """ Format and write page content without caching """
    5. 1302 parser.format(self.formatter)
    • format undefined
    • self = <MoinMoin.Page.Page object at 0x909fbcc>
    • parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x909f36c>
  6. /export/www/RecentChanges in ()

  7. /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)>>')

    1. 306 def table_cell(self, on, attrs={}, **kw):
    2. 307 raise NotImplementedError
    3. 308
    4. 309 # Dynamic stuff / Plugins ############################################
    5. 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
  8. /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')

    1. 104
    2. 105 def execute(self, macro_name, args):
    3. 106 """ Get and execute a macro
    4. 107
    5. 108 Try to get a plugin macro, or a builtin macro or a language
  9. /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')

    1. 1102 @return: "function" of module "name" of kind "kind", or None
    2. 1103 """
    3. 1104 try:
    4. 1105 return importWikiPlugin(cfg, kind, name, function)
    5. 1106 except PluginMissingError:
  10. /usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py in importBuiltinPlugin (kind='macro', name=u'RandomQuote', function='execute')

    1. 1124 See importPlugin docstring.
    2. 1125 """
    3. 1126 if not name in builtinPlugins(kind):
    4. 1127 raise PluginMissingError
    5. 1128 moduleName = 'MoinMoin.%s.%s' % (kind, name)
    • name = u'RandomQuote'
    • global builtinPlugins = <function builtinPlugins at 0x8395f0c>
    • kind = 'macro'
  11. /usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py in importNameFromPlugin (moduleName=u'MoinMoin.macro.RandomQuote', name='execute')

    1. 1136 """
    2. 1137 module = __import__(moduleName, globals(), {}, [name])
    3. 1138 try:
    4. 1139 return getattr(module, name)
    5. 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)