Re: tags.py problem
Tim Gray <tgray-kfNaf1zyJtt8UrSeD/[email protected]> Sun, 29 Aug 2010 13:41:46 -0400
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
On Aug 29, 2010 at 09:49 AM -0400, will kahn-greene wrote: > The "A server error occurred. Please contact the administrator." is the > error message coming from your web-server. There should be an error for > the web-server. Looking in that log will give you a better idea of what > the problem is. Doh, didn't think of that. It was a long error message which ended with a KeyError. Regardless, the updated tags.py fixed it. When I diffed the new and old tags.py, there was only a one line difference - changing an AttributeError to KeyError. All is good. > Alternatively, the pyblosxom.cgi file has a line like this towards the > top of the file: > > #import cgitb; cgitb.enable() > > This is somewhat covered in the Trouble-Shooting section: I think I had tried this, but the traceback might be getting masked since I'm running nginx as a reverse proxy to apache. Since the problem is fixed, I won't invest too much time into getting cgitb working right - I'll just check the error logs if need be. Thanks! pyblosxom is pretty cool. I realize I've more or less built up simple home-built version of it for just generating a static site. I think I'll be moving that site over to pyblosxom completely and then look into writing some plugins, etc. ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d