Forget it... I was passing the url as a unicode string because I saw some warnings in the past with postgresql. The same thing makes kinterbasdb (firebird) fail.
León Domingo Ender - Factoría de Software leon.domi...@ender.es <jestre...@ender.es> Avda. Cerro del Águila, 7. S23 - 2ª Planta 28703 S.S. de los Reyes (MADRID) Tlf. 902 01 44 01 <http://www.ender.es/> <http://www.facebook.com/home.php?#%21/pages/San-Sebastian-de-los-Reyes-Spain/Ender-Factoria-de-Software/142213119143359?ref=ts> * <http://www.ender.es>* On 31 January 2012 17:37, León Domingo <leon.domi...@ender.es> wrote: > Hi, > I'm trying to use Python 2.7.1 + SA 0.6.8 + kinterbasdb (3.3.0) and > I'm always getting the same error when I try to do some query: > > File "/home/leon/app/env/tg2/local/lib/python2.7/site-packages/ > kinterbasdb/__init__.py", line 1695, in addString > newEntry = struct.pack(format, codeAsByte, chr(sLen), s) > sqlalchemy.exc.DBAPIError: (error) argument for 's' must be a string > None None > > I've tried with: > session.execute('select * from foo') --> error > > an_engine = create_engine('firebird://SYSDBA:masterkey@localhost/ > foo', pool_size=1, pool_recycle=30) > meta = MetaData(bind=an_engine) > tbl = Table('foo', meta, autoload=True) --> error > > The same thing works on SA 0.5.8 > > Thanks in advance > -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.