Re: kinterbas and Python

2006-04-08 Thread David Rushby
[EMAIL PROTECTED] wrote: > My error code is : > > concorrency level error > use kinterbas.init(concurrency_level=?) to set the concurrency level > legally... That's not the actual error message. The actual error message is: """ The concurrency level cannot be changed once it has been set. Use ki

Re: kinterbas and Python

2006-04-06 Thread bssoft
Ok, thank..my python is 2.4.2 kinterbas is 3.2a1 Firebird is 1.5 on FEDORA CORE 4 my program code is run under winxp my actual code is equal above and when i past the code i forgot the quote but in my code the quote is correctly. My error code is : concorrency level error use kinterbas.init(c

Re: kinterbas and Python

2006-04-05 Thread David Rushby
Balin wrote: > Hi all, > I have some problem with packege kinterbas for Firebird db connection > this is my code: > > import kinterbasdb > > class ConnessioneDB: > def initialize(self): > kinterbasdb.init(concurrency_level=1) > con = kinterbasdb.connect(host='192.168.1.20', > da

Re: kinterbas and Python

2006-04-05 Thread Jarek Zgoda
Petr Jakes napisał(a): > Jarek, I am using it always like in the following example to connect to > the remote host and it works for me flawlessly. > Petr Jakes > > import kinterbasdb as k > con = k.connect( > host='router.maren.cz', > database='/data/sysdat01.gdb', > us

Re: kinterbas and Python

2006-04-04 Thread Petr Jakes
Jarek, I am using it always like in the following example to connect to the remote host and it works for me flawlessly. Petr Jakes import kinterbasdb as k con = k.connect( host='router.maren.cz', database='/data/sysdat01.gdb', user='SYSDBA', password='masterkey') -- ht

Re: kinterbas and Python

2006-04-04 Thread Jarek Zgoda
Balin napisał(a): > con = kinterbasdb.connect(host='192.168.1.20', > database='/home/db/TEST.FDB', user='SYSDBA', password='masterkey) <--- E I don't think it's valid. If you connect to remote host, don't give a path to database, just its name. Specifying full path long time ago was suppo

kinterbas and Python

2006-04-04 Thread Balin
Hi all, I have some problem with packege kinterbas for Firebird db connection this is my code: import kinterbasdb class ConnessioneDB: def initialize(self): kinterbasdb.init(concurrency_level=1) con = kinterbasdb.connect(host='192.168.1.20', database='/home/db/TEST.FDB', user