fbclient.dll is not found by _dlopen.
Traceback (most recent call last):
File "test_fb.py", line 4, in <module>
File "D:\Python33\lib\site-packages\fdb-1.0-py3.3.egg\fdb\__init__.py", line 23, in <module>
from fdb.fbcore import *
File "D:\Python33\lib\site-packages\fdb-1.0-py3.3.egg\fdb\fbcore.py", line 26, in <module>
from . import ibase
File "D:\Python33\lib\site-packages\fdb-1.0-py3.3.egg\fdb\ibase.py", line 41, in <module>
fb_library = WinDLL(fb_library_name)
File "D:\Python33\lib\ctypes\__init__.py", line 353, in __init__
self._handle = _dlopen(self._name, mode)
TypeError: bad argument type for built-in operation
I fixed it for myselt by adding:
elif sys.platform in ['win32']:
fb_library_name = find_library('fbclient.dll')
into ibase.py. But i don't know, if it's needed for every Python versions/Windows version. I don't have 64 bit python installed, so I don't know, if it is issue there do. In that case probably 64 bit Windows should probably have special behavior also.