Re: Problem with comments
Andy Hird <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
Keywan Najafi Tonekabon writes:
> File "/usr/lib/python2.2/cgi.py", line 550, in __getitem__
> raise KeyError, key
> KeyError: 0
Looks like the comments plugin won't work with python2.2 - you'll need
to upgrade to python2.3 to use it.
cgi.FieldStorage isn't iterable in 2.2 - which decode_form in
comments.py is attempting to do. You could try modifying line 550 of
comments.py to be:
for key in d.keys():
but you'll possibly find other problems so it might not help in the long run.
Andy
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf