--> -->

TypeError

exceptions must be classes or instances, not str

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. /home/monaos/www/higepon.monaos.org/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object at 0x2880f82c>)

    1. 1103 # Visit pagename
    2. 1104 self.page = Page(self, pagename)
    3. 1105 self.page.send_page(self, count_hit=1)
    4. 1106
    5. 1107 # generate page footer (actions that do not want this footer
    • self = <MoinMoin.request.RequestCGI object at 0x2880f82c>
    • self.page = <MoinMoin.Page.Page instance at 0x2883990c>
    • self.page.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance at 0x2883990c>>
    • count_hit undefined
  2. /home/monaos/www/higepon.monaos.org/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance at 0x2883990c>, request=<MoinMoin.request.RequestCGI object at 0x2880f82c>, msg='', **keywords={'count_hit': 1})

    1. 1225 format_args=pi_formatargs,
    2. 1226 do_cache=do_cache,
    3. 1227 start_line=pi_lines)
    4. 1228
    5. 1229 # check for pending footnotes
    • start_line undefined
    • pi_lines = 7
  3. /home/monaos/www/higepon.monaos.org/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance at 0x2883990c>, request=<MoinMoin.request.RequestCGI object at 0x2880f82c>, Parser=<class MoinMoin.parser.wiki.Parser at 0x28a1877c>, body=u'You can use this page to search all entries in t...a new page by entering its name here:\n [[GoTo]]\n', format_args=u'', do_cache=1, **kw={'start_line': 7})

    1. 1308 try:
    2. 1309 code = self.loadCache(request)
    3. 1310 self.execute(request, parser, code)
    4. 1311 except 'CacheNeedsUpdate':
    5. 1312 try:
    • self = <MoinMoin.Page.Page instance at 0x2883990c>
    • self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance at 0x2883990c>>
    • request = <MoinMoin.request.RequestCGI object at 0x2880f82c>
    • parser = <MoinMoin.parser.wiki.Parser instance at 0x28998f4c>
    • code = <code object <module> at 0x28a12d58, file "FindPage", line 2>
  4. /home/monaos/www/higepon.monaos.org/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance at 0x2883990c>, request=<MoinMoin.request.RequestCGI object at 0x2880f82c>, parser=<MoinMoin.parser.wiki.Parser instance at 0x28998f4c>, code=<code object <module> at 0x28a12d58, file "FindPage", line 2>)

    1. 1332 if hasattr(MoinMoin, '__loader__'):
    2. 1333 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    3. 1334 exec code
    4. 1335
    5. 1336 def loadCache(self, request):
    • code = <code object <module> at 0x28a12d58, file "FindPage", line 2>
  5. /home/monaos/www/higepon.monaos.org/FindPage in ()

TypeError

exceptions must be classes or instances, not str

  • args = ('exceptions must be classes or instances, not str',)
  • message = 'exceptions must be classes or instances, not str'

System Details

  • Date: Wed, 10 Mar 2010 23:24:11 +0000
  • Platform: FreeBSD www1307.sakura.ne.jp 7.1-RELEASE-p8 FreeBSD 7.1-RELEASE-p8 #6: Mon Oct 5 17:36:52 JST 2009 root@www200.sakura.ne.jp:/usr/obj/usr/src/sys/SAKURA11S i386
  • Python: Python 2.6.2 (/usr/local/bin/python)
  • MoinMoin: Release 1.5.2 (release)