Skip to content

ValueError: could not convert string to float: '' #1

@omegarhovega

Description

@omegarhovega

Hi there,

Thanks a lot for sharing! I am getting the following error when executing main.py and the Tkinter window remains black except the buttons are showing:

Deribit_github_test/option-visualiser-main/main.py", line 63, in plot_charts chart_low = float(chart_minprice_input.get()) ValueError: could not convert string to float: ''

Could it be that the variables are initialised empty and the empty string cannot be converted into a float? I tried assigning initial values but the app broke with the same error.

Thankful for any insight!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions