Re: Re: Comments error
will guaraldi <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
The error the comments plugin is trying to log is "Couldn't read comments for entry". That seems like a permissions issue to me. Are you sure you have the permissions on the comments directory and all the comments files right? /will On Wed, 15 Sep 2004, 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 > -- whatever it is, you can find it at http://www.bluesock.org/~willg/ except Will--you can only see him in real life. ------------------------------------------------------- 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