---

** [tickets:#1176] pyosaf: saImmOmAdminOperationInvoke_2 no longer works**

**Status:** accepted
**Milestone:** 4.4.2
**Created:** Mon Oct 20, 2014 08:10 AM UTC by Hans Feldt
**Last Updated:** Mon Oct 20, 2014 08:10 AM UTC
**Owner:** nobody

Trying to use pyoasf.saImmOm.saImmOmAdminOperationInvoke_2 I get:

$ ./sam unlock dummy Dummy
Traceback (most recent call last):
  File "./sam", line 618, in <module>
    main()
  File "./sam", line 614, in main
    globals()[cmd]()
  File "./sam", line 531, in cmd_unlock
    eSaAmfAdminOperationIdT.SA_AMF_ADMIN_UNLOCK_INSTANTIATION)
  File "/home/uabhafe/opensaf-repos/opensaf-tools/amf/immom/__init__.py", line 
156, in admin_op_invoke
    saAis.saAis.SA_TIME_ONE_SECOND * 10)
  File "/home/uabhafe/local/lib/python2.7/site-packages/pyosaf/saImmOm.py", 
line 639, in saImmOmAdminOperationInvoke_2
    timeout)
ctypes.ArgumentError: argument 5: <type 'exceptions.TypeError'>: expected 
LP_LP_SaImmAdminOperationParamsT instance instead of c_void_p_Array_1

this was likely introduced with the "type" patch.

there is a simple patch.



---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to