--> -->
 
 
<class 'xml.sax._exceptions.SAXParseException'>
Python 2.7.3: /usr/bin/python
Thu Jul 30 02:06:13 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 ()
   2548 elif action == "commitdiff":
   2549         phash = filter_hash(form["h"].value)
=> 2550         do_commitdiff(phash)
   2551 elif action == "plain_commitdiff":
   2552         phash = filter_hash(form["h"].value)
do_commitdiff = <function do_commitdiff>, phash = '20100320191532-ac2de-6df0551750963a3f6b8a70c96ac6fd277608103a.gz'
 /usr/lib/cgi-bin/darcsweb.cgi in do_commitdiff(phash='20100320191532-ac2de-6df0551750963a3f6b8a70c96ac6fd277608103a.gz')
   1486         print_header()
   1487         print_navbar(h = phash)
=> 1488         p = get_patch(phash)
   1489         print """
   1490 <div>
p undefined, global get_patch = <function get_patch>, phash = '20100320191532-ac2de-6df0551750963a3f6b8a70c96ac6fd277608103a.gz'
 /usr/lib/cgi-bin/darcsweb.cgi in get_patch(hash='20100320191532-ac2de-6df0551750963a3f6b8a70c96ac6fd277608103a.gz')
    913 
    914 def get_patch(hash):
=>  915         handler = get_changes_handler('-s --match "hash %s"' % hash)
    916         patch = handler.db[handler.list[0]]
    917         return patch
handler undefined, global get_changes_handler = <function get_changes_handler>, hash = '20100320191532-ac2de-6df0551750963a3f6b8a70c96ac6fd277608103a.gz'
 /usr/lib/cgi-bin/darcsweb.cgi in get_changes_handler(params='-s --match "hash 20100320191532-ac2de-6df0551750963a3f6b8a70c96ac6fd277608103a.gz"')
    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>)
    121         buffer = file.read(self._bufsize)
    122         while buffer != "":
=>  123             self.feed(buffer)
    124             buffer = file.read(self._bufsize)
    125         self.close()
self = <xml.sax.expatreader.ExpatParser instance>, self.feed = <bound method ExpatParser.feed of <xml.sax.expatreader.ExpatParser instance>>, buffer = '\nWarning: CRC errors found. These are probably h...odify_file>\n </summary>\n</patch>\n</changelog>\n'
 /usr/lib/python2.7/xml/sax/expatreader.py in feed(self=<xml.sax.expatreader.ExpatParser instance>, data='\nWarning: CRC errors found. These are probably h...odify_file>\n </summary>\n</patch>\n</changelog>\n', isFinal=0)
    209             exc = SAXParseException(expat.ErrorString(e.code), e, self)
    210             # FIXME: when to invoke error()?
=>  211             self._err_handler.fatalError(exc)
    212 
    213     def close(self):
self = <xml.sax.expatreader.ExpatParser instance>, self._err_handler = <xml.sax.handler.ErrorHandler instance>, self._err_handler.fatalError = <bound method ErrorHandler.fatalError of <xml.sax.handler.ErrorHandler instance>>, exc = SAXParseException('syntax error',)
 /usr/lib/python2.7/xml/sax/handler.py in fatalError(self=<xml.sax.handler.ErrorHandler instance>, exception=SAXParseException('syntax error',))
     36     def fatalError(self, exception):
     37         "Handle a non-recoverable error."
=>   38         raise exception
     39 
     40     def warning(self, exception):
exception = SAXParseException('syntax error',)

<class 'xml.sax._exceptions.SAXParseException'>: <unknown>:3:0: syntax error
      args = ('syntax error',)
      getColumnNumber = <bound method SAXParseException.getColumnNumber of SAXParseException('syntax error',)>
      getException = <bound method SAXParseException.getException of SAXParseException('syntax error',)>
      getLineNumber = <bound method SAXParseException.getLineNumber of SAXParseException('syntax error',)>
      getMessage = <bound method SAXParseException.getMessage of SAXParseException('syntax error',)>
      getPublicId = <bound method SAXParseException.getPublicId of SAXParseException('syntax error',)>
      getSystemId = <bound method SAXParseException.getSystemId of SAXParseException('syntax error',)>
      message = 'syntax error'