PyBlosxom installation issues

"J O" <[email protected]> Tue, 29 Apr 2008 01:17:06 +0900
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
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 sucessfull but not
complete yet as I run it on my browser (Firefox 2.0.0.14) since I get
error messages as follows:
----

argv[0] =  'cgiwrapd'
Executing  '/virtual/tm256/public_html/python/blog/pyblosxom.cgi'
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

----
At least, I found a related similar message/inquiry a few years old in
the mailing list archive,
but there was not an reply/answer to that. I guess it has something to
do with the flavour?

Do I have to do something with the flavour setting other than what was
mentioned in
install_cgi.txt ?

(I have not done anything yet with flavour, plugins, or anything. So
far just plain installation is all I've done.)


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

bash-2.05a$ ./pyblosxom.cgi
Trying to import the config module....
PyBlosxom version: 1.4.3 01/10/2008
Welcome to PyBlosxom's installation verification system.
------
]] printing diagnostics [[
pyblosxom:   1.4.3 01/10/2008
sys.version: 2.3 (#1, May 28 2004, 02:09:11)  [GCC 2.96 20000731 (Red Hat Linux
7.3 2.96-113)]
os.name:     posix
codebase:    ['/virtual/tm256/public_html/python/blog']   <====
codebase recognized here
------
]] checking config file [[
config has 22 properties set.


You're missing optional properties.  These are not required,
but some of them may interest you.  Refer to the documentation
for more information.

   missing optional property: 'renderer'
   missing optional property: 'cacheDriver'
   missing optional property: 'cacheConfig'
   missing optional property: 'log_file'
   missing optional property: 'log_level'
   missing optional property: 'logdir'

These are properties PyBlosxom doesn't know about.  They
could be used by plugins or could be ones you've added.
Remove them if you know they're not used.

   i don't know about: 'codebase'            <==== codebase no longer
ecognized here?
   i don't know about: 'ignore_directories'
   i don't know about: 'render'
   i don't know about: 'stdoutput'

PASS: config file is fine.
------
]] checking datadir [[
PASS: datadir is there.
      Note: this does NOT check whether your webserver has
      permissions to view files therein!
------
Now we're going to verify your plugin configuration.
bash-2.05a$
------

Well, I think there should be subsequent installation tasks, but it
seems to have aborted
after the last information message about the plugin configuration.

I did specified the codebase and it seems recognized by the
installation script at first,
then secondly, the script log says, " i don't know about: 'codebase'."
 What's going on?

In case, here is the actual Pyblosxom installation not functional yet...

 -> http://www.tm256.biz/python/blog/pyblosxom.cgi


Any help or advice is really appreciated so that I can finish this
installation and start blogging
with PyBlosxom!

Junichi
[email protected]

-------------------------------------------------------------------------
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