Subject Re: [firebird-python] kinterbasdb, Firebird 2.1: invalid parameter in transaction parameter block
Author Philippe Makowski
skoczian [08-05-28 13.19] :
> I get this message trying to execute a python script that worked
> perfectly using Firebird 2.0. Same thing in the interactive python
> window with the employee database:
>
>>>> 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
http://firebird.svn.sourceforge.net/svnroot/firebird/qa/trunk/kinterbasdb/__init__.py


--
Philippe Makowski
http://www.ibphoenix.com
Supporting users of Firebird
Tel +33 (0) 561058813