--> -->
<class 'xml.sax._exceptions.SAXParseException'> | Python 2.7.3: /usr/bin/python Thu Nov 12 01:38:39 2026 |
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
| /usr/lib/cgi-bin/darcsweb.cgi in () |
2548 elif action == "commitdiff":
|
2549 phash = filter_hash(form["h"].value)
|
=> 2550 do_commitdiff(phash)
|
2551 elif action == "plain_commitdiff":
|
2552 phash = filter_hash(form["h"].value)
|
| do_commitdiff = <function do_commitdiff>, phash = '20060119120028-970b1-dbfe029b66e75fd98517a48e3d851b501fded4d2' |
| /usr/lib/cgi-bin/darcsweb.cgi in do_commitdiff(phash='20060119120028-970b1-dbfe029b66e75fd98517a48e3d851b501fded4d2') |
1486 print_header()
|
1487 print_navbar(h = phash)
|
=> 1488 p = get_patch(phash)
|
1489 print """
|
1490 <div>
|
| p undefined, global get_patch = <function get_patch>, phash = '20060119120028-970b1-dbfe029b66e75fd98517a48e3d851b501fded4d2' |
| /usr/lib/cgi-bin/darcsweb.cgi in get_patch(hash='20060119120028-970b1-dbfe029b66e75fd98517a48e3d851b501fded4d2') |
913
|
914 def get_patch(hash):
|
=> 915 handler = get_changes_handler('-s --match "hash %s"' % hash)
|
916 patch = handler.db[handler.list[0]]
|
917 return patch
|
| handler undefined, global get_changes_handler = <function get_changes_handler>, hash = '20060119120028-970b1-dbfe029b66e75fd98517a48e3d851b501fded4d2' |
| /usr/lib/cgi-bin/darcsweb.cgi in get_changes_handler(params='-s --match "hash 20060119120028-970b1-dbfe029b66e75fd98517a48e3d851b501fded4d2"') |
883 # get the xml output and parse it
|
884 xmlf = run_darcs("changes --xml-output " + params)
|
=> 885 parser.parse(XmlInputWrapper(xmlf))
|
886 xmlf.close()
|
887
|
| parser = <xml.sax.expatreader.ExpatParser instance>, parser.parse = <bound method ExpatParser.parse of <xml.sax.expatreader.ExpatParser instance>>, global XmlInputWrapper = <class __main__.XmlInputWrapper>, xmlf = <open file '<fdopen>', mode 'rb'> |
| /usr/lib/python2.7/xml/sax/expatreader.py in parse(self=<xml.sax.expatreader.ExpatParser instance>, source=<xml.sax.xmlreader.InputSource instance>) |
105 self.reset()
|
106 self._cont_handler.setDocumentLocator(ExpatLocator(self))
|
=> 107 xmlreader.IncrementalParser.parse(self, source)
|
108
|
109 def prepareParser(self, source):
|
| global xmlreader = <module 'xml.sax.xmlreader' from '/usr/lib/python2.7/xml/sax/xmlreader.pyc'>, xmlreader.IncrementalParser = <class xml.sax.xmlreader.IncrementalParser>, xmlreader.IncrementalParser.parse = <unbound method IncrementalParser.parse>, self = <xml.sax.expatreader.ExpatParser instance>, source = <xml.sax.xmlreader.InputSource instance> |
| /usr/lib/python2.7/xml/sax/xmlreader.py in parse(self=<xml.sax.expatreader.ExpatParser instance>, source=<xml.sax.xmlreader.InputSource instance>) |
123 self.feed(buffer)
|
124 buffer = file.read(self._bufsize)
|
=> 125 self.close()
|
126
|
127 def feed(self, data):
|
| self = <xml.sax.expatreader.ExpatParser instance>, self.close = <bound method ExpatParser.close of <xml.sax.expatreader.ExpatParser instance>> |
| /usr/lib/python2.7/xml/sax/expatreader.py in close(self=<xml.sax.expatreader.ExpatParser instance>) |
215 # If we are completing an external entity, do nothing here
|
216 return
|
=> 217 self.feed("", isFinal = 1)
|
218 self._cont_handler.endDocument()
|
219 self._parsing = 0
|
| self = <xml.sax.expatreader.ExpatParser instance>, self.feed = <bound method ExpatParser.feed of <xml.sax.expatreader.ExpatParser instance>>, isFinal undefined |
| /usr/lib/python2.7/xml/sax/expatreader.py in feed(self=<xml.sax.expatreader.ExpatParser instance>, data='', isFinal=1) |
209 exc = SAXParseException(expat.ErrorString(e.code), e, self)
|
210 # FIXME: when to invoke error()?
|
=> 211 self._err_handler.fatalError(exc)
|
212
|
213 def close(self):
|
| self = <xml.sax.expatreader.ExpatParser instance>, self._err_handler = <xml.sax.handler.ErrorHandler instance>, self._err_handler.fatalError = <bound method ErrorHandler.fatalError of <xml.sax.handler.ErrorHandler instance>>, exc = SAXParseException('no element found',) |
| /usr/lib/python2.7/xml/sax/handler.py in fatalError(self=<xml.sax.handler.ErrorHandler instance>, exception=SAXParseException('no element found',)) |
36 def fatalError(self, exception):
|
37 "Handle a non-recoverable error."
|
=> 38 raise exception
|
39
|
40 def warning(self, exception):
|
| exception = SAXParseException('no element found',) |
<class 'xml.sax._exceptions.SAXParseException'>: <unknown>:2:0: no element found
args =
('no element found',)
getColumnNumber =
<bound method SAXParseException.getColumnNumber of SAXParseException('no element found',)>
getException =
<bound method SAXParseException.getException of SAXParseException('no element found',)>
getLineNumber =
<bound method SAXParseException.getLineNumber of SAXParseException('no element found',)>
getMessage =
<bound method SAXParseException.getMessage of SAXParseException('no element found',)>
getPublicId =
<bound method SAXParseException.getPublicId of SAXParseException('no element found',)>
getSystemId =
<bound method SAXParseException.getSystemId of SAXParseException('no element found',)>
message =
'no element found'