| <type 'exceptions.TypeError'> | Python 2.7.3: /usr/bin/python Sat Oct 25 22:18:40 2025 |
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 |
| 2733 else: |
| 2734 phash = None |
| => 2735 do_annotate(fname, phash, "shade") |
| 2736 |
| 2737 elif action == "shortlog": |
| do_annotate = <function do_annotate>, fname = 'minidarcs.png', phash = None |
| /domain/repo.kepibu.org/web/htdocs/darcsweb/darcsweb.cgi in do_annotate(fname='minidarcs.png', 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 = 'minidarcs.png', phash = None |
| /domain/repo.kepibu.org/web/htdocs/darcsweb/darcsweb.cgi in get_annotate(fname='minidarcs.png', 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 "minidarcs.png"' |
| /domain/repo.kepibu.org/web/htdocs/darcsweb/darcsweb.cgi in parse_annotate(src=<open file '<fdopen>', mode 'rb'>) |
| 1000 s = "" |
| 1001 for i in src: |
| => 1002 s += fixu8(i).replace('', '^L') |
| 1003 |
| 1004 dom = xml.dom.minidom.parseString(s) |
| s = '1: Fri Jul 1 02:55:14 UTC 2005 Alberto Bertogli <albertogli@telpin.com.ar>\n * Initial import.\n\n', global fixu8 = <function fixu8>, i = 'albertogli@telpin.co #1 | \x89PNG\r \n', ).replace = <built-in method replace of str object> |
| /domain/repo.kepibu.org/web/htdocs/darcsweb/darcsweb.cgi in fixu8(s='albertogli@telpin.co #1 | \x89PNG\r \n') |
| 106 n = [] |
| 107 for i in s.split('\n'): |
| => 108 n.append(_fixu8(i)) |
| 109 return '\n'.join(n) |
| 110 |
| n = [], n.append = <built-in method append of list object>, global _fixu8 = <function _fixu8>, i = 'albertogli@telpin.co #1 | \x89PNG\r ' |
| /domain/repo.kepibu.org/web/htdocs/darcsweb/darcsweb.cgi in _fixu8(s='albertogli@telpin.co #1 | \x89PNG\r ') |
| 117 except UnicodeDecodeError: |
| 118 pass |
| => 119 raise UnicodeDecodeError, config.repoencoding |
| 120 |
| 121 |
| builtin UnicodeDecodeError = <type 'exceptions.UnicodeDecodeError'>, global config = <class __main__.config>, config.repoencoding = ('utf8',) |
<type 'exceptions.TypeError'>: function takes exactly 5 arguments (1 given)
args =
('function takes exactly 5 arguments (1 given)',)
message =
'function takes exactly 5 arguments (1 given)'