--> -->
<class 'xml.parsers.expat.ExpatError'> | Python 2.7.3: /usr/bin/python Fri Nov 1 00:38: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 () |
2712 else:
|
2713 phash = None
|
=> 2714 do_annotate(fname, phash, "normal")
|
2715 elif action == "annotate_plain":
|
2716 fname = filter_file(form["f"].value)
|
do_annotate = <function do_annotate>, fname = '/chtml.lisp', phash = '20091121161213-50f04-8fab2fd1f8fb6a91ebd85b1090bd090a7c6f7b1c.gz' |
/domain/repo.kepibu.org/web/htdocs/darcsweb/darcsweb.cgi in do_annotate(fname='/chtml.lisp', phash='20091121161213-50f04-8fab2fd1f8fb6a91ebd85b1090bd090a7c6f7b1c.gz', style='normal') |
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 = '/chtml.lisp', phash = '20091121161213-50f04-8fab2fd1f8fb6a91ebd85b1090bd090a7c6f7b1c.gz' |
/domain/repo.kepibu.org/web/htdocs/darcsweb/darcsweb.cgi in get_annotate(fname='chtml.lisp', hash='20091121161213-50f04-8fab2fd1f8fb6a91ebd85b1090bd090a7c6f7b1c.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 200911211612...f8fb6a91ebd85b1090bd090a7c6f7b1c.gz" "chtml.lisp"' |
/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 18 10:23:05 UTC 2009 pix@kepibu.org\n... | :spec spec))) \n\n' |
/usr/lib/python2.7/xml/dom/minidom.py in parseString(string='1: Wed Nov 18 10:23:05 UTC 2009 pix@kepibu.org\n... | :spec spec))) \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 18 10:23:05 UTC 2009 pix@kepibu.org\n... | :spec spec))) \n\n' |
/usr/lib/python2.7/xml/dom/expatbuilder.py in parseString(string='1: Wed Nov 18 10:23:05 UTC 2009 pix@kepibu.org\n... | :spec spec))) \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 18 10:23:05 UTC 2009 pix@kepibu.org\n... | :spec spec))) \n\n' |
/usr/lib/python2.7/xml/dom/expatbuilder.py in parseString(self=<xml.dom.expatbuilder.ExpatBuilderNS instance>, string='1: Wed Nov 18 10:23:05 UTC 2009 pix@kepibu.org\n... | :spec spec))) \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 18 10:23:05 UTC 2009 pix@kepibu.org\n... | :spec spec))) \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