<type 'exceptions.SyntaxError'>
Python 2.6.2: /usr/bin/python
Sat May 19 00:13:16 2012

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/lib/python-support/python2.6/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object at 0xb4a7402c>)
  556         """Runs the handler, flushes the streams, and ends the request."""
  557         try:
  558             protocolStatus, appStatus = self.server.handler(self)
  559         except:
  560             traceback.print_exc(file=self.stderr)
protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object at 0xb4a7402c>, self.server = <flup.server.fcgi.WSGIServer object at 0xb7401e4c>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi.WSGIServer object at 0xb7401e4c>>
 /var/lib/python-support/python2.6/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi.WSGIServer object at 0xb7401e4c>, req=<flup.server.fcgi_base.Request object at 0xb4a7402c>)
 1116                 result = self.application(environ, start_response)
 1117                 try:
 1118                     for data in result:
 1119                         if data:
 1120                             write(data)
data undefined, result = <generator object increasingchunks at 0xb4a48c34>
 /var/lib/python-support/python2.6/mercurial/util.py in increasingchunks(source=<generator object expand at 0xb4a4875c>, min=1024, max=65536)
  308     buf = []
  309     blen = 0
  310     for chunk in source:
  311         buf.append(chunk)
  312         blen += len(chunk)
chunk = 'summary', source = <generator object expand at 0xb4a4875c>
 /var/lib/python-support/python2.6/mercurial/templater.py in expand(self=<mercurial.templater.templater object at 0xb4a743ac>, t='error', **map={'error': 'repository /var/lib/mercurial-server/repos/creds101-research_materials/ not found'})
  146         while iters:
  147             try:
  148                 item = iters[0].next()
  149             except StopIteration:
  150                 iters.pop(0)
item = 'summary', iters = [<generator object _process at 0xb4a48edc>], ].next undefined
 /var/lib/python-support/python2.6/mercurial/templater.py in _process(self=<mercurial.templater.templater object at 0xb4a743ac>, tmpl='">#repo|escape#</a> / error\n</div>\n\n<div class="...t</i><br/>\n<br/>\n{error|escape}\n</div>\n\n#footer#\n', map={'error': 'repository /var/lib/mercurial-server/repos/creds101-research_materials/ not found'})
  120                 if not hasattr(v, '__iter__'):
  121                     raise SyntaxError(_("Error expanding '%s%%%s'")
  122                                       % (key, format))
  123                 lm = map.copy()
  124                 for i in v:
key = 'sessionvars', format = 'urlparameter'

<type 'exceptions.SyntaxError'>: Error expanding 'sessionvars%urlparameter'
      args = ("Error expanding 'sessionvars%urlparameter'",)
      filename = None
      lineno = None
      message = "Error expanding 'sessionvars%urlparameter'"
      msg = "Error expanding 'sessionvars%urlparameter'"
      offset = None
      print_file_and_line = None
      text = None