Python 2.6.9: /oj/bin/python Wed Apr 21 09:53:18 2021 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /oj/lib/python2.6/site-packages/flup-1.0.3.dev_20110405-py2.6.egg/flup/server/fcgi_base.py in run(self=) 572 573 try: 574 protocolStatus, appStatus = self.server.handler(self) 575 except: 576 traceback.print_exc(file=self.stderr) protocolStatus undefined, appStatus undefined, self = , self.server = , self.server.handler = > /oj/lib/python2.6/site-packages/flup-1.0.3.dev_20110405-py2.6.egg/flup/server/fcgi_base.py in handler(self=, req=) 1159 result = self.application(environ, start_response) 1160 try: 1161 for data in result: 1162 if data: 1163 write(data) data undefined, result = /oj/lib/python2.6/site-packages/mercurial/util.py in increasingchunks(source=, min=1024, max=65536) 360 buf = [] 361 blen = 0 362 for chunk in source: 363 buf.append(chunk) 364 blen += len(chunk) chunk = ' bookmark history\n Mercurial SCM\n ', source = /oj/lib/python2.6/site-packages/mercurial/templater.py in _flatten(thing=) 394 yield str(i) 395 elif i is not None: 396 for j in _flatten(i): 397 yield j 398 j = '"?>\n', global _flatten = , i = /oj/lib/python2.6/site-packages/mercurial/templater.py in _flatten(thing=) 387 yield str(thing) 388 else: 389 for i in thing: 390 if isinstance(i, str): 391 yield i i undefined, thing = /oj/lib/python2.6/site-packages/mercurial/templater.py in runmap(context=, mapping={'entries': >, 'header': ['\n'], 'latestentry': >, 'node': 'd40fd22345537dc5e2bee14e5f542cc63647745c'}, data='latestentry') 188 lm = mapping.copy() 189 190 for i in d: 191 if isinstance(i, dict): 192 lm.update(i) i undefined, d = /oj/lib/python/hgweb/webcommands.py in entries(latestonly=True, **map={'entries': >, 'header': ['\n'], 'latestentry': >, 'node': 'd40fd22345537dc5e2bee14e5f542cc63647745c'}) 520 def entries(latestonly, **map): 521 if latestonly: 522 t = [min(i)] 523 else: 524 t = sorted(i) t undefined, builtin min = , i = [] : min() arg is an empty sequence args = ('min() arg is an empty sequence',) message = 'min() arg is an empty sequence'