Re: Small paster related bug and its fix.
will <[email protected]> Sun, 05 Apr 2009 09:38:30 -0400
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
Whoops! Looks like you found one of the things that was fixed in the
old trunk that hadn't gotten fixed in the new trunk yet.
Thanks for the patch and the heads-up! I committed it in r1307.
I'm psyched you're running trunk! I haven't started using it on my blog
yet, so I'm not wholly sure how stable it is. If you bump into anything
else, let me know.
/will
Erich Heine wrote:
> Hi all,
>
> I literally just signed up for this list, and I hope I'm not violating
> any protocols here...
>
> I had a small problem when trying to get pyblosxom running with paster
> serve. I would get a KeyError for config options set only in the
> blog.ini file (my config.py was only: py = {} ). Patch to fix this
> (against trunk is included below).
>
> A quick description is that the app_factory was doing a bunch of config
> setup, and then passing the resulting dict to PyBlosxomWSGIApp as a
> positional parameter. The problem is that class wants env as the first
> positional parameter, not config data (that keyword is third...).
>
> Anyway, hope this helps.
>
> Regards,
> Erich
------------------------------------------------------------------------------