- attached fdbsupport.diff
alternative driver for firebird (fdb)
fdb.py supports firebird under python2/3
There are only minor changes to the existing kinterbasdb driver.
A patch is attached.
It works for me using python2 and firebird-2.5.2
Comments (9)
-
Account Deleted -
repo owner are you suggesting the removal of the kinterbasbd driver entirely ? We definitely need to keep existing kinterbasdb support as is, with fdb as an additional option.
While we can put an fdb.py in as is, it would be nice if kinterbasdb and fdb.py could build off the same base, or perhaps fdb can extend from kinterbasdb's classes, so we aren't duplicating code.
-
repo owner - changed milestone to 0.x.xx
I can get this going if you can help me get the library to build on OSX:
classics-MacBook-Pro:fdb-0.8.5 classic$ export CFLAGS=-I/Library/Frameworks/Firebird.framework/Headers; export LFLAGS=-L/Library/Frameworks/Firebird.framework/Libraries; python setup.py build_ext Traceback (most recent call last): File "setup.py", line 7, in <module> from fdb import __version__ File "/usr/local/src/fdb-0.8.5/fdb/__init__.py", line 23, in <module> from fdb.fbcore import * File "/usr/local/src/fdb-0.8.5/fdb/fbcore.py", line 26, in <module> from . import ibase File "/usr/local/src/fdb-0.8.5/fdb/ibase.py", line 1789, in <module> BLOB_open = fb_library.BLOB_open File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 366, in __getattr__ func = self.__getitem__(name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 371, in __getitem__ func = self._FuncPtr((name_or_ordinal, self)) AttributeError: dlsym(0x1003ad890, BLOB_open): symbol not found
-
repo owner the checkin is at 20fe4a012ebf6140a53191032e00d3bda7540553. if we can get that build above I can test.
-
Account Deleted I asked the firebird project, who replied:
The latest Firebird 2.5.2 don't have this issue
http://www.firebirdsql.org/en/firebird-2-5-2-rc1/
Which version of Firebird are you using?
-
repo owner 2.5.1 from the site, will find some time to try again, thx
-
repo owner - changed title to alternative driver for firebird (fdb)
-
repo owner great, 2.5.2 is fine and the fdb driver works as implemented, I've made it the default in 0.9. 82c11cc94b41323caeec
-
repo owner - removed milestone
Removing milestone: 0.8.xx (automated comment)
- Log in to comment
diff to existing kinterbasdb driver