Re: Outdated plugins ?
john <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Steven,
Steven Armstrong a écrit :
> I've attached a version of showmore.py which should work with a recent
> pyblosxom installation.
>
Yep, it works perfectly. Thanks a lot, for the modification and the
associated lesson; ;-)
>
> pylist.py:
>
> Maybe it'll work if you remove all import statements and the
> cb_filelist function and then just use the template variables
> $xyz-list in your flavour-template (assuming your list is named xyz).
I've done all this and now it returns
/Library/WebServer/CGI-Executables/plugins/pylists.py in
*fill_list*(self=<pylists.PyblosxomList instance>,
file='/Library/Webserver/Documents/blog/books.dat')
90 self._list = []
91 for line in lines:
92 if line and line[1]!="#":
93 self._list.append(line.split("::"))
94
*line* = '\n'
*IndexError*: string index out of range
args = ('string index out of range',)
using the default exemple of books and links provided in the script.
I don't understand the last line of the stacktrace : line='\n'. I've
verified the books.dat and links.dat files.
For books.dat, I'm using
category1::title1::author1
category2::title2::author2
category3::title3::author1
category1::title4::author1
as a test.
Thanks.
John
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php