Re: Random ProgrammingErrors when using PostgreSQL

2006-11-06 Thread orestis
Interesting. Shouldn't the debug view make absolutely sure that no exceptions/error are raised uncaught ? Or if there is now way to do something meaningful with the exception, at least present it in a meaningful way. I wonder what the devs have to say on this. I'd file an enhancement ticket, tho

Re: Random ProgrammingErrors when using PostgreSQL

2006-11-06 Thread Ivan Sagalaev
orestis wrote: > I wonder why does a cursor has to be involved for the debug page to be > shown... I'll look into it. Debug page shows repr()'s for many local objects for each level of the call stack. And repr()'s of models often do some queries to show readable representation. --~--~-

Re: Random ProgrammingErrors when using PostgreSQL

2006-11-05 Thread orestis
I wonder why does a cursor has to be involved for the debug page to be shown... I'll look into it. For the record, I managed to track down by trying to save my model from the interactive shell. It had to do with the postgres sequences not being adjusted after a manual insertion of objects with pr

Re: [Ticket Rejected] Random ProgrammingErrors when using PostgreSQL

2006-11-05 Thread Ivan Sagalaev
orestis wrote: > 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 i

[Ticket Rejected] Random ProgrammingErrors when using PostgreSQL

2006-11-05 Thread orestis
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()