Re: Comments error

John Sullivan <john-/[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBBSQZ/CRwR0q6GALYRAmeWAJ4pB0jqdqlxV65SU/+EopKemd5gMACgrUnL
ZyE3lzDToAMCb1bsGrwGZzE=
=62zi
-----END PGP SIGNATURE-----
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.