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: 'SQLiteExecutionContext' object has no
attribute
'fire_sequence') 'INSERT INTO r_2_sti (id, iter, data) VALUES (?, ?, ?)'
[{'data':
'wer', 'iter': -1}]
It's quite difficult for me to build a test case of the error, since it happens
inside a large program, but in general the code that generates the error is
something like this:
from sqlalchemy import *
engine = create_engine('sqlite:///test.db', echo=True)
m = MetaData()
t = Table('t', m, Column('data', LargeBinary))
m.create_all(engine)
engine.execute(t.insert(), {'data':b'abc'}, {'data':b'xyz'})
The problem is that the example code perfectly works! So, does anyone has an
idea of
what I am possibly doing wrong?
Thanks in advance!
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.