Re: Still having issues with booklist plugin

Brett Kelly <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
Thanks for the reply, will

here's the stack trace:

Traceback (most recent call last):
  File "/inkedmn.com/pyblosxom.cgi", line 54, in ?
    p.run()
  File "/usr/lib/python2.3/site-packages/Pyblosxom/pyblosxom.py", line
89, in run
    blosxom_handler(self._request)
  File "/usr/lib/python2.3/site-packages/Pyblosxom/pyblosxom.py", line
459, in blosxom_handler
    renderer.render()
  File "/usr/lib/python2.3/site-packages/Pyblosxom/renderers/blosxom.py",
line 217, in render
    self._processContent()
  File "/usr/lib/python2.3/site-packages/Pyblosxom/renderers/blosxom.py",
line 182, in _processContent
    output, current_date = self._processEntry(entry, current_date)
  File "/usr/lib/python2.3/site-packages/Pyblosxom/renderers/blosxom.py",
line 143, in _processEntry
    args = self._run_callback("story_end", { "entry": entry,
"template": template })
  File "/usr/lib/python2.3/site-packages/Pyblosxom/renderers/blosxom.py",
line 306, in _run_callback
    defaultfunc=lambda x:x)
  File "/usr/lib/python2.3/site-packages/Pyblosxom/tools.py", line
415, in run_callback
    output = mem(input)
  File "/inkedmn.com/data/plugins/comments.py", line 447, in cb_story_end
    entry['comments'] = readComments(entry, config)
  File "/inkedmn.com/data/plugins/comments.py", line 87, in readComments
    filelist = glob.glob(cmtExpr(entry, config))
  File "/inkedmn.com/data/plugins/comments.py", line 123, in cmtExpr
    cmtDir = os.path.join(config['comment_dir'],entry['absolute_path'])
  File "/usr/lib/python2.3/posixpath.py", line 60, in join
    if b.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'



On Tue, 14 Sep 2004 16:23:00 -0500 (CDT), will guaraldi
<[email protected]> wrote:
> 
> If you look at the source, it's not showing your foot.html tag.  So I
> suspect it's dying somewhere.  Check the apache error logs (assuming
> you're running apache) to see what the problem is.
> 
> Alternatively, at the top of pyblosxom.cgi is a line that's commented out
> along the lines of:
> 
> #import cgitb; cgitb.enable()
> 
> If you uncomment that line, when PyBlosxom dies, it'll print up a very
> pretty stack trace and help you diagnose your problems.
> 
> Anyhow, it could be a bug in booklist--it's hard to tell without seeing
> the stack trace.
> 
> Hope that helps--
> /will
> 
> 
> 
> 
> On Mon, 13 Sep 2004, Brett Kelly wrote:
> >
> > Hey guys,
> >
> > I've got the booklist plugin installed and (i believe) configured
> > properly.  I've got my booklist.html (which is just a copy of will's
> > pretty much) in my datadir, along with books.dat.  The "preview" part
> > works fine (that shows the top 5 books), but when I click the "more..."
> > link, I just get a blank page:
> >
> > http://inkedmn.com:8000/pyblosxom.cgi/booklist
> >
> > can anybody tell me what I'm doing wrong?
> >
> > Thanks!
> 



-- 
Brett Kelly
http://inkedmn.com:8000


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
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.