--> -->
 
 
<type 'exceptions.TypeError'>
Python 2.7.3: /usr/bin/python
Tue Sep 1 10:09:25 2015

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 ()
   2629         else:
   2630                 topi = 0
=> 2631         do_shortlog(topi)
   2632 
   2633 elif action == "filehistory":
do_shortlog = <function do_shortlog>, topi = 0
 /usr/lib/cgi-bin/darcsweb.cgi in do_shortlog(topi=0)
   1978         print_header()
   1979         print_navbar()
=> 1980         print_shortlog(topi = topi)
   1981         print_footer()
   1982 
global print_shortlog = <function print_shortlog>, topi = 0
 /usr/lib/cgi-bin/darcsweb.cgi in print_shortlog(last=50, topi=0, fname=None)
   1137 
   1138 def print_shortlog(last = 50, topi = 0, fname = None):
=> 1139         ps = get_last_patches(last, topi, fname)
   1140 
   1141         if fname:
ps undefined, global get_last_patches = <function get_last_patches>, last = 50, topi = 0, fname = None
 /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.7/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.7/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.7/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...-3f8d4-e930e2cbadf794ee60e9f8ebb8f6265098d99bd2'>"], 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'