Isilon / isilon_sdk_python

Official generated source of the Isilon SDK Python language bindings.
36 stars 33 forks source link

ValueError: could not convert str to float: 'QUEUED' #70

Open farinaanthony96 opened 9 months ago

farinaanthony96 commented 9 months ago

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()

dhanush03122003 commented 1 month 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 .

dhanush03122003 commented 1 week ago

Here is the link for latest version : https://pypi.org/project/isilon-sdk/