Hi Hung Ta,
The signature of oHpiHandlerInfo() was changed in OpenHPI-2.15.
And py-openhpi does not recognize the change.
You can try using 2.14.
Anton Pak
On Mon, 02 Jul 2012 13:53:00 +0400, Hung Ta <[email protected]> wrote:
> Hi Anton Pak,
>
> I have a question would like to need your support.
>
> My python application is using the old python openhpi library. I'd like
> to
> get the handler info by using oHpiHandlerInfo():
>
> hinfo=h.oHpiHandlerInfoT()
> hconf={}
> rv = h.oHpiHandlerInfo( sid, hid, hinfo, hconf)
>
> But the calling failed because of error message raised:
>
> rv = h.oHpiHandlerInfo( sid, hid, hinfo, hconf)
> TypeError: in method 'oHpiHandlerInfo', argument 4 of type 'GHashTable *'
>
>
> The issue here is that the 4th parameter of the function is GHashTable*,
> so
> how can I resolve this?
>
> Thanks,
> Hung
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel