--> -->
 
 
<class 'xml.sax._exceptions.SAXParseException'>
Python 2.7.16: /usr/bin/python
Thu Nov 21 11:29:15 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.

 /var/www/darcsweb/code/cgi-bin/darcsweb.cgi in <module>()
   2637                 topi = 0
   2638         fname = filter_file(form["f"].value)
=> 2639         do_filehistory(topi, fname)
   2640 
   2641 elif action == "log":
do_filehistory = <function do_filehistory>, topi = 0, fname = 'Rakefile'
 /var/www/darcsweb/code/cgi-bin/darcsweb.cgi in do_filehistory(topi=0, f='Rakefile')
   1984         print_header()
   1985         print_navbar(f = fname)
=> 1986         print_shortlog(topi = topi, fname = fname)
   1987         print_footer()
   1988 
global print_shortlog = <function print_shortlog>, topi = 0, global fname = 'Rakefile'
 /var/www/darcsweb/code/cgi-bin/darcsweb.cgi in print_shortlog(last=50, topi=0, fname='Rakefile')
   1137 
   1138 def print_shortlog(last = 50, topi = 0, fname = None):
=> 1139         ps = get_last_patches(last, topi, fname)
   1140 
   1141         if fname:
ps undefined, global get_last_patches = <function get_last_patches>, last = 50, topi = 0, fname = 'Rakefile'
 /var/www/darcsweb/code/cgi-bin/darcsweb.cgi in get_last_patches(last=50, topi=0, fname='Rakefile')
    907                 s = "-s --last=%d" % toget
    908 
=>  909         handler = get_changes_handler(s)
    910 
    911         # return the list of all the patch objects
handler undefined, global get_changes_handler = <function get_changes_handler>, s = '-s "Rakefile"'
 /var/www/darcsweb/code/cgi-bin/darcsweb.cgi in get_changes_handler(params='-s "Rakefile"')
    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 = <closed 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>)
    109             self.reset()
    110             self._cont_handler.setDocumentLocator(ExpatLocator(self))
=>  111             xmlreader.IncrementalParser.parse(self, source)
    112         except:
    113             # bpo-30264: Close the source on error to not leak resources:
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>)
    121         buffer = file.read(self._bufsize)
    122         while buffer != "":
=>  123             self.feed(buffer)
    124             buffer = file.read(self._bufsize)
    125         self.close()
self = <xml.sax.expatreader.ExpatParser instance>, self.feed = <bound method ExpatParser.feed of <xml.sax.expatreader.ExpatParser instance>>, buffer = 'darcs: takeLock ./_darcs/lock in /var/www/darcs/ruby-ssdeep: permission denied (Permission denied)\n'
 /usr/lib/python2.7/xml/sax/expatreader.py in feed(self=<xml.sax.expatreader.ExpatParser instance>, data='darcs: takeLock ./_darcs/lock in /var/www/darcs/ruby-ssdeep: permission denied (Permission denied)\n', isFinal=0)
    222             exc = SAXParseException(expat.ErrorString(e.code), e, self)
    223             # FIXME: when to invoke error()?
=>  224             self._err_handler.fatalError(exc)
    225 
    226     def _close_source(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('syntax error',)
 /usr/lib/python2.7/xml/sax/handler.py in fatalError(self=<xml.sax.handler.ErrorHandler instance>, exception=SAXParseException('syntax error',))
     36     def fatalError(self, exception):
     37         "Handle a non-recoverable error."
=>   38         raise exception
     39 
     40     def warning(self, exception):
exception = SAXParseException('syntax error',)

<class 'xml.sax._exceptions.SAXParseException'>: <unknown>:2:0: syntax error
      args = ('syntax error',)
      getColumnNumber = <bound method SAXParseException.getColumnNumber of SAXParseException('syntax error',)>
      getException = <bound method SAXParseException.getException of SAXParseException('syntax error',)>
      getLineNumber = <bound method SAXParseException.getLineNumber of SAXParseException('syntax error',)>
      getMessage = <bound method SAXParseException.getMessage of SAXParseException('syntax error',)>
      getPublicId = <bound method SAXParseException.getPublicId of SAXParseException('syntax error',)>
      getSystemId = <bound method SAXParseException.getSystemId of SAXParseException('syntax error',)>
      message = 'syntax error'