Re: Still having issues with booklist plugin

Brett Kelly <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
__version__ = "1.5 (07 May, 2004)"  <-- booklist

as far as comments, i installed those about 6 weeks ago or so, 
Aug  2  is the modified date.  Sorry :(


On Tue, 14 Sep 2004 16:42:15 -0500 (CDT), will guaraldi
<[email protected]> wrote:
> 
> Mmm...  that's unhappiness with the comments plugin.  The comments plugin
> is looking for "absolute_path" on the entry object that the booklist
> plugin is creating.  And that's something that the booklist doesn't
> provide.
> 
> What version of booklist and what version of comments are you running?
> I'm thinking that I'm running later versions of both comments and booklist
> and I might have fixed the issue in one or the other.  I know I'm running
> a slightly different version of the comments plugin because I hacked in
> some spam-reduction code.
> 
> The latest version of booklist is 1.5 (May 7, 2004).
> The version of comments I'm running is ...  well, it's not versioned.  So
> it's hard to tell.  Bleh.
> 
> /will
> 
> 
> 
> 
> On Tue, 14 Sep 2004, Brett Kelly wrote:
> >
> > 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'
> 



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