Re: [Zope-DB] insert failing without raising exception: postgresql, psycopg

2005-11-24 Thread Chris Withers
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

Re: [Zope-DB] insert failing without raising exception: postgresql, psycopg

2005-11-23 Thread Dieter Maurer
[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

Re: [Zope-DB] insert failing without raising exception: postgresql, psycopg

2005-11-23 Thread freeman
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

Re: [Zope-DB] insert failing without raising exception: postgresql, psycopg

2005-11-23 Thread freeman
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

Re: [Zope-DB] insert failing without raising exception: postgresql, psycopg

2005-11-22 Thread Dieter Maurer
[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

Re: [Zope-DB] insert failing without raising exception: postgresql, psycopg

2005-11-22 Thread Charlie Clark
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

[Zope-DB] insert failing without raising exception: postgresql, psycopg

2005-11-22 Thread freeman
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.