Re: [sqlalchemy] Query about exception being raised on violating uniqueness constraint

2013-01-08 Thread Michael Bayer
From: sqlalchemy@googlegroups.com [mailto:sqlalchemy@googlegroups.com] On Behalf Of Michael Bayer Sent: Friday, January 04, 2013 10:12 PM To: sqlalchemy@googlegroups.com Subject: Re: [sqlalchemy] Query about exception being raised on violating uniqueness constraint Would need much more

Re: [sqlalchemy] Query about exception being raised on violating uniqueness constraint

2013-01-04 Thread Michael Bayer
Would need much more detail here including a full stack trace, what line you're referring to in _flush(), and preferably code which reproduces the error you're seeing. On Jan 4, 2013, at 1:55 AM, Gurjar, Unmesh wrote: Hi, I have installed SQLAlchemy 0.7.9 (backend – MySQL, Python 2.7). I

[sqlalchemy] Query about exception being raised on violating uniqueness constraint

2013-01-03 Thread Gurjar, Unmesh
Hi, I have installed SQLAlchemy 0.7.9 (backend - MySQL, Python 2.7). I have a defined a table having a uniqueness constraint. On inserting a record which violates this constraint, my application gets a 'TypeError' exception instead of 'IntegrityError'. After debugging the issue, I found that