Dieter Maurer wrote:
[EMAIL PROTECTED] wrote at 2005-11-23 06:51 -0800:
...
I regret that I have not yet learned how to "add logging" to
ZPsycopgDA, and will appreciate learning how to do so.
It looks like this ("ZPsycopgDA/db.py"):
from zLOG import LOG, ERROR, INFO, PROBLEM
...
LO
[EMAIL PROTECTED] wrote at 2005-11-23 06:51 -0800:
> ...
>I regret that I have not yet learned how to "add logging" to
>ZPsycopgDA, and will appreciate learning how to do so.
It looks like this ("ZPsycopgDA/db.py"):
from zLOG import LOG, ERROR, INFO, PROBLEM
...
LOG('Postgres', INFO, sum
On Tue, 22 Nov 2005 20:39:11 +0100
Dieter Maurer <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote at 2005-11-22 03:27 -0800:
> >Problem:
> > Database inserts that worked previously are now failing,
> > without raising exceptions!
>
> I expect that something in your application catches
Dieter Maurer <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote at 2005-11-22 03:27 -0800:
> >Problem:
> > Database inserts that worked previously are now failing,
> > without raising exceptions!
>
> I expect that something in your application catches exceptions.
>
> To verify this, I
[EMAIL PROTECTED] wrote at 2005-11-22 03:27 -0800:
>Problem:
> Database inserts that worked previously are now failing,
> without raising exceptions!
I expect that something in your application catches exceptions.
To verify this, I would add logging to "ZPsycopgDA" (indeed,
I did in o
On 2005-11-22 at 12:27:42 [+0100], [EMAIL PROTECTED] wrote:
>
> Though the insert is failing, a sequence column in the target table is
> apparently being incremented by the failing insert. (I deduce this
> from the fact that subsequent Z SQL test inserts show sequence gap
> of 12 after each fail
Problem:
Database inserts that worked previously are now failing,
without raising exceptions!
Request:
Help!
Production Environment:
zope-2.7.4, postgresql-7.4.3p2, psycopg-1.1.15, OpenBSD 3.7.
Duplicated under test environment:
zope 2.7.4, postgresql 8.0.