As discussed in:
http://sourceforge.net/forum/forum.php?thread_id=1624319&forum_id=30917
The services API does not raise exceptions with FB2.0.
The attached patch is one way to solve this.
Tested with:
windows vista 32bit
python-2.5.msi
kinterbasdb-3.2.win32-FB-2.0-py2.5.exe
Firebird-2.0.1.12855-1-Win32.exe (super server as user SYSTEM)
services.py.patch
Logged In: YES
user_id=414645
Originator: NO
Thanks for the report. I'll be sure to look at this before I release 3.2.1, which should be soon.
Logged In: YES
user_id=414645
Originator: NO
The test that I performed today indicated that none of Firebird 1.0.3, 1.5.4, or 2.0.[0|1] raise a spurious exception at the end of their Services API output. It must have been a Firebird 1.0.0 bug (I wrote that code in July 2002, when 1.0.0 was current), so I simply removed the try/catch statement.
You can find updated 3.2 snapshots here:
http://kinterbasdb.sourceforge.net/snapshots/3.2/kinterbasdb-3.2_20070621.src.tar.gz
http://kinterbasdb.sourceforge.net/snapshots/3.2/kinterbasdb-3.2_20070621.win32-FB-1.0-py2.5.exe
http://kinterbasdb.sourceforge.net/snapshots/3.2/kinterbasdb-3.2_20070621.win32-FB-1.5-or-2.0-py2.5.exe