<type 'exceptions.TypeError'>
Python 2.6.6: /usr/bin/python
Sun Feb 5 16:28:05 2012

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/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object>)
  556         """Runs the handler, flushes the streams, and ends the request."""
  557         try:
  558             protocolStatus, appStatus = self.server.handler(self)
  559         except:
  560             traceback.print_exc(file=self.stderr)
protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object>, self.server = <flup.server.fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi.WSGIServer object>>
 /usr/lib/pymodules/python2.6/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi.WSGIServer object>, req=<flup.server.fcgi_base.Request object>)
 1116         try:
 1117             try:
 1118                 result = self.application(environ, start_response)
 1119                 try:
 1120                     for data in result:
result = None, self = <flup.server.fcgi.WSGIServer object>, self.application = <werkzeug.wsgi.SharedDataMiddleware object>, environ = {'DOCUMENT_ROOT': '/srv/www.no1984.org/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.no1984.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function start_response>
 /usr/lib/pymodules/python2.6/werkzeug/wsgi.py in __call__(self=<werkzeug.wsgi.SharedDataMiddleware object>, environ={'DOCUMENT_ROOT': '/srv/www.no1984.org/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.no1984.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response>)
  404                     break
  405         if file_loader is None or not self.is_allowed(real_filename):
  406             return self.app(environ, start_response)
  407 
  408         guessed_type = mimetypes.guess_type(real_filename)
self = <werkzeug.wsgi.SharedDataMiddleware object>, self.app = <MoinMoin.wsgiapp.Application object>, environ = {'DOCUMENT_ROOT': '/srv/www.no1984.org/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.no1984.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function start_response>
 /usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py in __call__(self=<MoinMoin.wsgiapp.Application object>, environ={'DOCUMENT_ROOT': '/srv/www.no1984.org/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.no1984.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response>)
  280             request = self.Request(environ)
  281             context = init(request)
  282             response = run(context)
  283             context.clock.stop('total')
  284         except HTTPException, e:
response undefined, global run = <function run>, context = <AllContext ['AllContext']>
 /usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py in run(context=<AllContext ['AllContext']>)
   86                 response = xmlrpc.xmlrpc2(XMLRPCContext(request))
   87             else:
   88                 response = dispatch(request, context, action_name)
   89             context.cfg.session_service.finalize(context, context.session)
   90             return response
response undefined, global dispatch = <function dispatch>, request = <AppRequest 6112 bytes [200 OK]>, context = <AllContext ['AllContext']>, action_name = 'show'
 /usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py in dispatch(request=<AppRequest 6112 bytes [200 OK]>, context=<AllContext ['AllContext']>, action_name='show')
  134     # 2. handle action
  135     else:
  136         response = handle_action(context, pagename, action_name)
  137     if isinstance(response, Context):
  138         response = response.request
response undefined, global handle_action = <function handle_action>, context = <AllContext ['AllContext']>, pagename = u'CategoryHomepage', action_name = 'show'
 /usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py in handle_action(context=<AllContext ['AllContext']>, pagename=u'CategoryHomepage', action_name='show')
  193             context.page.send_page()
  194         else:
  195             handler(context.page.page_name, context)
  196 
  197     return context
handler = <function do_show>, context = <AllContext ['AllContext']>, context.page = <MoinMoin.Page.Page object>, context.page.page_name = u'CategoryHomepage'
 /usr/lib/pymodules/python2.6/MoinMoin/action/__init__.py in do_show(pagename=u'CategoryHomepage', request=<AllContext ['AllContext']>, content_only=0, count_hit=1, cacheable=1, print_mode=0, mimetype=u'text/html')
  266             count_hit=count_hit,
  267             print_mode=print_mode,
  268             content_only=content_only,
  269         )
  270 
content_only = 0
 /usr/lib/pymodules/python2.6/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page object>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})
 1196                                    format_args=pi['formatargs'],
 1197                                    do_cache=do_cache,
 1198                                    start_line=pi['lines'])
 1199 
 1200             # check for pending footnotes
start_line undefined, pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': u'wiki', 'formatargs': u'', 'language': u'en', 'lines': 5}
 /usr/lib/pymodules/python2.6/MoinMoin/Page.py in send_page_content(self=<MoinMoin.Page.Page object>, request=<AllContext ['AllContext']>, body=u"A category for WikiHomePage''''''s.\n\nKnown homep...)(.*)CategoryHomepage\\b)]]\n----\nCategoryCategory\n", format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 5})
 1290             try:
 1291                 code = self.loadCache(request)
 1292                 self.execute(request, parser, code)
 1293             except Exception, e:
 1294                 if not is_cache_exception(e):
self = <MoinMoin.Page.Page object>, self.execute = <bound method Page.execute of <MoinMoin.Page.Page object>>, request = <AllContext ['AllContext']>, parser = <MoinMoin.parser.text_moin_wiki.Parser instance>, code = <code object ? at 0x22b18a0, file "CategoryHomepage", line 2>
 /usr/lib/pymodules/python2.6/MoinMoin/Page.py in execute(self=<MoinMoin.Page.Page object>, request=<AllContext ['AllContext']>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>, code=<code object ? at 0x22b18a0, file "CategoryHomepage", line 2>)
 1321                 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
 1322             try:
 1323                 exec code
 1324             except "CacheNeedsUpdate": # convert the exception
 1325                 raise Exception("CacheNeedsUpdate")
code = <code object ? at 0x22b18a0, file "CategoryHomepage", line 2>
 /usr/share/moin/server/CategoryHomepage

<type 'exceptions.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'