Re: finishing up PyBlosxom 1.5

Sebastian Spaeth <[email protected]> Tue, 05 Jan 2010 12:00:27 +0100
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
On 01/05/10 10:07, Sebastian Spaeth wrote:
> Having installed 1.5trunk now. It seems to run fine so far. I still get
> comment plugin trouble when submitting a comment with current trunk:
>
> File "/home/pyblosxom/plugins/comments.py", line 992, in cb_story_end
> comment_entry_base[key + '_escaped'] = entry[key + '_escaped']
> KeyError: 'bl_type_file_escaped'

Last mail on this topic, I promise. I commented out lines 992,993 and 
posting comments works flawlessly now.

So the problem seems to be that plugins/comments.py creates a 
"bl_type_file" key, but no _escaped and _urlencoded variants (which 
would actually be quite useless anyway). What is the best way to fix 
this properly?

spaetz

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev