I added the warning messages so one can see when _tray_module_action_changed is called and when it actually enters the add_action method that throws the error. It seems like the _tray_module_action_changed method is being called twice when the GUI module changes its state from deactivated to idle
Version
Development
What is affected by the bug?
With PR #118 loading any GUI module will cause
ValueError: Action "time_series_gui" already exists in system tray
.When does the bug occur?
Activation of any GUI module, when changing the module state and therefore entering the
_tray_module_action_changed
method.How do we replicate the issue?
Expected behavior
no error is displayed
Relevant log output
Additional Comments
I added the warning messages so one can see when
_tray_module_action_changed
is called and when it actually enters theadd_action
method that throws the error. It seems like the_tray_module_action_changed
method is being called twice when the GUI module changes its state from deactivated to idle