--> -->
 
 
<class 'xml.parsers.expat.ExpatError'>
Python 2.7.16: /usr/bin/python
Sat Nov 23 10:44:37 2024

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /var/www/darcsweb/code/cgi-bin/darcsweb.cgi in <module>()
   2622         else:
   2623                 phash = None
=> 2624         do_annotate(fname, phash, "shade")
   2625 
   2626 elif action == "shortlog":
do_annotate = <function do_annotate>, fname = 'Rakefile', phash = None
 /var/www/darcsweb/code/cgi-bin/darcsweb.cgi in do_annotate(fname='Rakefile', phash=None, style='shade')
   1941 def do_annotate(fname, phash, style):
   1942         print_header()
=> 1943         ann = get_annotate(fname, phash)
   1944         if not ann:
   1945                 print """
ann undefined, global get_annotate = <function get_annotate>, fname = 'Rakefile', phash = None
 /var/www/darcsweb/code/cgi-bin/darcsweb.cgi in get_annotate(fname='Rakefile', hash=None)
   1077         cmd += ' "%s"' % fname
   1078 
=> 1079         return parse_annotate(run_darcs(cmd))
   1080 
   1081 
global parse_annotate = <function parse_annotate>, global run_darcs = <function run_darcs>, cmd = 'annotate --xml-output "Rakefile"'
 /var/www/darcsweb/code/cgi-bin/darcsweb.cgi in parse_annotate(src=<open file '<fdopen>', mode 'rb'>)
    989                 s += fixu8(i)
    990 
=>  991         dom = xml.dom.minidom.parseString(s)
    992 
    993         file = dom.getElementsByTagName("file")[0]
dom undefined, xml = <module 'xml' from '/usr/lib/python2.7/xml/__init__.pyc'>, xml.dom = <module 'xml.dom' from '/usr/lib/python2.7/xml/dom/__init__.pyc'>, xml.dom.minidom = <module 'xml.dom.minidom' from '/usr/lib/python2.7/xml/dom/minidom.pyc'>, xml.dom.minidom.parseString = <function parseString>, s = "command line: unrecognized option `--xml-output'\n"
 /usr/lib/python2.7/xml/dom/minidom.py in parseString(string="command line: unrecognized option `--xml-output'\n", parser=None)
   1926     if parser is None:
   1927         from xml.dom import expatbuilder
=> 1928         return expatbuilder.parseString(string)
   1929     else:
   1930         from xml.dom import pulldom
expatbuilder = <module 'xml.dom.expatbuilder' from '/usr/lib/python2.7/xml/dom/expatbuilder.pyc'>, expatbuilder.parseString = <function parseString>, string = "command line: unrecognized option `--xml-output'\n"
 /usr/lib/python2.7/xml/dom/expatbuilder.py in parseString(string="command line: unrecognized option `--xml-output'\n", namespaces=True)
    938     else:
    939         builder = ExpatBuilder()
=>  940     return builder.parseString(string)
    941 
    942 
builder = <xml.dom.expatbuilder.ExpatBuilderNS instance>, builder.parseString = <bound method ExpatBuilderNS.parseString of <xml.dom.expatbuilder.ExpatBuilderNS instance>>, string = "command line: unrecognized option `--xml-output'\n"
 /usr/lib/python2.7/xml/dom/expatbuilder.py in parseString(self=<xml.dom.expatbuilder.ExpatBuilderNS instance>, string="command line: unrecognized option `--xml-output'\n")
    221         parser = self.getParser()
    222         try:
=>  223             parser.Parse(string, True)
    224             self._setup_subset(string)
    225         except ParseEscape:
parser = <pyexpat.xmlparser object>, parser.Parse = <built-in method Parse of pyexpat.xmlparser object>, string = "command line: unrecognized option `--xml-output'\n", builtin True = True

<class 'xml.parsers.expat.ExpatError'>: syntax error: line 1, column 0
      args = ('syntax error: line 1, column 0',)
      code = 2
      lineno = 1
      message = 'syntax error: line 1, column 0'
      offset = 0