Subject | Re: kinterbasdb, Firebird 2.1: invalid parameter in transaction parameter block |
---|---|
Author | skoczian |
Post date | 2008-05-28T12:26:52Z |
--- In firebird-python@yahoogroups.com, Philippe Makowski
<makowski@...> wrote:
answer to Robert Dollinger on Apr 18,2008, because I had only searched
for the exact error message I got.
Now it works again (or rather, it lets me find all my faulty new
database triggers and so on).
Hertha
<makowski@...> wrote:
>http://firebird.svn.sourceforge.net/svnroot/firebird/qa/trunk/kinterbasdb/__init__.py
> skoczian [08-05-28 13.19] :
> >>>> import kinterbasdb
> >>>> kinterbasdb.init(type_conv=200)
> >>>> conn = kinterbasdb.connect(dsn='localhost:employee',
> > user='sysdba', password='masterkey', charset='ISO8859_1')
> >>>> curs = conn.cursor()
> >>>> curs.execute('SELECT * FROM country')
> >
> > Traceback (most recent call last):
> > File "<pyshell#4>", line 1, in <module>
> > curs.execute('SELECT * FROM country')
> > OperationalError: (-901, 'begin transaction: \n invalid parameter in
> > transaction parameter block')
> >
> >
> > What's wrong and what can I do?
> >
> use this __init__.py file
>
>Thank you for that very fast response - and sorry I overlooked your
answer to Robert Dollinger on Apr 18,2008, because I had only searched
for the exact error message I got.
Now it works again (or rather, it lets me find all my faulty new
database triggers and so on).
Hertha