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

"0" seems like special case with open_dialog #253

Open
decentjohn opened this issue Jun 3, 2022 · 1 comment
Open

"0" seems like special case with open_dialog #253

decentjohn opened this issue Jun 3, 2022 · 1 comment

Comments

@decentjohn
Copy link
Contributor

When I try to type 0 in open_dialog, it is blank, the zero does not type. It seems like it's been handled as a special case.
Screen Shot 2022-06-03 at 7 23 14 PM

why this is a problem is that trying to enter a zero causes a Tcl error in open_dialog when I hit DONE
Screen Shot 2022-06-03 at 7 26 01 PM

Can we have 0 treated as a valid input?

2022-06-03 19:21:27.164 ERROR: can't set "::settings(tank_desired_water_temperature)": can't assign non-numeric value to scale variable
2022-06-03 19:21:27.164 ERROR: -code 1
2022-06-03 19:21:27.164 ERROR: -level 0
2022-06-03 19:21:27.164 ERROR: -errorstack INNER storeStk CALL ::dui::pages::dui_number_editor::page_done UP 2
2022-06-03 19:21:27.164 ERROR: -errorcode TCL WRITE VARNAME
2022-06-03 19:21:27.164 ERROR: -errorinfo can't assign non-numeric value to scale variable
2022-06-03 19:21:27.164 ERROR:     (write trace on "::settings(tank_desired_water_temperature)")
2022-06-03 19:21:27.164 ERROR:     invoked from within
2022-06-03 19:21:27.164 ERROR: "set $data(num_variable) $data(value)"
2022-06-03 19:21:27.164 ERROR:     (procedure "::dui::pages::dui_number_editor::page_done" line 17)
2022-06-03 19:21:27.164 ERROR:     invoked from within
2022-06-03 19:21:27.164 ERROR: "::dui::pages::dui_number_editor::page_done"
2022-06-03 19:21:27.164 ERROR:     (command bound to event)
2022-06-03 19:21:27.164 ERROR: -errorline 1
@ebengoechea
Copy link
Collaborator

ebengoechea commented Jun 3, 2022 via email

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