Re: Flavours/templates

Chris G <[email protected]> Fri, 29 Jan 2010 11:36:37 +0000
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <20100129113637.GB22737@chris>
On Thu, Jan 28, 2010 at 06:03:13PM -0500, will kahn-greene wrote:
> What doesn't work about them?  Can you be more specific?
> 
Well I tried mainlyGreen.  First let me check that what I did to
install it was correct:-

    In the flavours directory of my newly installed (and working)
    blog I renamed the default html.flav dierctory to html.flav.original

    I unpacked mainlygreen002.tar.gz to produce a new html.flav
    directory in the flavours directory.

    I renamed the files inside the new html.flav directory to remove
    the .html suffix, I assume the suffix is there so that the files
    could be used directly in the entries tree.

When I run my blog I get the following error in Firefox:-

    A server error occurred.  Please contact the administrator.

The apache error log has:-
[Fri Jan 29 11:29:12 2010] [error] [client 192.168.1.4] Traceback (most recent call last):
[Fri Jan 29 11:29:12 2010] [error] [client 192.168.1.4]   File "/usr/lib/python2.6/wsgiref/handlers.py", line 93, in run
[Fri Jan 29 11:29:12 2010] [error] [client 192.168.1.4]     self.result = application(self.environ, self.start_response)
[Fri Jan 29 11:29:12 2010] [error] [client 192.168.1.4]   File "/usr/local/lib/python2.6/dist-packages/pyblosxom-1.5-py2.6.egg/Pyblosxom/pyblosxom.py", line 452, in __call__
[Fri Jan 29 11:29:12 2010] [error] [client 192.168.1.4]     return [self.run_pyblosxom(env, start_response)]
[Fri Jan 29 11:29:12 2010] [error] [client 192.168.1.4]   File "/usr/local/lib/python2.6/dist-packages/pyblosxom-1.5-py2.6.egg/Pyblosxom/pyblosxom.py", line 444, in run_pyblosxom
[Fri Jan 29 11:29:12 2010] [error] [client 192.168.1.4]     p.run()
[Fri Jan 29 11:29:12 2010] [error] [client 192.168.1.4]   File "/usr/local/lib/python2.6/dist-packages/pyblosxom-1.5-py2.6.egg/Pyblosxom/pyblosxom.py", line 169, in run
[Fri Jan 29 11:29:12 2010] [error] [client 192.168.1.4]     blosxom_handler(self._request)
[Fri Jan 29 11:29:12 2010] [error] [client 192.168.1.4]   File "/usr/local/lib/python2.6/dist-packages/pyblosxom-1.5-py2.6.egg/Pyblosxom/pyblosxom.py", line 928, in blosxom_handler
[Fri Jan 29 11:29:12 2010] [error] [client 192.168.1.4]     renderer.render()
[Fri Jan 29 11:29:12 2010] [error] [client 192.168.1.4]   File "/usr/local/lib/python2.6/dist-packages/pyblosxom-1.5-py2.6.egg/Pyblosxom/renderers/blosxom.py", line 307, in render
[Fri Jan 29 11:29:12 2010] [error] [client 192.168.1.4]     data['content-type'] = self.flavour['content_type'].strip()
[Fri Jan 29 11:29:12 2010] [error] [client 192.168.1.4] KeyError: 'content_type'


I'll try one of the others and report on that as well.

> 
> On 01/28/2010 05:28 PM, Chris G wrote:
> > I seem to remember I found these rather confusing before!  :-)
> >
> > I can't make any of the flavours at http://pyblosxom.sourceforge.net/registry/flavours/
> > work with pyblosxom 1.5, I suspect they're all rather old.
> >
> > Are there any newer ones around, like the one used on the pyblosxom
> > site itself for example?
> 

-- 
Chris Green


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com