HewlettPackard / python-redfish-utility

Python-based utility for interacting with devices supporting a Redfish Service
Other
86 stars 41 forks source link

ImportError: cannot import name 'ScepenabledError' from 'rdmc_helper' #58

Closed rafiqkattangere closed 2 years ago

rafiqkattangere commented 2 years ago

Can you fix this pls.

PS C:\Users\KAhamedR\Downloads\python-redfish-utility-master\src> py.exe .\rdmc.py Traceback (most recent call last): File "C:\Users\KAhamedR\Downloads\python-redfish-utility-master\src\rdmc.py", line 49, in import redfish.ris File "C:\Python39\lib\site-packages\redfish\ris__init.py", line 34, in from .rmc import ( File "C:\Python39\lib\site-packages\redfish\ris\rmc.py", line 39, in from redfish.ris.resp_handler import ResponseHandler from rdmc_helper import IloLicenseError , ScepenabledError ImportError: cannot import name 'ScepenabledError' from 'rdmc_helper' (C:\Users\KAhamedR\Downloads\python-redfish-utility-master\src\rdmc_helper.py) PS C:\Users\KAhamedR\Downloads\python-redfish-utility-master\src> python.exe .\rdmc.py Traceback (most recent call last): File "C:\Users\KAhamedR\Downloads\python-redfish-utility-master\src\rdmc.py", line 49, in import redfish.ris File "C:\Python39\lib\site-packages\redfish\ris\init__.py", line 34, in

rajeevkallur commented 2 years ago

@rafiqkattangere , Please check now. I have added that exception.