---
** [tickets:#3247] pyosaf: almost all samples python is failed when run as
python3**
**Status:** accepted
**Milestone:** 5.20.11
**Created:** Wed Dec 30, 2020 01:44 AM UTC by Huynh Minh Thien
**Last Updated:** Wed Dec 30, 2020 01:44 AM UTC
**Owner:** Huynh Minh Thien
~~~
root@SC-1:/srv/osaftest/opensaf-code/python# python3 samples/imm-listener --all
INFO: Listening to changes to all configuration classes
INFO: There is nothing to listen
2020-12-30 08:36:23.046 SC-1 /imm-listener: ER saImmOmClassDescriptionGet_2
FAILED - SA_AIS_ERR_NOT_EXIST
~~~
~~~
root@SC-1:/srv/osaftest/opensaf-code/python# python3 samples/immlist
safSg=2N,safApp=OpenSAF
Traceback (most recent call last):
File "samples/immlist", line 73, in <module>
result = immlist(arguments)
File "samples/immlist", line 39, in immlist
for name, value_pair in obj.attrs.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'
~~~
---
Sent from sourceforge.net because [email protected] 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._______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets