--> -->
IndexError |
Python 3.12.2: /usr/pkg/bin/python3.12 Mon Dec 23 09:27:42 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.
/home/dholland/public_html/broken/index.cgi in <module> |
1728 |
1729 # end main |
1730 |
1731 |
=> 1732 main() |
main = <function main> |
/home/dholland/public_html/broken/index.cgi in main() |
1678 fail(f, "Invalid package") |
1679 return |
=> 1680 pkg_page(f, showkey, sortkey, pkgpath, pkg) |
1681 return |
1682 |
global pkg_page = <function pkg_page>, f = <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, showkey = <__main__.filter object>, sortkey = 'pkbs', pkgpath = 'games/crafty-book-small', pkg = 'crafty-book-small' |
/home/dholland/public_html/broken/index.cgi in pkg_page(f=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, showkey=<__main__.filter object>, sortkey='pkbs', pkgpath='games/crafty-book-small', pkg='crafty-book-small') |
1045 database.open() |
1046 pkg_head(f) |
=> 1047 pkg_body(f, showkey, sortkey, pkgpath, pkg) |
1048 pkg_foot(f) |
1049 database.close() |
global pkg_body = <function pkg_body>, f = <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, showkey = <__main__.filter object>, sortkey = 'pkbs', pkgpath = 'games/crafty-book-small', pkg = 'crafty-book-small' |
/home/dholland/public_html/broken/index.cgi in pkg_body(f=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, showkey=<__main__.filter object>, sortkey='pkbs', pkgpath='games/crafty-book-small', pkg='crafty-book-small') |
932 f.write("</p>\n") |
933 else: |
=> 934 (issue, desc, notes, brokein, seenpkgs) = results[0] |
935 f.write("Open issue <a href=\"%s\">%d</a> (broke in %s)<br>\n" % ( |
936 mkurl_issue(showkey, sortkey, issue), issue, brokein)) |
issue undefined, desc undefined, notes undefined, brokein undefined, seenpkgs undefined, results = [] |
IndexError: list index out of range
add_note =
<built-in method add_note of IndexError object>
args =
('list index out of range',)
with_traceback =
<built-in method with_traceback of IndexError object>