--> -->
TypeError
sequence item 0: expected string, NoneType found
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.
/Library/Python/2.5/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_cgi.Request object at 0x27c970>)
- 1309 self.page.send_page()
- 1310 else:
- 1311 handler(self.page.page_name, self)
- 1312
- 1313 # every action that didn't use to raise MoinMoinFinish must call this now:
- handler = <function do_show at 0x5eec70>
- self = <MoinMoin.request.request_cgi.Request object at 0x27c970>
- self.page = <MoinMoin.Page.Page object at 0x60f850>
- self.page.page_name = u'PageTree'
/Library/Python/2.5/site-packages/MoinMoin/action/__init__.py in do_show (pagename=u'PageTree', request=<MoinMoin.request.request_cgi.Request object at 0x27c970>, content_only=0, count_hit=1, cacheable=1, print_mode=0)
- 251 count_hit=count_hit,
- 252 print_mode=print_mode,
- 253 content_only=content_only,
- 254 )
- 255
- content_only = 0
/Library/Python/2.5/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object at 0x6204f0>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})
- 1199 format_args=pi['formatargs'],
- 1200 do_cache=do_cache,
- 1201 start_line=pi['lines'])
- 1202
- 1203 # check for pending footnotes
- start_line undefined
- pi = {'acl': <MoinMoin.security.AccessControlList instance at 0x4e4148>, 'format': 'wiki', 'formatargs': '', 'language': 'en', 'lines': 0}
/Library/Python/2.5/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object at 0x6204f0>, request=<MoinMoin.request.request_cgi.Request object at 0x27c970>, body=u'<<Navigation(roottree,8,fullname=True,navtable=False)>>\n', format='wiki', format_args='', do_cache=1, **kw={'start_line': 0})
- 1287 try:
- 1288 code = self.loadCache(request)
- 1289 self.execute(request, parser, code)
- 1290 except Exception, e:
- 1291 if not is_cache_exception(e):
- self = <MoinMoin.Page.Page object at 0x6204f0>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page object at 0x6204f0>>
- request = <MoinMoin.request.request_cgi.Request object at 0x27c970>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x4d7e40>
- code = <code object <module> at 0x677890, file "PageTree", line 2>
/Library/Python/2.5/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page object at 0x6204f0>, request=<MoinMoin.request.request_cgi.Request object at 0x27c970>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance at 0x4d7e40>, code=<code object <module> at 0x677890, file "PageTree", line 2>)
- 1318 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1319 try:
- 1320 exec code
- 1321 except "CacheNeedsUpdate": # convert the exception
- 1322 raise Exception("CacheNeedsUpdate")
- code = <code object <module> at 0x677890, file "PageTree", line 2>
/Library/WebServer/WikiFarm/PageTree in
() /Library/Python/2.5/site-packages/MoinMoin/formatter/__init__.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0x4e4198>, macro_obj=<MoinMoin.macro.Macro instance at 0x4e4170>, name=u'Navigation', args=u'roottree,8,fullname=True,navtable=False', markup=u'<<Navigation(roottree,8,fullname=True,navtable=False)>>')
- 308 # call the macro
- 309 try:
- 310 return macro_obj.execute(name, args)
- 311 except ImportError, err:
- 312 errmsg = unicode(err)
- macro_obj = <MoinMoin.macro.Macro instance at 0x4e4170>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance at 0x4e4170>>
- name = u'Navigation'
- args = u'roottree,8,fullname=True,navtable=False'
/Library/Python/2.5/site-packages/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance at 0x4e4170>, macro_name=u'Navigation', args=u'roottree,8,fullname=True,navtable=False')
- 126 else:
- 127 raise ImportError("Cannot load macro %s" % macro_name)
- 128 return execute(self, args)
- 129
- 130 def _m_lang(self, text):
- execute = <function <lambda> at 0x48f930>
- self = <MoinMoin.macro.Macro instance at 0x4e4170>
- args = u'roottree,8,fullname=True,navtable=False'
/Library/Python/2.5/site-packages/MoinMoin/macro/__init__.py in
(_self=<MoinMoin.macro.Macro instance at 0x4e4170>, _args=u'roottree,8,fullname=True,navtable=False') - 113 call = wikiutil.importPlugin(self.cfg, 'macro', macro_name,
- 114 function='macro_%s' % macro_name)
- 115 execute = lambda _self, _args: _self._wrap(call, _args, [self])
- 116 except wikiutil.PluginAttributeError:
- 117 # fall back to old execute() method, no longer recommended
- execute undefined
- _self = <MoinMoin.macro.Macro instance at 0x4e4170>
- _args = u'roottree,8,fullname=True,navtable=False'
- _self._wrap = <bound method Macro._wrap of <MoinMoin.macro.Macro instance at 0x4e4170>>
- call = <function macro_Navigation at 0x48f730>
- self = <MoinMoin.macro.Macro instance at 0x4e4170>
/Library/Python/2.5/site-packages/MoinMoin/macro/__init__.py in _wrap (self=<MoinMoin.macro.Macro instance at 0x4e4170>, function=<function macro_Navigation at 0x48f730>, args=u'roottree,8,fullname=True,navtable=False', fixed=[<MoinMoin.macro.Macro instance at 0x4e4170>])
- 95 try:
- 96 return wikiutil.invoke_extension_function(self.request, function,
- 97 args, fixed)
- 98 except ValueError, e:
- 99 return self.format_error(e)
- args = u'roottree,8,fullname=True,navtable=False'
- fixed = [<MoinMoin.macro.Macro instance at 0x4e4170>]
/Library/Python/2.5/site-packages/MoinMoin/wikiutil.py in invoke_extension_function (request=<MoinMoin.request.request_cgi.Request object at 0x27c970>, function=<function macro_Navigation at 0x48f730>, args=u'roottree,8,fullname=True,navtable=False', fixed_args=[<MoinMoin.macro.Macro instance at 0x4e4170>])
- 1975 # went wrong (if it does)
- 1976 kwargs[argname] = _convert_arg(request, kwargs[argname],
- 1977 defaults[argname], argname)
- 1978 if kwargs[argname] is None:
- 1979 if isinstance(defaults[argname], required_arg):
- defaults = {'depth': 0, 'scheme': <MoinMoin.wikiutil.required_arg instance at 0x67f170>}
- argname = 'scheme'
/Library/Python/2.5/site-packages/MoinMoin/wikiutil.py in _convert_arg (request=<MoinMoin.request.request_cgi.Request object at 0x27c970>, value=u'roottree', default=<MoinMoin.wikiutil.required_arg instance at 0x67f170>, name='scheme')
- 1881 # is given in the value
- 1882 choices = [None] + list(default.argtype)
- 1883 return get_choice(request, value, name, choices)
- 1884 else:
- 1885 return _convert_arg(request, value, default.argtype, name)
- global get_choice = <function get_choice at 0x4905b0>
- request = <MoinMoin.request.request_cgi.Request object at 0x27c970>
- value = u'roottree'
- name = 'scheme'
- choices = [None, u'children', u'siblings', u'slideshow', u'slides']
/Library/Python/2.5/site-packages/MoinMoin/wikiutil.py in get_choice (request=<MoinMoin.request.request_cgi.Request object at 0x27c970>, arg=u'roottree', name='scheme', choices=[None, u'children', u'siblings', u'slideshow', u'slides'])
- 1727 raise ValueError(
- 1728 _('Argument "%s" must be one of "%s", not "%s"') % (
- 1729 name, '", "'.join(choices), arg))
- 1730 else:
- 1731 raise ValueError(
- name = 'scheme'
- '", "'.join = <built-in method join of str object at 0x27cbc0>
- choices = [None, u'children', u'siblings', u'slideshow', u'slides']
- arg = u'roottree'
TypeError
sequence item 0: expected string, NoneType found
- args = ('sequence item 0: expected string, NoneType found',)
- message = 'sequence item 0: expected string, NoneType found'
System Details
- Date: Tue, 09 Mar 2010 22:19:27 +0000
- Platform: Darwin gnarlodious.nedernet.net 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh
- Python: Python 2.5.1 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python)
- MoinMoin: Release 1.8.3 (release)