I got this ticket rejected from Akismet:

This is not related to #852, as the errors are thrown when running the
application normally, not the shell.

The errors I get are:
{{{
  File "/usr/lib/python2.4/site-packages/django/db/models/base.py",
line 166, in save
    cursor = connection.cursor()
  File
"/usr/lib/python2.4/site-packages/django/db/backends/postgresql/base.py",
line 46, in cursor
    cursor.execute("SET TIME ZONE %s", [settings.TIME_ZONE])
ProgrammingError: ERROR:  current transaction is aborted, commands
ignored until end of transaction block

SET TIME ZONE 'Europe/Athens'
}}}

I have tried issuing the statement SET TIME ZONE 'Europe/Athens' using
psql and it runs fine. So, it seems that the problem isn't related to
the time zone, rather the statement before the SET TIME ZONE is to
blame.

However, this is completely random. Most of the time everything runs
fine, then this will pop-up. hit refresh and everything is OK. I can't
track this down. This has happened on a project using mostly flat
pages, on requests that didn't save to the database, and on projects
using save.

I'm running postgres 7.4.13 psycopg 1.1.21, Centos 4.4


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to