--> -->
<class 'xml.parsers.expat.ExpatError'> | Python 2.7.3: /usr/bin/python Fri Nov 22 20:38:23 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.
/domain/repo.kepibu.org/web/htdocs/darcsweb/darcsweb.cgi in do_annotate(fname='docs/html/images/unif-templ-hier.pcl', phash=None, style='shade') |
2016 def do_annotate(fname, phash, style):
|
2017 print_header()
|
=> 2018 ann = get_annotate(fname, phash)
|
2019 if not ann:
|
2020 print """
|
ann undefined, global get_annotate = <function get_annotate>, fname = 'docs/html/images/unif-templ-hier.pcl', phash = None |
/domain/repo.kepibu.org/web/htdocs/darcsweb/darcsweb.cgi in get_annotate(fname='docs/html/images/unif-templ-hier.pcl', hash=None) |
1090 cmd += ' "%s"' % fname
|
1091
|
=> 1092 return parse_annotate(run_darcs(cmd))
|
1093
|
1094 def get_readme():
|
global parse_annotate = <function parse_annotate>, global run_darcs = <function run_darcs>, cmd = 'annotate --xml-output "docs/html/images/unif-templ-hier.pcl"' |
/domain/repo.kepibu.org/web/htdocs/darcsweb/darcsweb.cgi in parse_annotate(src=<open file '<fdopen>', mode 'rb'>) |
1002 s += fixu8(i).replace('', '^L')
|
1003
|
=> 1004 dom = xml.dom.minidom.parseString(s)
|
1005
|
1006 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 = '1: Wed Nov 17 22:19:54 UTC 2004 mantoniotti\n *...PJL EOJ \n | \x1b%-12345X \n\n' |
/usr/lib/python2.7/xml/dom/minidom.py in parseString(string='1: Wed Nov 17 22:19:54 UTC 2004 mantoniotti\n *...PJL EOJ \n | \x1b%-12345X \n\n', parser=None) |
1928 if parser is None:
|
1929 from xml.dom import expatbuilder
|
=> 1930 return expatbuilder.parseString(string)
|
1931 else:
|
1932 from xml.dom import pulldom
|
expatbuilder = <module 'xml.dom.expatbuilder' from '/usr/lib/python2.7/xml/dom/expatbuilder.pyc'>, expatbuilder.parseString = <function parseString>, string = '1: Wed Nov 17 22:19:54 UTC 2004 mantoniotti\n *...PJL EOJ \n | \x1b%-12345X \n\n' |
/usr/lib/python2.7/xml/dom/expatbuilder.py in parseString(string='1: Wed Nov 17 22:19:54 UTC 2004 mantoniotti\n *...PJL EOJ \n | \x1b%-12345X \n\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 = '1: Wed Nov 17 22:19:54 UTC 2004 mantoniotti\n *...PJL EOJ \n | \x1b%-12345X \n\n' |
/usr/lib/python2.7/xml/dom/expatbuilder.py in parseString(self=<xml.dom.expatbuilder.ExpatBuilderNS instance>, string='1: Wed Nov 17 22:19:54 UTC 2004 mantoniotti\n *...PJL EOJ \n | \x1b%-12345X \n\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 = '1: Wed Nov 17 22:19:54 UTC 2004 mantoniotti\n *...PJL EOJ \n | \x1b%-12345X \n\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