webfront with Blosxom 1.5

Bill Purcell <[email protected]> Sun, 19 Dec 2010 18:03:07 -0600
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <20101220000307.GA22270@lloyd>
I'm not having much luck with webfont and Pyblosxom 1.5.

[05:37:22] ~$ pyblosxom-cmd --version
pyblosxom-cmd version 1.5rc2 20100803

When I browse to http://whpiv.net/blog/blog.cgi?edit=entry I get the
following in my error.log

[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1] Traceback (most recent call last):
[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1]   File "/usr/lib/python2.6/wsgiref/handlers.py", line 93, in run
[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1]     self.result = application(self.environ, self.start_response)
[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1]   File "/usr/local/lib/python2.6/dist-packages/pyblosxom-1.5rc2-py2.6.egg/Pyblosxom/pyblosxom.py", line 458, in __call__
[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1]     return [self.run_pyblosxom(env, start_response)]
[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1]   File "/usr/local/lib/python2.6/dist-packages/pyblosxom-1.5rc2-py2.6.egg/Pyblosxom/pyblosxom.py", line 450, in run_pyblosxom
[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1]     p.run()
[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1]   File "/usr/local/lib/python2.6/dist-packages/pyblosxom-1.5rc2-py2.6.egg/Pyblosxom/pyblosxom.py", line 173, in run
[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1]     donefunc=lambda x:x)
[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1]   File "/usr/local/lib/python2.6/dist-packages/pyblosxom-1.5rc2-py2.6.egg/Pyblosxom/tools.py", line 776, in run_callback
[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1]     output = func(input)
[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1]   File "/share/www/whpiv.net/blog/plugins/webfront/__init__.py", line 50, in cb_handle
[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1]     webfront.handle()
[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1]   File "/share/www/whpiv.net/blog/plugins/webfront/webfront.py", line 275, in handle
[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1]     self.render()
[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1]   File "/share/www/whpiv.net/blog/plugins/webfront/webfront.py", line 336, in render
[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1]     self.template.render()
[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1]   File "/share/www/whpiv.net/blog/plugins/webfront/template.py", line 170, in render
[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1]     parsed = tools.parse(self.request, encoding,  self, self.core)
[Sun Dec 19 17:27:09 2010] [error] [client 192.168.1.1] TypeError: parse() takes exactly 3 arguments (4 given)

I've tried playing around fixing it but it wasn't as simple as only
passing in three of the arguments.  Anyway, has anyone had webfront
working with Pyblosxom 1.5?

Thank,
Bill

 

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d