When I use ktoblzcheck from within python, I get this: >>> import ktoblzcheck as kbc >>> a = kbc.AccountNumberCheck() >>> a.check('[...]', '[...]') 0 >>> a.findBank('[...]') Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib64/python2.4/site-packages/ktoblzcheck.py", line 115, in findBank rec = kto.AccountNumberCheck_findBank(self, bankId) File "source/callproc.c", line 742, in GetResult File "/usr/lib64/python2.4/site-packages/ktoblzcheck.py", line 54, in _check_retval_ c_void_p.__init__(v, p) TypeError: cannot be converted to pointer (account number and bank ids cleared for privacy) So check() works but findBank() doesn't.
fixed