<type 'exceptions.IndexError'> | Python 2.7.16: /usr/bin/python Fri Apr 19 13:50:01 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>() |
2545 elif action == "commit": |
2546 phash = filter_hash(form["h"].value) |
=> 2547 do_commit(phash) |
2548 elif action == "commitdiff": |
2549 phash = filter_hash(form["h"].value) |
do_commit = <function do_commit>, phash = '20100410175528-b13e5-e94e6cfcc6556cdde0df539ee436291fd0b025d7' |
/var/www/darcsweb/code/cgi-bin/darcsweb.cgi in do_commit(phash='20100410175528-b13e5-e94e6cfcc6556cdde0df539ee436291fd0b025d7') |
1688 print_header() |
1689 print_navbar(h = phash) |
=> 1690 p = get_patch(phash) |
1691 |
1692 print """ |
p undefined, global get_patch = <function get_patch>, phash = '20100410175528-b13e5-e94e6cfcc6556cdde0df539ee436291fd0b025d7' |
/var/www/darcsweb/code/cgi-bin/darcsweb.cgi in get_patch(hash='20100410175528-b13e5-e94e6cfcc6556cdde0df539ee436291fd0b025d7') |
914 def get_patch(hash): |
915 handler = get_changes_handler('-s --match "hash %s"' % hash) |
=> 916 patch = handler.db[handler.list[0]] |
917 return patch |
918 |
patch undefined, handler = <__main__.BuildPatchList instance>, handler.db = {}, handler.list = [] |
<type 'exceptions.IndexError'>: list index out of range
args =
('list index out of range',)
message =
'list index out of range'