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.
/usr/lib/pymodules/python2.6/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)
- 1152 # Visit pagename
- 1153 self.page = Page(self, pagename)
- 1154 self.page.send_page(self, count_hit=1)
- 1155
- 1156 # 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
/usr/lib/pymodules/python2.6/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, msg='', **keywords={'count_hit': 1})
- 1234 format_args=pi_formatargs,
- 1235 do_cache=do_cache,
- 1236 start_line=pi_lines)
- 1237
- 1238 # check for pending footnotes
- start_line undefined
- pi_lines = 5
/usr/lib/pymodules/python2.6/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'\nYou may self-register and establish your prefer...s page, see HelpOnConfiguration/UserPreferences.\n', format_args=u'', do_cache=1, **kw={'start_line': 5})
- 1317 try:
- 1318 code = self.loadCache(request)
- 1319 self.execute(request, parser, code)
- 1320 except 'CacheNeedsUpdate':
- 1321 try:
- self = <MoinMoin.Page.Page instance>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance>>
- request = <MoinMoin.request.RequestCGI object>
- parser = <MoinMoin.parser.wiki.Parser instance>
- code = <code object <module> at 0x9be6d10, file "HelpOnUserPreferences", line 2>
/usr/lib/pymodules/python2.6/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, parser=<MoinMoin.parser.wiki.Parser instance>, code=<code object <module> at 0x9be6d10, file "HelpOnUserPreferences", line 2>)
- 1341 if hasattr(MoinMoin, '__loader__'):
- 1342 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1343 exec code
- 1344
- 1345 def loadCache(self, request):
- code = <code object <module> at 0x9be6d10, file "HelpOnUserPreferences", line 2>
/var/www/webinfo/HelpOnUserPreferences in
()
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: Sat, 19 May 2012 22:43:50 +0000
- Platform: Linux rhebergen.net 3.2.2-kvm-i386-20120306 #2 SMP Tue Mar 6 09:11:59 GMT 2012 i686
- Python: Python 2.6.6 (/usr/bin/python)
- MoinMoin: Release 1.5.3 (release)