Attachment 'PageDicts-traceback.html'
DownloadAttributeError
'NoneType' object has no attribute 'split'
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/lotek/lib/python2.5/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_wsgi.Request object at 0xaebf97ac>)
- 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 0xaef7c454>
- self = <MoinMoin.request.request_wsgi.Request object at 0xaebf97ac>
- self.page = <MoinMoin.Page.Page object at 0xaeb8b6ec>
- self.page.page_name = u'PageDicts'
/home/lotek/lib/python2.5/site-packages/MoinMoin/action/__init__.py in do_show (pagename=u'PageDicts', request=<MoinMoin.request.request_wsgi.Request object at 0xaebf97ac>, 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
/home/lotek/lib/python2.5/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object at 0xaeb8b8cc>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})
- 1196 format_args=pi['formatargs'],
- 1197 do_cache=do_cache,
- 1198 start_line=pi['lines'])
- 1199
- 1200 # check for pending footnotes
- start_line undefined
- pi = {'acl': <MoinMoin.security.AccessControlList instance at 0xaeb8b9cc>, 'format': 'wiki', 'formatargs': '', 'language': 'de', 'lines': 0}
/home/lotek/lib/python2.5/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object at 0xaeb8b8cc>, request=<MoinMoin.request.request_wsgi.Request object at 0xaebf97ac>, body=u'= PageDicts =\n\n<<PageDicts>>\n\n----\nCategoryTest\n', format='wiki', format_args='', do_cache=1, **kw={'start_line': 0})
- 1289 raise
- 1290 try:
- 1291 code = self.makeCache(request, parser)
- 1292 self.execute(request, parser, code)
- 1293 except Exception, e:
- code undefined
- self = <MoinMoin.Page.Page object at 0xaeb8b8cc>
- self.makeCache = <bound method Page.makeCache of <MoinMoin.Page.Page object at 0xaeb8b8cc>>
- request = <MoinMoin.request.request_wsgi.Request object at 0xaebf97ac>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaeb8bb0c>
/home/lotek/lib/python2.5/site-packages/MoinMoin/Page.py in makeCache (self=<MoinMoin.Page.Page object at 0xaeb8b8cc>, request=<MoinMoin.request.request_wsgi.Request object at 0xaebf97ac>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance at 0xaeb8bb0c>)
- 1349 saved_current_lang = request.current_lang
- 1350 try:
- 1351 text = request.redirectedOutput(parser.format, formatter)
- 1352 finally:
- 1353 request.current_lang = saved_current_lang
- text undefined
- request = <MoinMoin.request.request_wsgi.Request object at 0xaebf97ac>
- request.redirectedOutput = <bound method Request.redirectedOutput of <MoinM...quest.request_wsgi.Request object at 0xaebf97ac>>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaeb8bb0c>
- parser.format = <bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaeb8bb0c>>
- formatter = <MoinMoin.formatter.text_python.Formatter instance at 0xaeb8bdec>
/home/lotek/lib/python2.5/site-packages/MoinMoin/request/__init__.py in redirectedOutput (self=<MoinMoin.request.request_wsgi.Request object at 0xaebf97ac>, function=<bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaeb8bb0c>>, *args=(<MoinMoin.formatter.text_python.Formatter instance at 0xaeb8bdec>,), **kw={})
- 846 self.redirect(buf)
- 847 try:
- 848 function(*args, **kw)
- 849 finally:
- 850 self.redirect()
- function = <bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaeb8bb0c>>
- args = (<MoinMoin.formatter.text_python.Formatter instance at 0xaeb8bdec>,)
- kw = {}
/home/lotek/lib/python2.5/site-packages/MoinMoin/parser/text_moin_wiki.py in format (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0xaeb8bb0c>, formatter=<MoinMoin.formatter.text_python.Formatter instance at 0xaeb8bdec>, inhibit_p=False)
- 1544
- 1545 # Scan line, format and write
- 1546 formatted_line = self.scan(line, inhibit_p=inhibit_p)
- 1547 self.request.write(formatted_line)
- 1548
- formatted_line = u'<p class="line867"><<<>>>PageDicts</h1>\n'
- self = <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaeb8bb0c>
- self.scan = <bound method Parser.scan of <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaeb8bb0c>>
- line = u'<<PageDicts>> '
- inhibit_p = False
/home/lotek/lib/python2.5/site-packages/MoinMoin/parser/text_moin_wiki.py in scan (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0xaeb8bb0c>, line=u'<<PageDicts>> ', inhibit_p=False)
- 1358 self.in_table or self.in_list):
- 1359 result.append(self.formatter.paragraph(1, css_class="line867"))
- 1360 result.append(self.replace(match, inhibit_p))
- 1361 end = match.end()
- 1362 lastpos = end
- result = ['<p class="line867">']
- result.append = <built-in method append of list object at 0xaeb8be4c>
- self = <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaeb8bb0c>
- self.replace = <bound method Parser.replace of <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaeb8bb0c>>
- match = <_sre.SRE_Match object at 0x88274c0>
- inhibit_p = False
/home/lotek/lib/python2.5/site-packages/MoinMoin/parser/text_moin_wiki.py in replace (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0xaeb8bb0c>, match=<_sre.SRE_Match object at 0x88274c0>, inhibit_p=False)
- 1402 # Get replace method and replace hit
- 1403 replace_func = getattr(self, '_%s_repl' % type)
- 1404 result.append(replace_func(hit, match.groupdict()))
- 1405 return ''.join(result)
- 1406 else:
- result = []
- result.append = <built-in method append of list object at 0xaeb8beac>
- replace_func = <bound method Parser._macro_repl of <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaeb8bb0c>>
- hit = u'PageDicts'
- match = <_sre.SRE_Match object at 0x88274c0>
- match.groupdict = <built-in method groupdict of _sre.SRE_Match object at 0x88274c0>
/home/lotek/lib/python2.5/site-packages/MoinMoin/parser/text_moin_wiki.py in _macro_repl (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0xaeb8bb0c>, word=u'PageDicts', 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, ...})
- 1325 if self.macro is None:
- 1326 self.macro = macro.Macro(self)
- 1327 return self.formatter.macro(self.macro, macro_name, macro_args, markup=groups.get('macro'))
- 1328 _macro_name_repl = _macro_repl
- 1329 _macro_args_repl = _macro_repl
- self = <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaeb8bb0c>
- self.formatter = <MoinMoin.formatter.text_python.Formatter instance at 0xaeb8bdec>
- self.formatter.macro = <bound method Formatter.macro of <MoinMoin.formatter.text_python.Formatter instance at 0xaeb8bdec>>
- self.macro = <MoinMoin.macro.Macro instance at 0xaeb8be8c>
- macro_name = u'PageDicts'
- macro_args = None
- 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 at 0xaeb8e68c>
/home/lotek/lib/python2.5/site-packages/MoinMoin/formatter/text_python.py in macro (self=<MoinMoin.formatter.text_python.Formatter instance at 0xaeb8bdec>, macro_obj=<MoinMoin.macro.Macro instance at 0xaeb8be8c>, name=u'PageDicts', args=None, markup=u'<<PageDicts>>')
- 190 # XXX: why is this necessary??
- 191 macro_obj.formatter = self
- 192 return macro_obj.execute(name, args)
- 193 else:
- 194 return self.__insert_code(
- macro_obj = <MoinMoin.macro.Macro instance at 0xaeb8be8c>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance at 0xaeb8be8c>>
- name = u'PageDicts'
- args = None
/home/lotek/lib/python2.5/site-packages/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance at 0xaeb8be8c>, macro_name=u'PageDicts', args=None)
- 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 execute at 0xaeb9256c>
- self = <MoinMoin.macro.Macro instance at 0xaeb8be8c>
- args = None
/home2/lotek/wiki/data/galaxy/plugin/macro/PageDicts.py in execute (macro=<MoinMoin.macro.Macro instance at 0xaeb8be8c>, args=None)
- 70 def execute(macro, args):
- 71 request = macro.request
- 72 args = [ arg.strip() for arg in args.split(',') ]
- 73 conditions = []
- 74 transpose = 0 ## if we transpose the results
- args = None
- arg undefined
- args.split undefined
AttributeError
'NoneType' object has no attribute 'split'
- args = ("'NoneType' object has no attribute 'split'",)
- message = "'NoneType' object has no attribute 'split'"
System Details
- Date: Mon, 09 Feb 2009 18:42:33 +0000
- Platform: Linux web11.webfaction.com 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 12 17:59:08 EDT 2007 i686
- Python: Python 2.5 (/home/lotek/bin/python)
- MoinMoin: Release 1.8.1 (release)
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.