--> -->

TypeError

exceptions must be old-style classes or derived from BaseException, 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>)

    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>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance>>
    • count_hit undefined
  2. /home/monaos/www/higepon.monaos.org/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, 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 = 0
  3. /home/monaos/www/higepon.monaos.org/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'= Higepon =\nThis site presents free software and...?action=AttachFile&do=get&target=mailaddress.png\n', format_args='', do_cache=1, **kw={'start_line': 0})

    1. 1307 else:
    2. 1308 try:
    3. 1309 code = self.loadCache(request)
    4. 1310 self.execute(request, parser, code)
    5. 1311 except 'CacheNeedsUpdate':
    • code undefined
    • self = <MoinMoin.Page.Page instance>
    • self.loadCache = <bound method Page.loadCache of <MoinMoin.Page.Page instance>>
    • request = <MoinMoin.request.RequestCGI object>
  4. /home/monaos/www/higepon.monaos.org/MoinMoin/Page.py in loadCache (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>)

    1. 1339 attachmentsPath = self.getPagePath('attachments', check_create=0)
    2. 1340 if cache.needsUpdate(self._text_filename(), attachmentsPath):
    3. 1341 raise 'CacheNeedsUpdate'
    4. 1342
    5. 1343 import marshal

TypeError

exceptions must be old-style classes or derived from BaseException, not str

  • args = ('exceptions must be old-style classes or derived from BaseException, not str',)
  • message = 'exceptions must be old-style classes or derived from BaseException, not str'

System Details

  • Date: Fri, 26 Aug 2016 19:51:47 +0000
  • Platform: FreeBSD www1307.sakura.ne.jp 9.1-RELEASE-p24 FreeBSD 9.1-RELEASE-p24 #0: Thu Feb 5 10:03:29 JST 2015 root@www3304.sakura.ne.jp:/usr/obj/usr/src/sys/SAKURA17 amd64
  • Python: Python 2.7.6 (/usr/local/bin/python)
  • MoinMoin: Release 1.5.2 (release)