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.
/home/monaos/www/higepon.monaos.org/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object at 0x2880f82c>)
- 1086 from MoinMoin.wikiaction import getHandler
- 1087 handler = getHandler(self, action)
- 1088 handler(self.page.page_name, self)
- 1089
- 1090 # 5. Or redirect to another page
- handler = <function do_print at 0x288b4614>
- self = <MoinMoin.request.RequestCGI object at 0x2880f82c>
- self.page = <MoinMoin.Page.Page instance at 0x2883ca8c>
- self.page.page_name = u'FindPage'
/home/monaos/www/higepon.monaos.org/MoinMoin/wikiaction.py in do_print (pagename=u'FindPage', request=<MoinMoin.request.RequestCGI object at 0x2880f82c>)
- 479
- 480 def do_print(pagename, request):
- 481 do_show(pagename, request)
- 482
- 483
- global do_show = <function do_show at 0x288b4374>
- pagename = u'FindPage'
- request = <MoinMoin.request.RequestCGI object at 0x2880f82c>
/home/monaos/www/higepon.monaos.org/MoinMoin/wikiaction.py in do_show (pagename=u'FindPage', request=<MoinMoin.request.RequestCGI object at 0x2880f82c>)
- 459 else:
- 460 request.cacheable = 1
- 461 Page(request, pagename).send_page(request, count_hit=1)
- 462
- 463
- global Page = <class MoinMoin.Page.Page at 0x28831f8c>
- request = <MoinMoin.request.RequestCGI object at 0x2880f82c>
- pagename = u'FindPage'
- ).send_page undefined
- count_hit undefined
/home/monaos/www/higepon.monaos.org/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance at 0x2893f88c>, request=<MoinMoin.request.RequestCGI object at 0x2880f82c>, msg='', **keywords={'count_hit': 1})
- 1225 format_args=pi_formatargs,
- 1226 do_cache=do_cache,
- 1227 start_line=pi_lines)
- 1228
- 1229 # check for pending footnotes
- start_line undefined
- pi_lines = 7
/home/monaos/www/higepon.monaos.org/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance at 0x2893f88c>, request=<MoinMoin.request.RequestCGI object at 0x2880f82c>, Parser=<class MoinMoin.parser.wiki.Parser at 0x28a165fc>, 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})
- 1308 try:
- 1309 code = self.loadCache(request)
- 1310 self.execute(request, parser, code)
- 1311 except 'CacheNeedsUpdate':
- 1312 try:
- self = <MoinMoin.Page.Page instance at 0x2893f88c>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance at 0x2893f88c>>
- request = <MoinMoin.request.RequestCGI object at 0x2880f82c>
- parser = <MoinMoin.parser.wiki.Parser instance at 0x289a13ec>
- code = <code object <module> at 0x28a0ede8, file "FindPage", line 2>
/home/monaos/www/higepon.monaos.org/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance at 0x2893f88c>, request=<MoinMoin.request.RequestCGI object at 0x2880f82c>, parser=<MoinMoin.parser.wiki.Parser instance at 0x289a13ec>, code=<code object <module> at 0x28a0ede8, file "FindPage", line 2>)
- 1332 if hasattr(MoinMoin, '__loader__'):
- 1333 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1334 exec code
- 1335
- 1336 def loadCache(self, request):
- code = <code object <module> at 0x28a0ede8, file "FindPage", line 2>
/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, 08 Sep 2010 16:56:57 +0000
- Platform: FreeBSD www1307.sakura.ne.jp 7.1-RELEASE-p13 FreeBSD 7.1-RELEASE-p13 #9: Wed Jul 21 09:32:47 JST 2010 admin@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)