thraxil.org:

Trouble brewing...

by Miguel Diaz Tue 12 Jul 2005 10:26:30

So…I was trying to respond to emile’s comment in my last post and it doesn’t seem to be working happily. Maybe I’m just impatient. After I added my comment it didn’t show up (either on the main page, or in the post itself)…so like a typical psycho, I tried several more times expecting something different to happen (e.g. the post to show up)…no love…then I login to the admin section and go to “Manage Comments” and all of them (4 or 5) were there…so I deleted the duplicates, but it still doesn’t seem to be showing up…what did I break?

<p>Update: Nevermind&#8230;I was just impatient&#8230;so now, I guess my next question is: Why the hell does it take so long for a comment to show up&#8230;I have <span class="caps">ADD</span>, I need the instant gratification&#8230;</p>
TAGS: thraxil bug

comments

Nevermind...I was just impatient...so, my next question is: Why the hell does it take so long for a comment to show up? I have ADD, I need instant gratification!

As a side note, the above was meant to be an update to the original post, however when I tried to do that I got the following:

Traceback (most recent call last): File "/var/www/thraxil/cgi-bin/thraxil/admin", line 5, in ? app.run() File "/usr/lib/python2.3/site-packages/cgi_app.py", line 137, in run res = method() File "/var/www/thraxil/cgi-bin/thraxil/thraxil_app.py", line 388, in edit_post node.modified = str(DateTime.now()) File "", line 1, in File "/usr/lib/python2.3/site-packages/sqlobject/main.py", line 737, in _SO_setValue dbValue = fromPython(value, self._SO_validatorState) File "/usr/lib/python2.3/site-packages/sqlobject/col.py", line 726, in fromPython (self.name, type(value)), value, state) InvalidField: expected a datetime in the DateTimeCol 'modified', got instead. Value: '2005-07-12 10:28:01.46'

check that your browser isn't caching too aggressively. when i post a comment, it takes about 2 seconds for it to publish it and then it's there.

After much playing around...i've come to the conclusion that firefox's cache management is not up to snuff...comments that I've deleted in the comment management section don't actually delete themselves from my view of the post until something else changes in that post (e.g. another comment gets added)...same with updates to the posts...they don't show up until something else changes. Maybe this has something to do with the thraxil code, but who knows...

Well, while firefox's cache management does leave something to be desired...it's not solely to blame...IE seems to have many of the same issues


formatting is with Markdown syntax. Comments are not displayed until they are approved by a moderator. Moderators will not approve unless the comment contributes value to the discussion.

namerequired
emailrequired
url
remember info?