Open farinaanthony96 opened 9 months ago
Can you check if the same issue is on the latest version link : https://github.com/Isilon/isilon_sdk_python , version : Isilon_SDK_v0.3.0.1 .
Here is the link for latest version : https://pypi.org/project/isilon-sdk/
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()