--> -->
<type 'exceptions.TypeError'> | Python 2.7.3: /usr/bin/python Sat May 18 06:27:46 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.
/domain/repo.kepibu.org/web/htdocs/darcsweb/darcsweb.cgi in () |
2719 else:
|
2720 phash = None
|
=> 2721 do_annotate_plain(fname, phash)
|
2722 elif action == "annotate_zebra":
|
2723 fname = filter_file(form["f"].value)
|
do_annotate_plain = <function do_annotate_plain>, fname = '/minidarcs.png', phash = '20050701025514-d5d94-b933684dda77c9ff8283763fb5b4f0cdd3b04a88.gz' |
/domain/repo.kepibu.org/web/htdocs/darcsweb/darcsweb.cgi in do_annotate_plain(fname='/minidarcs.png', phash='20050701025514-d5d94-b933684dda77c9ff8283763fb5b4f0cdd3b04a88.gz') |
2045 def do_annotate_plain(fname, phash):
|
2046 print_plain_header()
|
=> 2047 ann = get_annotate(fname, phash)
|
2048 for l in ann.lines:
|
2049 sys.stdout.write(l.text)
|
ann undefined, global get_annotate = <function get_annotate>, fname = '/minidarcs.png', phash = '20050701025514-d5d94-b933684dda77c9ff8283763fb5b4f0cdd3b04a88.gz' |
/domain/repo.kepibu.org/web/htdocs/darcsweb/darcsweb.cgi in get_annotate(fname='minidarcs.png', hash='20050701025514-d5d94-b933684dda77c9ff8283763fb5b4f0cdd3b04a88.gz') |
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 --match="hash 200507010255...7c9ff8283763fb5b4f0cdd3b04a88.gz" "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)'