--> -->
 
 
<type 'exceptions.TypeError'>
Python 2.6.6: /usr/bin/python
Wed Apr 16 06:45:57 2014

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/cgi-bin/darcsweb.cgi in ()
 2644         else:
 2645                 topi = 0
 2646         do_log(topi)
 2647 
 2648 elif action == 'headblob':
do_log = <function do_log>, topi = 0
 /usr/lib/cgi-bin/darcsweb.cgi in do_log(topi=0)
 1990         print_header()
 1991         print_navbar()
 1992         print_log(topi = topi)
 1993         print_footer()
 1994 
global print_log = <function print_log>, topi = 0
 /usr/lib/cgi-bin/darcsweb.cgi in print_log(last=50, topi=0)
 1211 
 1212 def print_log(last = 50, topi = 0):
 1213         ps = get_last_patches(last, topi)
 1214 
 1215         if topi != 0:
ps undefined, global get_last_patches = <function get_last_patches>, last = 50, topi = 0
 /usr/lib/cgi-bin/darcsweb.cgi in get_last_patches(last=50, topi=0, fname=None)
  907                 s = "-s --last=%d" % toget
  908 
  909         handler = get_changes_handler(s)
  910 
  911         # return the list of all the patch objects
handler undefined, global get_changes_handler = <function get_changes_handler>, s = '-s --last=50'
 /usr/lib/cgi-bin/darcsweb.cgi in get_changes_handler(params='-s --last=50')
  883         # get the xml output and parse it
  884         xmlf = run_darcs("changes --xml-output " + params)
  885         parser.parse(XmlInputWrapper(xmlf))
  886         xmlf.close()
  887 
parser = <xml.sax.expatreader.ExpatParser instance>, parser.parse = <bound method ExpatParser.parse of <xml.sax.expatreader.ExpatParser instance>>, global XmlInputWrapper = <class __main__.XmlInputWrapper>, xmlf = <open file '<fdopen>', mode 'rb'>
 /usr/lib/python2.6/xml/sax/expatreader.py in parse(self=<xml.sax.expatreader.ExpatParser instance>, source=<xml.sax.xmlreader.InputSource instance>)
  105         self.reset()
  106         self._cont_handler.setDocumentLocator(ExpatLocator(self))
  107         xmlreader.IncrementalParser.parse(self, source)
  108 
  109     def prepareParser(self, source):
global xmlreader = <module 'xml.sax.xmlreader' from '/usr/lib/python2.6/xml/sax/xmlreader.pyc'>, xmlreader.IncrementalParser = <class xml.sax.xmlreader.IncrementalParser>, xmlreader.IncrementalParser.parse = <unbound method IncrementalParser.parse>, self = <xml.sax.expatreader.ExpatParser instance>, source = <xml.sax.xmlreader.InputSource instance>
 /usr/lib/python2.6/xml/sax/xmlreader.py in parse(self=<xml.sax.expatreader.ExpatParser instance>, source=<xml.sax.xmlreader.InputSource instance>)
  122         while buffer != "":
  123             self.feed(buffer)
  124             buffer = file.read(self._bufsize)
  125         self.close()
  126 
buffer = '<?xml version="1.0" encoding="utf-8"?>\n', file = <__main__.XmlInputWrapper instance>, file.read = <bound method XmlInputWrapper.read of <__main__.XmlInputWrapper instance>>, self = <xml.sax.expatreader.ExpatParser instance>, self._bufsize = 65516
 /usr/lib/cgi-bin/darcsweb.cgi in read(self=<__main__.XmlInputWrapper instance>, *args=(65516,), **kwargs={})
  710                 if not s:
  711                         return s
  712                 return fixu8(s)
  713 
  714         def close(self, *args, **kwargs):
global fixu8 = <function fixu8>, s = "<changelog>\n<patch author='aycan.irican@core.gen...odify_file>\n </summary>\n</patch>\n</changelog>\n"
 /usr/lib/cgi-bin/darcsweb.cgi in fixu8(s="<changelog>\n<patch author='aycan.irican@core.gen...odify_file>\n </summary>\n</patch>\n</changelog>\n")
  104         n = []
  105         for i in s.split('\n'):
  106                 n.append(_fixu8(i))
  107         return '\n'.join(n)
  108 
n = ['<changelog>', "<patch author='aycan.irican@core.gen.tr' date='2...8d4-e930e2cbadf794ee60e9f8ebb8f6265098d99bd2.gz'>"], n.append = <built-in method append of list object>, global _fixu8 = <function _fixu8>, i = '\t<name>added submit meth\xc4od</name>'
 /usr/lib/cgi-bin/darcsweb.cgi in _fixu8(s='\t<name>added submit meth\xc4od</name>')
  115                 except UnicodeDecodeError:
  116                         pass
  117         raise 'DecodingError', config.repoencoding
  118 
  119 
global config = <class __main__.config>, config.repoencoding = ('utf8',)

<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'