Re: SQlite migration with batch mode - help needed

2015-05-26 Thread Sylvain Martel
', 'classtype', ['income_classtype'], ['id']) ### end Alembic commands ### but it gives an error for create_foreign keys, saying there are too many arguments passed. But I can't find in the doc what parameters I should pass to it. On Tuesday, 26 May 2015 09:47:03 UTC-4, Sylvain Martel wrote

[sqlalchemy] How to connect to Firebird embedded with SQLAlchemy

2015-05-22 Thread Sylvain Martel
I am trying to connect to firebird(embedded version) with Flask-SQLAlchemy but I keep geting the error : sqlalchemy.exc.DatabaseError: (fdb.fbcore.DatabaseError) ('Error while connecting to database:\n- SQLCODE: -902\n- Unable to complete network request to host 127.0.0.1.\n- Failed to

Re: Is Firebird supported?

2015-05-22 Thread Sylvain Martel
Hi, I tested this and while the firebird error message is now gone, I am getting this error: Error while preparing SQL statement:) sqlalchemy.exc.DatabaseError: (fdb.fbcore.DatabaseError) ('Error while preparing SQL statement:\n- SQLCODE: -204\n- Dynamic S QL Error\n- SQL error code =