Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
farinaanthony96 opened this issue Feb 16, 2024 · 2 comments
Open

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

farinaanthony96 opened this issue Feb 16, 2024 · 2 comments

Comments

@farinaanthony96
Copy link

farinaanthony96 commented Feb 16, 2024

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
Copy link
Member

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants