Hi Zoran !

All functions in pyosaf utils decorate by decorate() function in 
pyosaf/utils/__init__.py. You can see in __init__.py of clm/immoi/immom/log/ntf 
same as below:
saImmOmInitialize         = decorate(saImmOm.saImmOmInitialize)
saImmOmSelectionObjectGet = decorate(saImmOm.saImmOmSelectionObjectGet)
saImmOmDispatch           = decorate(saImmOm.saImmOmDispatch)
saImmOmFinalize           = decorate(saImmOm.saImmOmFinalize)
....

All error codes returned handle by decorate() function (decorator of Python). 
We have been handle ERR_BAD_HANDLE in this function with stop app and raise 
exception.
if error != eSaAisErrorT.SA_AIS_OK:
      raise_saf_exception(function, error)

Do you have any ideas about this?



---

** [tickets:#2523] pyosaf: IMM OM module initialized with ERR_BAD_HANDLE**

**Status:** accepted
**Milestone:** 5.17.10
**Created:** Thu Jul 06, 2017 01:40 PM UTC by Zoran Milinkovic
**Last Updated:** Tue Oct 03, 2017 06:24 AM UTC
**Owner:** Hieu Nguyen


pyosaf does not handle well intialization of IMM OM module.
Regardless of error code returned from saImmOmInitialize, in _initialize() 
function, saImmOmAccessorInitialize is called().


---

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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to