Errors on folksonomy

Wei-Wei Guo <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
Dear all,

I'm trying to add tags for my blog. I tried folksonomy, but I got only
error. Is that a problem of folksonomy? Or do I need to set some further
somethings? Thank you!

Wei-Wei



The followings is related information:


System: pyblosxom-1.3.2, folksonomy-1.4


My settings in config.py:

py['load_plugins'] = [..., "folksonomy"]
py['pretext'] = '<span class="tags">Tags: '
py['posttext'] = '</span>'
py['tagsep'] = ', '
py['tag_url'] = 'http://localhost/strking/tags/'
#py['tag_url_display'] = 'http://mysite/tags' # defaults to tag_url
#py['ignore_tags'] = []


My settings in flavour:

  <div id="tagcloud" class="sidebar">
    $tagcloud
  </div>


The message displayed in firefox is:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 root@localhost and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the
request.</p>
<hr>
<address>Apache Server at localhost Port 80</address>
</body></html>


Error messages in apache2/error.log

[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]   File
"/var/www/localhost/cgi-bin/pyblosxom/pyblosxom.cgi", line 82, in
?
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1] p.run()
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]   File
"/usr/lib/python2.4/site-packages/Pyblosxom/pyblosxom.py", line 166, in run
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]
blosxom_handler(self._request)
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]   File
"/usr/lib/python2.4/site-packages/Pyblosxom/pyblosxom.py", line 856, in
blosxom_handler
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1] renderer.render()
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]   File
"/usr/lib/python2.4/site-packages/Pyblosxom/renderers/blosxom.py", line
320, in render
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1] self._processContent()
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]   File
"/usr/lib/python2.4/site-packages/Pyblosxom/renderers/blosxom.py", line
270, in _processContent
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1] output,
current_date = self._processEntry(entry, current_date)
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]   File
"/usr/lib/python2.4/site-packages/Pyblosxom/renderers/blosxom.py", line
235, in _processEntry
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]
self.outputTemplate(output, entry, 'story', override=1)
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]   File
"/usr/lib/python2.4/site-packages/Pyblosxom/renderers/blosxom.py", line
381, in outputTemplate
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1] args =
self._run_callback(template_name, { "entry": entry, "template": template })
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]   File
"/usr/lib/python2.4/site-packages/Pyblosxom/renderers/blosxom.py", line
404, in _run_callback
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1] defaultfunc=lambda
x:x)
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]   File
"/usr/lib/python2.4/site-packages/Pyblosxom/tools.py", line 551, in
run_callback
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1] output = func(input)
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]   File
"/home/wwguo/.blosxom.d/folksonomy.py", line 216, in cb_story
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1] relatedtags =
getRelatedTags( entry, data, config )
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]   File
"/home/wwguo/.blosxom.d/folksonomy.py", line 324, in getRelatedTags
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1] ignoretags =
config['ignore_tags']
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1] KeyError
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1] :
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1] 'ignore_tags'
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1]
[Sat Jul 14 01:43:13 2007] [error] [client 127.0.0.1] Premature end of
script headers: pyblosxom.cgi

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
pyblosxom-users mailing list
pyblosxom-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/pyblosxom-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.