graf
unread,Jun 17, 2013, 9:44:39 AM6/17/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sqlal...@googlegroups.com
I use sqlautocode to get declarative tables of the Firebird and now, when I try to insert new row with unicode value for the field to the database I got an error
ValueError: Value of parameter (30) is too long, expected 20, found 22'
which is Column('Myfield', VARCHAR(length=20)),
The db codepage is "WIN1251"
engine = create_engine('firebird+fdb://%(user)s:%(password)s@%(host)s:%(port)s/%(path)s' % firebird_params)
It works for kinterbasdb, is that issue with fdb?