Subject | Re: [firebird-python] kinterbasdb, Firebird 2.1: invalid parameter in transaction parameter block |
---|---|
Author | Philippe Makowski |
Post date | 2008-05-28T11:24:12Z |
skoczian [08-05-28 13.19] :
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
> I get this message trying to execute a python script that workeduse this __init__.py file
> 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?
>
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