Re: PyBlosxom installation issues

will <[email protected]> Mon, 28 Apr 2008 18:12:59 -0400
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
J O wrote:
> Hello,
> 
> As I am trying to install PyBlosxom on my rental server, I got a problem or two.
> 
> After I searched quite a bit of information on the Net including the
> pyblosxom sourceforge site
> as well as other sites containing PyBlosxom info, I decided to ask for
> help to this mailing list
> as a last resort.
> 
> First, it seems the pyblosxom verification/installation script is half
> way sucessful.
 > [snip]

It only tests for a small subset of possible problems.  It's improved in 
trunk, but it's still definitely a work in progress.


> Output of script follows:
> =====================================================
> Traceback (most recent call last):
>   File "/virtual/tm256/public_html/python/blog/pyblosxom.cgi", line 95, in ?
>     p.run()
>   File "/virtual/tm256/public_html/python/blog/Pyblosxom/pyblosxom.py",
> line 203, in run
>     blosxom_handler(self._request)
>   File "/virtual/tm256/public_html/python/blog/Pyblosxom/pyblosxom.py",
> line 1047, in blosxom_handler
>     renderer.render()
>   File "/virtual/tm256/public_html/python/blog/Pyblosxom/renderers/blosxom.py",
> line 313, in render
>     self.flavour = self._getflavour(data.get("flavour", "html"))
>   File "/virtual/tm256/public_html/python/blog/Pyblosxom/renderers/blosxom.py",
> line 168, in _getflavour
>     new_files = get_flavour_from_dir(flavourdir, taste)
>   File "/virtual/tm256/public_html/python/blog/Pyblosxom/renderers/blosxom.py",
> line 82, in get_flavour_from_dir
>     if os.path.isdir(path + os.sep + taste + ".flav"):
> TypeError: can only concatenate list (not "str") to list

That looks to me like you might have set the flavourdir property in an 
interesting way.  What did you set the flavourdir property to in your 
config.py file?


> Secondly, maybe related to the above error, the installation script
> log seems to me somewhat contradictory.
> Please take a look at the log below:
> -----------
> [snip]

The codebase thing is probably a bug in PyBlosxom.  The verification is 
completing successfully--it's not aborting in the middle.

If you hadn't set codebase correctly, then the stack trace you'd get 
back from requesting pyblosxom.cgi would end in not being able to find 
the Pyblosxom package.

Let us know what you set the flavourdir property to in your config.py 
file.  I suspect that's where the problem lies.

/will

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone