--> -->
AttributeError
'module' object has no attribute 'allow_subpages'
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.
/var/lib/python-support/python2.4/MoinMoin/request.py in run (self=<MoinMoin.request.RequestFastCGI object>)
- 1152 # Visit pagename
- 1153 self.page = Page(self, pagename)
- 1154 self.page.send_page(self, count_hit=1)
- 1155
- 1156 # generate page footer (actions that do not want this footer
- self = <MoinMoin.request.RequestFastCGI object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance>>
- count_hit undefined
/var/lib/python-support/python2.4/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI object>, msg='', **keywords={'count_hit': 1})
- 1234 format_args=pi_formatargs,
- 1235 do_cache=do_cache,
- 1236 start_line=pi_lines)
- 1237
- 1238 # check for pending footnotes
- start_line undefined
- pi_lines = 9
/var/lib/python-support/python2.4/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'[[Navigation(siblings)]]\n\nThis macro includes th...esonly)]]` -- show next 4 items only with titles\n', format_args=u'', do_cache=1, **kw={'start_line': 9})
- 1317 try:
- 1318 code = self.loadCache(request)
- 1319 self.execute(request, parser, code)
- 1320 except 'CacheNeedsUpdate':
- 1321 try:
- self = <MoinMoin.Page.Page instance>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance>>
- request = <MoinMoin.request.RequestFastCGI object>
- parser = <MoinMoin.parser.wiki.Parser instance>
- code = <code object ? at 0xb5f84360, file "HelpOnMacros/Include", line 2>
/var/lib/python-support/python2.4/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI object>, parser=<MoinMoin.parser.wiki.Parser instance>, code=<code object ? at 0xb5f84360, file "HelpOnMacros/Include", line 2>)
- 1341 if hasattr(MoinMoin, '__loader__'):
- 1342 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1343 exec code
- 1344
- 1345 def loadCache(self, request):
- code = <code object ? at 0xb5f84360, file "HelpOnMacros/Include", line 2>
/usr/share/moin/server/HelpOnMacros/Include in ?
/var/lib/python-support/python2.4/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, name=u'Navigation', args=u'siblings')
- 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'Navigation'
- args = u'siblings'
/var/lib/python-support/python2.4/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'Navigation', args=u'siblings')
- 118 else:
- 119 raise ImportError("Cannot load macro %s" % macro_name)
- 120 return execute(self, args)
- 121
- 122 def _m_lang(self, text):
- execute = <function execute>
- self = <MoinMoin.wikimacro.Macro instance>
- args = u'siblings'
/var/www/wikidata/data/plugin/macro/Navigation.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, args=u'siblings')
- 227 def execute(macro, args):
- 228 # get HTML code with the links
- 229 navi = Navigation(macro, args or '').dispatch()
- 230 navi = '</li><li>'.join(navi)
- 231
- navi undefined
- global Navigation = <class wiki.plugin.macro.Navigation.Navigation>
- macro = <MoinMoin.wikimacro.Macro instance>
- args = u'siblings'
- ).dispatch undefined
/var/www/wikidata/data/plugin/macro/Navigation.py in dispatch (self=<wiki.plugin.macro.Navigation.Navigation instance>)
- 90
- 91 scheme = self.args[0] or '<default>'
- 92 return getattr(self, 'do_'+scheme, self.badscheme)()
- 93
- 94
- builtin getattr = <built-in function getattr>
- self = <wiki.plugin.macro.Navigation.Navigation instance>
- scheme = u'siblings'
- self.badscheme = <bound method Navigation.badscheme of <wiki.plugin.macro.Navigation.Navigation instance>>
/var/www/wikidata/data/plugin/macro/Navigation.py in do_siblings (self=<wiki.plugin.macro.Navigation.Navigation instance>, root=None)
- 121 _ = self._
- 122 # get parent page name
- 123 parent = root or _getParent(self.pagename)
- 124 if not parent:
- 125 return (self.macro.formatter.sysmsg(1) +
- parent undefined
- root = None
- global _getParent = <function _getParent>
- self = <wiki.plugin.macro.Navigation.Navigation instance>
- self.pagename = u'HelpOnMacros/Include'
/var/www/wikidata/data/plugin/macro/Navigation.py in _getParent (pagename=u'HelpOnMacros/Include')
- 18 """ Return parent of pagename.
- 19 """
- 20 if config.allow_subpages:
- 21 pos = pagename.rfind('/')
- 22 if pos >= 0:
- global config = <module 'MoinMoin.config' from '/var/lib/python-support/python2.4/MoinMoin/config.pyc'>
- config.allow_subpages undefined
AttributeError
'module' object has no attribute 'allow_subpages'
- args = ("'module' object has no attribute 'allow_subpages'",)
System Details
- Date: Sat, 11 Oct 2008 04:15:32 +0000
- Platform: Linux butterbox 2.6.18-6-686 #1 SMP Fri Jun 6 22:22:11 UTC 2008 i686
- Python: Python 2.4.4 (/usr/bin/python)
- MoinMoin: Release 1.5.3 (release)