You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to retrieve a list of evaluations from my Dell Isilon after I began an evaluation, the code crashes with an error:
Exception has occurred: ValueError
could not convert string to float: 'QUEUED'
File "E:\Scripts\Report Refactoring\src\dell_isilon_report.py", line 76, in get_evaluation_results
all_healthchecks = ISILON_HEALTHCHECK_API_CLIENT.list_healthcheck_evaluations()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Scripts\Report Refactoring\src\dell_isilon_report.py", line 127, in get_alerts
eval_obj = get_evaluation_results(eval_id)
File "E:\Scripts\Report Refactoring\src\dell_isilon_report.py", line 135, in main
all_isilon_alerts = get_alerts()
File "E:\Scripts\Report Refactoring\src\dell_isilon_report.py", line 142, in
main()
ValueError: could not convert string to float: 'QUEUED'
This is my code:
ISILON_API_CLIENT = isilon_sdk.v9_4_0.ApiClient(ISILON_CONFIG)
ISILON_HEALTHCHECK_API_CLIENT = isilon_sdk.v9_4_0.HealthcheckApi(ISILON_API_CLIENT)
When I try to retrieve a list of evaluations from my Dell Isilon after I began an evaluation, the code crashes with an error:
Exception has occurred: ValueError
could not convert string to float: 'QUEUED'
File "E:\Scripts\Report Refactoring\src\dell_isilon_report.py", line 76, in get_evaluation_results
all_healthchecks = ISILON_HEALTHCHECK_API_CLIENT.list_healthcheck_evaluations()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Scripts\Report Refactoring\src\dell_isilon_report.py", line 127, in get_alerts
eval_obj = get_evaluation_results(eval_id)
File "E:\Scripts\Report Refactoring\src\dell_isilon_report.py", line 135, in main
all_isilon_alerts = get_alerts()
File "E:\Scripts\Report Refactoring\src\dell_isilon_report.py", line 142, in
main()
ValueError: could not convert string to float: 'QUEUED'
This is my code:
ISILON_API_CLIENT = isilon_sdk.v9_4_0.ApiClient(ISILON_CONFIG)
ISILON_HEALTHCHECK_API_CLIENT = isilon_sdk.v9_4_0.HealthcheckApi(ISILON_API_CLIENT)
basic_healthcheck_evaluation_checklist = isilon_sdk.v9_4_0.HealthcheckEvaluationCreateParams(checklist_id="basic")
basic_healthcheck_evaluation_response = ISILON_HEALTHCHECK_API_CLIENT.create_healthcheck_evaluation(basic_healthcheck_evaluation_checklist)
ISILON_HEALTHCHECK_API_CLIENT.list_healthcheck_evaluations()
The text was updated successfully, but these errors were encountered: