Edit the FortuneCookies page to display randomly selected wisdom here.

    2008-11-25

      --> -->

      TypeError

      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/lib/python2.5/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestStandAlone object at 0x935468c>)

        1. 1205 self.page.send_page(self, msg=msg)
        2. 1206 else:
        3. 1207 handler(self.page.page_name, self)
        4. 1208
        5. 1209 # generate page footer (actions that do not want this footer use
        • handler = <function do_show at 0x842dc6c>
        • self = <MoinMoin.request.RequestStandAlone object at 0x935468c>
        • self.page = <MoinMoin.Page.Page instance at 0x93734ec>
        • self.page.page_name = u'RecentChanges'
      2. /usr/lib/python2.5/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'RecentChanges', request=<MoinMoin.request.RequestStandAlone object at 0x935468c>)

        1. 466 else:
        2. 467 request.cacheable = 1
        3. 468 Page(request, pagename).send_page(request, count_hit=1)
        4. 469
        5. 470
        • global Page = <class MoinMoin.Page.Page at 0x82868cc>
        • request = <MoinMoin.request.RequestStandAlone object at 0x935468c>
        • pagename = u'RecentChanges'
        • ).send_page undefined
        • count_hit undefined
      3. /usr/lib/python2.5/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance at 0x938a34c>, request=<MoinMoin.request.RequestStandAlone object at 0x935468c>, msg='', **keywords={'count_hit': 1})

        1. 1254 format_args=pi_formatargs,
        2. 1255 do_cache=do_cache,
        3. 1256 start_line=pi_lines)
        4. 1257
        5. 1258 # check for pending footnotes
        • start_line undefined
        • pi_lines = 7
      4. /usr/lib/python2.5/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance at 0x938a34c>, request=<MoinMoin.request.RequestStandAlone object at 0x935468c>, Parser=<class MoinMoin.parser.wiki.Parser at 0x84d989c>, body=u'\n||<tablestyle="width: 100%; background: #E6EAF0...his wiki.\nMore system information on SystemInfo.\n', format_args=u'', do_cache=1, **kw={'start_line': 7})

        1. 1345 try:
        2. 1346 code = self.loadCache(request)
        3. 1347 self.execute(request, parser, code)
        4. 1348 except Exception, e:
        5. 1349 if not is_cache_exception(e):
        • self = <MoinMoin.Page.Page instance at 0x938a34c>
        • self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance at 0x938a34c>>
        • request = <MoinMoin.request.RequestStandAlone object at 0x935468c>
        • parser = <MoinMoin.parser.wiki.Parser instance at 0x8a6998c>
        • code = <code object <module> at 0x96cdc80, file "RecentChanges", line 2>
      5. /usr/lib/python2.5/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance at 0x938a34c>, request=<MoinMoin.request.RequestStandAlone object at 0x935468c>, parser=<MoinMoin.parser.wiki.Parser instance at 0x8a6998c>, code=<code object <module> at 0x96cdc80, file "RecentChanges", line 2>)

        1. 1374 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
        2. 1375 try:
        3. 1376 exec code
        4. 1377 except 'CacheNeedsUpdate':
        5. 1378 raise Exception('CacheNeedsUpdate')
        • code = <code object <module> at 0x96cdc80, file "RecentChanges", line 2>
      6. /RecentChanges in ()

      7. /usr/lib/python2.5/site-packages/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0x938a74c>, macro_obj=<MoinMoin.wikimacro.Macro instance at 0x938a18c>, name=u'RecentChanges', args=None)

        1. 288 def macro(self, macro_obj, name, args):
        2. 289 # call the macro
        3. 290 return macro_obj.execute(name, args)
        4. 291
        5. 292 def _get_bang_args(self, line):
        • macro_obj = <MoinMoin.wikimacro.Macro instance at 0x938a18c>
        • macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance at 0x938a18c>>
        • name = u'RecentChanges'
        • args = None
      8. /usr/lib/python2.5/site-packages/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance at 0x938a18c>, macro_name=u'RecentChanges', args=None)

        1. 118 else:
        2. 119 raise ImportError("Cannot load macro %s" % macro_name)
        3. 120 return execute(self, args)
        4. 121
        5. 122 def _m_lang(self, text):
        • execute = <function execute at 0x8b5164c>
        • self = <MoinMoin.wikimacro.Macro instance at 0x938a18c>
        • args = None
      9. /usr/lib/python2.5/site-packages/MoinMoin/macro/RecentChanges.py in execute (macro=<MoinMoin.wikimacro.Macro instance at 0x938a18c>, args=None, **kw={})

        1. 319
        2. 320 for page in pages:
        3. 321 request.write(format_page_edits(macro, page, bookmark_usecs))
        4. 322 pages = {}
        5. 323 day_count += 1
        • request = <MoinMoin.request.RequestStandAlone object at 0x935468c>
        • request.write = <bound method RequestStandAlone.write of <MoinMoin.request.RequestStandAlone object at 0x935468c>>
        • global format_page_edits = <function format_page_edits at 0x8b515a4>
        • macro = <MoinMoin.wikimacro.Macro instance at 0x938a18c>
        • page = [<MoinMoin.logfile.editlog.EditLogLine instance at 0x9351ecc>]
        • bookmark_usecs = 0
      10. /usr/lib/python2.5/site-packages/MoinMoin/macro/RecentChanges.py in format_page_edits (macro=<MoinMoin.wikimacro.Macro instance at 0x938a18c>, lines=[<MoinMoin.logfile.editlog.EditLogLine instance at 0x9351ecc>], bookmark_usecs=0)

        1. 131 d['info_html'] = info_html
        2. 132
        3. 133 return request.theme.recentchanges_entry(d)
        4. 134
        5. 135 def cmp_lines(first, second):
        • request = <MoinMoin.request.RequestStandAlone object at 0x935468c>
        • request.theme = <latinuxorg.plugin.theme.latinux.Theme instance at 0x938a32c>
        • request.theme.recentchanges_entry = <bound method Theme.recentchanges_entry of <lati...lugin.theme.latinux.Theme instance at 0x938a32c>>
        • d = {'changecount': 1, 'comments': [], 'editors': None, 'icon_html': '', 'info_html': '<a href="/Login?action=info"><img alt="" height=..."/wiki/latinux/img/info" title="" width="" /></a>', 'pagelink_html': u'<a href="/Login">Login</a>', 'time_html': '20:18'}
      11. /var/www/localhost/moin/latinuxorg/data/plugin/theme/latinux.py in recentchanges_entry (self=<latinuxorg.plugin.theme.latinux.Theme instance at 0x938a32c>, d={'changecount': 1, 'comments': [], 'editors': None, 'icon_html': '', 'info_html': '<a href="/Login?action=info"><img alt="" height=..."/wiki/latinux/img/info" title="" width="" /></a>', 'pagelink_html': u'<a href="/Login">Login</a>', 'time_html': '20:18'})

        1. 383 d['pagelink_html'],
        2. 384 d['icon_html'],
        3. 385 ', '.join(d['editors']),
        4. 386 rccomm,
        5. 387 ))
        • d = {'changecount': 1, 'comments': [], 'editors': None, 'icon_html': '', 'info_html': '<a href="/Login?action=info"><img alt="" height=..."/wiki/latinux/img/info" title="" width="" /></a>', 'pagelink_html': u'<a href="/Login">Login</a>', 'time_html': '20:18'}

      TypeError

      • args = ('',)
      • message = ''

      System Details

      • Date: Thu, 09 Sep 2010 08:58:49 +0000
      • Platform: Linux webiseit 2.6.30-gentoo-r4 #1 SMP Wed Aug 26 11:10:25 VET 2009 i686
      • Python: Python 2.5.4 (/usr/bin/python2.5)
      • MoinMoin: Release 1.5.8 (release)