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 = -204\n- Table unknown\n- ALEMBIC_VERSION\n- At 
line 1, column 13', -204, 335544569) [SQL: "INSER
T INTO alembic_version (version_num) VALUES ('38c4e85512a9')"]
Exception ignored in: <bound method PreparedStatement.__del__ of 
<fdb.fbcore.PreparedStatement object at 0x044AC690>>
Traceback (most recent call last):
  File "G:\Usr\py\Z1Venv\lib\site-packages\fdb\fbcore.py", line 3166, in 
__del__
  File "G:\Usr\py\Z1Venv\lib\site-packages\fdb\fbcore.py", line 3042, in 
_close
ReferenceError: weakly-referenced object no longer exists


On Tuesday, 17 March 2015 18:53:17 UTC-4, Michael Bayer wrote:
>
> on Alembic, there’s no dialect as of yet.    Though you can make a “fake” 
> one like this: 
>
> from alembic.ddl import impl 
>
> class FirebirdDialect(impl.DefaultImpl): 
>     __dialect__ = ‘firebird' 
>     transactional_ddl = True 
>
>
> just making that class will add it to the _impls dict and will get you 
> past the KeyError you have there.   
>
> though as far as support for firebird-specific ALTER directives, we 
> haven’t looked into that. 
>
>
>
>
> Steve <st...@canary.md <javascript:>> wrote: 
>
> > Hi, 
> > 
> > I am testing out Firebird b/c I want to use Alembic to set up my unit 
> tests. Is Firebird supported by Alembic? I am getting the error message 
> below. I am running Alembic 0.6.0 and SqlAlchemy 0.8.2 
> > 
> > File 
> ".../.virtualenv/local/lib/python2.7/site-packages/alembic/ddl/impl.py", 
> line 50, in get_by_dialect 
> >     return _impls[dialect.name] 
> > KeyError: 'firebird' 
> > 
> > Thanks, 
> > Steve 
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "sqlalchemy-alembic" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to sqlalchemy-alembic+unsubscr...@googlegroups.com <javascript:>. 
>
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy-alembic" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy-alembic+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to