HewlettPackard / python-ilorest-library

Python library for interacting with devices which support a Redfish Service
Apache License 2.0
189 stars 92 forks source link

Cannot start ilorest #166

Open willifehler opened 1 month ago

willifehler commented 1 month ago

Hey there,

I'm trying to use the latest ilorest version which is installed by using pip on macOS.

(my-env) ⋊> ~/g/... on main ⨯ which python3                                                                                                                                                                                                                                                                                                                        12:22:25
/Users/willifehler/git/.../bin/python3
(my-env) ⋊> ~/g/... on main ⨯ python3 --version                                                                                                                                                                                                                                                                                                                    12:23:16
Python 3.12.4
(my-env) ⋊> ~/g/... on main ⨯ ilorest --help                                                                                                                                                                                                                                                                                                                       12:22:15
Traceback (most recent call last):
  File "/Users/willifehler/git/.../bin/ilorest", line 8, in <module>
    sys.exit(ilorestcommand())
             ^^^^^^^^^^^^^^^^
  File "/Users/willifehler/git/.../lib/python3.12/site-packages/ilorest/rdmc.py", line 1174, in ilorestcommand
    RDMC = RdmcCommand(
           ^^^^^^^^^^^^
  File "/Users/willifehler/git/.../lib/python3.12/site-packages/ilorest/rdmc.py", line 228, in __init__
    self.app = redfish.ris.RmcApp(showwarnings=True)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: RmcApp.__init__() got an unexpected keyword argument 'showwarnings'

Has anyone seen this error?

Cheers - Willi

rajeevkallur commented 1 month ago

Please recheck with ilorest 5.3 release on Pypi