Deletions are marked like this. | Additions are marked like this. |
Line 15: | Line 15: |
<<Navigation(siblings,1)>> | <<Navigation(ANAROOT,1)>> |
ANAROOT
このページではanarootを開発するために情報を交換するためのページです。
Link
RIBFDAQ (ANAROOT本家のページはこちらへ)
ModuleForRoot (田中くん作成の解析用Module)
APROOT (AnapawっぽいROOT)
Contents
何かページを作成する際には http://****/ANAROOT/hoge としてください。
Contents
--> -->
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.
/home/kondo/MoinMoin/lib/python2.4/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_cgi.Request object>)
- 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 execute>
- self = <MoinMoin.request.request_cgi.Request object>
- self.page = <MoinMoin.Page.Page object>
- self.page.page_name = u'ANAROOT'
/home/kondo/MoinMoin/lib/python2.4/site-packages/MoinMoin/action/diff.py in execute (pagename=u'ANAROOT', request=<MoinMoin.request.request_cgi.Request object>)
- 184 from MoinMoin.util import diff_html
- 185 request.write(f.rawHTML(diff_html.diff(request, oldpage.get_raw_body(), newpage.get_raw_body())))
- 186 newpage.send_page(count_hit=0, content_only=1, content_id="content-below-diff")
- 187 else:
- 188 from MoinMoin.util import diff_text
- newpage = <MoinMoin.Page.Page object>
- newpage.send_page = <bound method Page.send_page of <MoinMoin.Page.Page object>>
- count_hit undefined
- content_only undefined
- content_id undefined
/home/kondo/MoinMoin/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object>, **keywords={'content_id': 'content-below-diff', 'content_only': 1, 'count_hit': 0})
- 1198 format_args=pi['formatargs'],
- 1199 do_cache=do_cache,
- 1200 start_line=pi['lines'])
- 1201
- 1202 # check for pending footnotes
- start_line undefined
- pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': 'wiki', 'formatargs': '', 'language': 'ja', 'lines': 0}
/home/kondo/MoinMoin/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_cgi.Request object>, body=u'= ANAROOT =\n\u3053\u306e\u30da\u30fc\u30b8\u3067\u306fanaroot\u3092\u958b\u767a\u3059\u308b\u305f\u3081\u306b\u60c5\u5831\u3092\u4ea4\u63db\u3059\u308b\u305f\u3081\u306e\u30da\u30fc\u30b8\u3067...<<TableOfContents(2)>>\n<<Navigation(ANAROOT,1)>>\n', format='wiki', format_args='', do_cache=1, **kw={'start_line': 0})
- 1288
- 1289 if not (do_cache and self.canUseCache(Parser)):
- 1290 self.format(parser)
- 1291 else:
- 1292 try:
- self = <MoinMoin.Page.Page object>
- self.format = <bound method Page.format of <MoinMoin.Page.Page object>>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance>
/home/kondo/MoinMoin/lib/python2.4/site-packages/MoinMoin/Page.py in format (self=<MoinMoin.Page.Page object>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>)
- 1309 def format(self, parser):
- 1310 """ Format and write page content without caching """
- 1311 parser.format(self.formatter)
- 1312
- 1313 def execute(self, request, parser, code):
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance>
- parser.format = <bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance>>
- self = <MoinMoin.Page.Page object>
- self.formatter = <MoinMoin.formatter.text_html.Formatter instance>
/home/kondo/MoinMoin/lib/python2.4/site-packages/MoinMoin/parser/text_moin_wiki.py in format (self=<MoinMoin.parser.text_moin_wiki.Parser instance>, formatter=<MoinMoin.formatter.text_html.Formatter instance>, inhibit_p=False)
- 1545
- 1546 # Scan line, format and write
- 1547 formatted_line = self.scan(line, inhibit_p=inhibit_p)
- 1548 self.request.write(formatted_line)
- 1549
- formatted_line = u'<div class="table-of-contents"><p class="table-o...">ANAROOT</a></li></ol></div><p class="line874"> '
- self = <MoinMoin.parser.text_moin_wiki.Parser instance>
- self.scan = <bound method Parser.scan of <MoinMoin.parser.text_moin_wiki.Parser instance>>
- line = u'<<Navigation(ANAROOT,1)>> '
- inhibit_p = False
/home/kondo/MoinMoin/lib/python2.4/site-packages/MoinMoin/parser/text_moin_wiki.py in scan (self=<MoinMoin.parser.text_moin_wiki.Parser instance>, line=u'<<Navigation(ANAROOT,1)>> ', inhibit_p=False)
- 1359 self.in_table or self.in_list):
- 1360 result.append(self.formatter.paragraph(1, css_class="line867"))
- 1361 result.append(self.replace(match, inhibit_p))
- 1362 end = match.end()
- 1363 lastpos = end
- result = []
- result.append = <built-in method append of list object>
- self = <MoinMoin.parser.text_moin_wiki.Parser instance>
- self.replace = <bound method Parser.replace of <MoinMoin.parser.text_moin_wiki.Parser instance>>
- match = <_sre.SRE_Match object>
- inhibit_p = False
/home/kondo/MoinMoin/lib/python2.4/site-packages/MoinMoin/parser/text_moin_wiki.py in replace (self=<MoinMoin.parser.text_moin_wiki.Parser instance>, match=<_sre.SRE_Match object>, inhibit_p=False)
- 1403 # Get replace method and replace hit
- 1404 replace_func = getattr(self, '_%s_repl' % type)
- 1405 result.append(replace_func(hit, match.groupdict()))
- 1406 return ''.join(result)
- 1407 else:
- result = []
- result.append = <built-in method append of list object>
- replace_func = <bound method Parser._macro_repl of <MoinMoin.parser.text_moin_wiki.Parser instance>>
- hit = u'ANAROOT,1'
- match = <_sre.SRE_Match object>
- match.groupdict = <built-in method groupdict of _sre.SRE_Match object>
/home/kondo/MoinMoin/lib/python2.4/site-packages/MoinMoin/parser/text_moin_wiki.py in _macro_repl (self=<MoinMoin.parser.text_moin_wiki.Parser instance>, word=u'ANAROOT,1', groups={u'big': None, u'big_off': None, u'big_on': None, u'comment': None, u'dl': None, u'email': None, u'emph': None, u'emph_ib_or_bi': None, u'emph_ibb': None, u'emph_ibi': None, ...})
- 1326 if self.macro is None:
- 1327 self.macro = macro.Macro(self)
- 1328 return self.formatter.macro(self.macro, macro_name, macro_args, markup=groups.get('macro'))
- 1329 _macro_name_repl = _macro_repl
- 1330 _macro_args_repl = _macro_repl
- self = <MoinMoin.parser.text_moin_wiki.Parser instance>
- self.formatter = <MoinMoin.formatter.text_html.Formatter instance>
- self.formatter.macro = <bound method Formatter.macro of <MoinMoin.formatter.text_html.Formatter instance>>
- self.macro = <MoinMoin.macro.Macro instance>
- macro_name = u'Navigation'
- macro_args = u'ANAROOT,1'
- markup undefined
- groups = {u'big': None, u'big_off': None, u'big_on': None, u'comment': None, u'dl': None, u'email': None, u'emph': None, u'emph_ib_or_bi': None, u'emph_ibb': None, u'emph_ibi': None, ...}
- groups.get = <built-in method get of dict object>
/home/kondo/MoinMoin/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'Navigation', args=u'ANAROOT,1', markup=u'<<Navigation(ANAROOT,1)>>')
- 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>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance>>
- name = u'Navigation'
- args = u'ANAROOT,1'
/home/kondo/MoinMoin/lib/python2.4/site-packages/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance>, macro_name=u'Navigation', args=u'ANAROOT,1')
- 127 else:
- 128 raise ImportError("Cannot load macro %s" % macro_name)
- 129 return execute(self, args)
- 130
- 131 def _m_lang(self, text):
- execute = <function <lambda>>
- self = <MoinMoin.macro.Macro instance>
- args = u'ANAROOT,1'
/home/kondo/MoinMoin/lib/python2.4/site-packages/MoinMoin/macro/__init__.py in
(_self=<MoinMoin.macro.Macro instance>, _args=u'ANAROOT,1') - 114 call = wikiutil.importPlugin(self.cfg, 'macro', macro_name,
- 115 function='macro_%s' % macro_name)
- 116 execute = lambda _self, _args: _self._wrap(call, _args, [self])
- 117 except wikiutil.PluginAttributeError:
- 118 # fall back to old execute() method, no longer recommended
- execute undefined
- _self = <MoinMoin.macro.Macro instance>
- _args = u'ANAROOT,1'
- _self._wrap = <bound method Macro._wrap of <MoinMoin.macro.Macro instance>>
- call = <function macro_Navigation>
- self = <MoinMoin.macro.Macro instance>
/home/kondo/MoinMoin/lib/python2.4/site-packages/MoinMoin/macro/__init__.py in _wrap (self=<MoinMoin.macro.Macro instance>, function=<function macro_Navigation>, args=u'ANAROOT,1', fixed=[<MoinMoin.macro.Macro instance>])
- 96 try:
- 97 return wikiutil.invoke_extension_function(self.request, function,
- 98 args, fixed)
- 99 except ValueError, e:
- 100 return self.format_error(e)
- args = u'ANAROOT,1'
- fixed = [<MoinMoin.macro.Macro instance>]
/home/kondo/MoinMoin/lib/python2.4/site-packages/MoinMoin/wikiutil.py in invoke_extension_function (request=<MoinMoin.request.request_cgi.Request object>, function=<function macro_Navigation>, args=u'ANAROOT,1', fixed_args=[<MoinMoin.macro.Macro instance>])
- 1983 # went wrong (if it does)
- 1984 kwargs[argname] = _convert_arg(request, kwargs[argname],
- 1985 defaults[argname], argname)
- 1986 if kwargs[argname] is None:
- 1987 if isinstance(defaults[argname], required_arg):
- defaults = {'depth': 0, 'scheme': <MoinMoin.wikiutil.required_arg instance>}
- argname = 'scheme'
/home/kondo/MoinMoin/lib/python2.4/site-packages/MoinMoin/wikiutil.py in _convert_arg (request=<MoinMoin.request.request_cgi.Request object>, value=u'ANAROOT', default=<MoinMoin.wikiutil.required_arg instance>, name='scheme')
- 1889 # is given in the value
- 1890 choices = [None] + list(default.argtype)
- 1891 return get_choice(request, value, name, choices)
- 1892 else:
- 1893 return _convert_arg(request, value, default.argtype, name)
- global get_choice = <function get_choice>
- request = <MoinMoin.request.request_cgi.Request object>
- value = u'ANAROOT'
- name = 'scheme'
- choices = [None, u'children', u'siblings', u'slideshow', u'slides']
/home/kondo/MoinMoin/lib/python2.4/site-packages/MoinMoin/wikiutil.py in get_choice (request=<MoinMoin.request.request_cgi.Request object>, arg=u'ANAROOT', name='scheme', choices=[None, u'children', u'siblings', u'slideshow', u'slides'])
- 1735 raise ValueError(
- 1736 _('Argument "%s" must be one of "%s", not "%s"') % (
- 1737 name, '", "'.join(choices), arg))
- 1738 else:
- 1739 raise ValueError(
- name = 'scheme'
- '", "'.join = <built-in method join of str object>
- choices = [None, u'children', u'siblings', u'slideshow', u'slides']
- arg = u'ANAROOT'
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: Sat, 24 May 2025 16:00:31 +0000
- Platform: Linux be.nucl.ap.titech.ac.jp 2.6.32-358.2.1.el6.x86_64 #1 SMP Tue Mar 12 14:18:09 CDT 2013 x86_64
- Python: Python 2.6.6 (/usr/bin/python)
- MoinMoin: Release 1.8.8 (release)