<class 'xml.parsers.expat.ExpatError'> | Python 2.7.3: /usr/bin/python Wed May 15 14:06:16 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 |
2733 else: |
2734 phash = None |
=> 2735 do_annotate(fname, phash, "shade") |
2736 |
2737 elif action == "shortlog": |
do_annotate = <function do_annotate>, fname = 'ajax-login.php', phash = '20101027041801-50f04-fe8aeb75d1f191a4779d688e0e64b7a1294381ba.gz' |
/domain/repo.kepibu.org/web/htdocs/darcsweb/darcsweb.cgi in do_annotate(fname='ajax-login.php', phash='20101027041801-50f04-fe8aeb75d1f191a4779d688e0e64b7a1294381ba.gz', 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 = 'ajax-login.php', phash = '20101027041801-50f04-fe8aeb75d1f191a4779d688e0e64b7a1294381ba.gz' |
/domain/repo.kepibu.org/web/htdocs/darcsweb/darcsweb.cgi in get_annotate(fname='ajax-login.php', hash='20101027041801-50f04-fe8aeb75d1f191a4779d688e0e64b7a1294381ba.gz') |
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 --match="hash 201010270418...91a4779d688e0e64b7a1294381ba.gz" "ajax-login.php"' |
/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 Oct 27 04:18:01 UTC 2010 pix@kepibu.org\n...', false, 401); \n | } \n\n" |
/usr/lib/python2.7/xml/dom/minidom.py in parseString(string="1: Wed Oct 27 04:18:01 UTC 2010 pix@kepibu.org\n...', false, 401); \n | } \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 Oct 27 04:18:01 UTC 2010 pix@kepibu.org\n...', false, 401); \n | } \n\n" |
/usr/lib/python2.7/xml/dom/expatbuilder.py in parseString(string="1: Wed Oct 27 04:18:01 UTC 2010 pix@kepibu.org\n...', false, 401); \n | } \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 Oct 27 04:18:01 UTC 2010 pix@kepibu.org\n...', false, 401); \n | } \n\n" |
/usr/lib/python2.7/xml/dom/expatbuilder.py in parseString(self=<xml.dom.expatbuilder.ExpatBuilderNS instance>, string="1: Wed Oct 27 04:18:01 UTC 2010 pix@kepibu.org\n...', false, 401); \n | } \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 Oct 27 04:18:01 UTC 2010 pix@kepibu.org\n...', false, 401); \n | } \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