--> -->
<class 'xml.parsers.expat.ExpatError'> | Python 2.7.3: /usr/bin/python Sun Nov 24 23:47:00 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='/.cache', 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 = '/.cache', phash = None |
/domain/repo.kepibu.org/web/htdocs/darcsweb/darcsweb.cgi in get_annotate(fname='.cache', 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 ".cache"' |
/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 = '\ndarcs failed: No such file or directory: .cache\n' |
/usr/lib/python2.7/xml/dom/minidom.py in parseString(string='\ndarcs failed: No such file or directory: .cache\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 = '\ndarcs failed: No such file or directory: .cache\n' |
/usr/lib/python2.7/xml/dom/expatbuilder.py in parseString(string='\ndarcs failed: No such file or directory: .cache\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 = '\ndarcs failed: No such file or directory: .cache\n' |
/usr/lib/python2.7/xml/dom/expatbuilder.py in parseString(self=<xml.dom.expatbuilder.ExpatBuilderNS instance>, string='\ndarcs failed: No such file or directory: .cache\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 = '\ndarcs failed: No such file or directory: .cache\n', builtin True = True |
<class 'xml.parsers.expat.ExpatError'>: syntax error: line 2, column 0
args =
('syntax error: line 2, column 0',)
code =
2
lineno =
2
message =
'syntax error: line 2, column 0'
offset =
0