Re: Re: Comments error
Ted Leung <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
Check the protections of your comments directory and any files/directories underneath it. Ted On Sep 15, 2004, at 8:20 PM, John Sullivan wrote: > will guaraldi <[email protected]> writes: > >> On Mon, 13 Sep 2004, John Sullivan wrote: >> >>> will guaraldi <[email protected]> writes: >>>> What version of PyBlosxom are you using? What entryparser and >>>> plugins do you have running? >>>> >>> >>> I have not done anything to specify an entryparser. Maybe I should? >>> But I don't have any problems with the metadata properties being >>> filled in as far as the permalink, google this, etc. links under >>> each story go---and I didn't have to manually add properties for >>> those to work. >>> >>> Plugins: pyarchives, comments, booklist, plugininfo, pystaticfile, >>> pycategories, pycalendar. >>> >>> pyblosxom 1.0.0. >> >> I just wanted to know if you had your own entryparser because maybe it >> wasn't generating things correctly. >> >> I really have no idea what the issue might be. I think your best bet >> is to find out if it's dumping errors to the apache logs. >> > > It is dumping errors to the apache logs. Here are the errors : > > Traceback (most recent call last): > File "index.cgi", line 54, in ? > p.run() > File > "/arpa/hm/j/johnsu01/usr/src/pyblosxom-1.0.0/Pyblosxom/pyblosxom.py", > line 89, in run > blosxom_handler(self._request) > File > "/arpa/hm/j/johnsu01/usr/src/pyblosxom-1.0.0/Pyblosxom/pyblosxom.py", > line 459, in blosxom_handler > renderer.render() > File > "/arpa/hm/j/johnsu01/usr/src/pyblosxom-1.0.0/Pyblosxom/renderers/ > blosxom.py", line 217, in render > self._processContent() > File > "/arpa/hm/j/johnsu01/usr/src/pyblosxom-1.0.0/Pyblosxom/renderers/ > blosxom.py", line 182, in _processContent > output, current_date = self._processEntry(entry, current_date) > File > "/arpa/hm/j/johnsu01/usr/src/pyblosxom-1.0.0/Pyblosxom/renderers/ > blosxom.py", line 143, in _processEntry > args = self._run_callback("story_end", { "entry": entry, > "template": template }) > File > "/arpa/hm/j/johnsu01/usr/src/pyblosxom-1.0.0/Pyblosxom/renderers/ > blosxom.py", line 306, in _run_callback > defaultfunc=lambda x:x) > File > "/arpa/hm/j/johnsu01/usr/src/pyblosxom-1.0.0/Pyblosxom/tools.py", line > 415, in run_callback > output = mem(input) > File "/arpa/hm/j/johnsu01/html/plugins/comments.py", line 447, in > cb_story_end > entry['comments'] = readComments(entry, config) > File "/arpa/hm/j/johnsu01/html/plugins/comments.py", line 94, in > readComments > tools.log("Couldn't read comments for entry: ",entry) > AttributeError: 'module' object has no attribute 'log' > >> You should also grab my debug plugin. It allows you to switch the >> renderer to the debug renderer (which is _really_ useful) by tossing a >> debug=yes at the end of the querystring. That'll show you all the >> values for everything. >> > > I did this, and nothing jumped out at me. It had the correct values > for the entry, and the text, and all of the filenames, from what I > could tell. I compared the debug info for a broken page to the info > for a working page, and they seemed alike. > > Further suggestions? > > -johnsu01 > ---- Ted Leung Blog: <http://www.sauria.com/blog> PGP Fingerprint: 1003 7870 251F FA71 A59A CEE3 BEBA 2B87 F5FC 4B42 This message is: [ ] bloggable [x] ask first [ ] private ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php