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

Exception when Plot Reference is checked and swing fails #175

Closed
csatt opened this issue Jul 1, 2021 · 0 comments
Closed

Exception when Plot Reference is checked and swing fails #175

csatt opened this issue Jul 1, 2021 · 0 comments
Assignees
Labels

Comments

@csatt
Copy link
Owner

csatt commented Jul 1, 2021

If the Plot Reference checkbox is checked and swinging a curve fails due to an error such as Voc = 0, the dialog with the error cause is not displayed and instead, an exception dialog is displayed. The exception looks like this in the log file:

210629_16_03_56: ERROR: Voc is zero volts
210629_16_03_56: Unexpected error: <class '_tkinter.TclError'>
210629_16_03_56: Traceback (most recent call last):
File "tkinter/init.py", line 1883, in call
File "IV_Swinger2_gui.py", line 1843, in go_button_actions
File "IV_Swinger2_gui.py", line 1880, in go_actions
File "IV_Swinger2_gui.py", line 1990, in swing_loop
File "IV_Swinger2_gui.py", line 2040, in display_img
File "tkinter/init.py", line 4061, in init
File "tkinter/init.py", line 4006, in init
_tkinter.TclError: value for "-file" missing

csatt added a commit that referenced this issue Jul 1, 2021
In the equation for plot_ref_failed, qualify the condition where the CSV file name is None with the return code also being RC_SUCCESS.
@csatt csatt closed this as completed Jul 1, 2021
@csatt csatt self-assigned this Jul 29, 2021
@csatt csatt added the bug label Jul 29, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant