| KeyError | Python 2.3.5: /usr/bin/python Tue May 21 12:43:12 2013 |
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/2010/pdavou/public_html/index.cgi |
| 127 if tag_dict.has_key(form.getvalue("tagsearch")): |
| 128 for post in tag_dict[form.getvalue("tagsearch")]: |
| 129 content+=posts[post] |
| 130 elif "page" in form: |
| 131 page = int(form.getvalue("page"))-1 |
| content = '', posts = {-1: '<h2><a href="index.cgi?post=pyBlag">pyBlag</a></...n be read later (but which address is which?)</p>', 0: '<h2><a href="index.cgi?post=Hello World!">Hello ...ying a few files into your cgi-bin directory.</p>', 1: '<h2><a href="index.cgi?post=Second Post">Second ...mely unlikely.</p><p>Back to the text editor.</p>', 2: '<h2><a href="index.cgi?post=Third Post">Third Po... href="index.cgi?post=Third Post">[Read More]</a>', 3: '<h2><a href="index.cgi?post=Update to pyBlag">Up..."index.cgi?post=Update to pyBlag">[Read More]</a>', 4: '<h2><a href="index.cgi?post=Pages, Excerpts, and...?post=Pages, Excerpts, and Links">[Read More]</a>', 5: '<h2><a href="index.cgi?post=April Zzzzzzz">April...ef="index.cgi?post=April Zzzzzzz">[Read More]</a>', 7: '<h2><a href="index.cgi?post=Test Post">Test Post...ways check your forms before submitting them.</p>', 8: '<h2><a href="index.cgi?post=Another Test Post">A...p to, and about the new extensions to pyBlag!</p>', 9: '<h2><a href="index.cgi?post=I\'m Back">I\'m Back</...<a href="index.cgi?post=I\'m Back">[Read More]</a>', ...}, post = 6 |
KeyError: 6
args =
(6,)