Re: [sqlalchemy] Problem inserting records in blob column

2013-12-20 Thread Michael Bayer
issue #2896 is resolved for 0.8.5 and 0.9.0. On Dec 20, 2013, at 10:03 AM, Michael Bayer wrote: > there’s a SQLAlchemy issue here, marked as ticket > http://www.sqlalchemy.org/trac/ticket/2896, however resolving this issue > still won’t fix your issue. You’re emitting an INSERT on a table wh

Re: [sqlalchemy] Problem inserting records in blob column

2013-12-20 Thread Michael Bayer
there’s a SQLAlchemy issue here, marked as ticket http://www.sqlalchemy.org/trac/ticket/2896, however resolving this issue still won’t fix your issue. You’re emitting an INSERT on a table where the primary key needs to refer to a column elsewhere. that is: task = Table('y', metadata, Colu

Re: [sqlalchemy] Problem inserting records in blob column

2013-12-20 Thread Massi
Hi, I'm experiencing a similar problem in my program (Sqlalchemy 0.8.4). In my case no blob column is involved, the problem seems to be related to presence of a foreign key in the target table. Here is the traceback of the error: File "C:\Python27\lib\site-packages\sqlalchemy\orm\session.py"

Re: [sqlalchemy] Problem inserting records in blob column

2013-09-19 Thread Michael Bayer
On Sep 19, 2013, at 11:09 AM, erikamont...@libero.it wrote: > Hi everyone, > > I'm using SQLalchemy 0.7.10 and I'm encountering some problems trying to > insert > records inside a table in a blob column. > The error I get is the following: > > StatementError: 'SQLiteExecutionContext' object

[sqlalchemy] Problem inserting records in blob column

2013-09-19 Thread erikamontani
Hi everyone, I'm using SQLalchemy 0.7.10 and I'm encountering some problems trying to insert records inside a table in a blob column. The error I get is the following: StatementError: 'SQLiteExecutionContext' object has no attribute 'fire_sequence' (original cause: AttributeError: 'SQLiteExecut