Re: PyBlosxom and Pylons
"Will Guaraldi" <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
I haven't tried using PyBlosxom with Pylons and I'm not sure how the two could be joined. I can look into it, but I'm pretty busy at the moment and won't be able to do so for a week or so. However, it looks like the specific issue you've got below is from passing in a configini to the PyBlosxomWSGIApp() that isn't a valid dict. Try doing something like this: import config pyblosxom = Pyblosxom.pyblosxom.PyBlosxomWSGIApp(config.py) and then doing whatever it is you're doing there. If that doesn't help, send us some code so we have something better to mull over. Hope that helps! /will On 8/6/07, Liz Heier <liz.heier-dlHuk7iUKuvSUeElwK9/[email protected]> wrote: > > I'm attempting to use PyBlosxom 1.4.1 as a WSGI app inside of Pylons > 0.9.6rc2 with Python 2.5.1 and I'm not having much luck. I'm new to both > Pylons and PyBlosxom and I can't quite figure out the best way to use them > together. I've tried a couple different methods – installing PyBlosxom as > middleware, creating a controller and calling PyBlosxomWSGIApp from there – > but both methods end with the same error: > > Module Pyblosxom.pyblosxom:462 in __init__ > > >> for key, value in configini.items() > > <type 'exceptions.AttributeError'>: 'BlogController' object has no attribute > 'items' > > I should also mention that I'm new to Python as well. I'm really at a loss > so any guidance would be appreciated. > > Liz ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/