Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148156 - app-misc/ktoblzcheck python interface thows TypeError
Summary: app-misc/ktoblzcheck python interface thows TypeError
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-18 22:31 UTC by Bernd Wurst
Modified: 2006-11-24 12:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Wurst 2006-09-18 22:31:56 UTC
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.
Comment 1 Hanno Böck gentoo-dev 2006-11-24 12:35:23 UTC
fixed