You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MainDialog at __init__ creates an instance of ConfigDialog
during ConfigDialog's __init__ it runs self._get_settings_from_file() and self._contact_irida() to load settings and connect to irida.
** Settings must be loaded from file for uploader to function
** Without an initial connection to irida, the uploader will error when the user starts uploading, not when they parse
** A request to IRIDA that is invalid but does not instantly 404/400 causes the uploader to wait for reconnect attempts
After a connection is established or retries fail, show the MainDialog
One solution to this might be to init the MainDialog and ConfigDialog without the contact irida step, then show both dialogs (gui starts with config screen open) and then try to connect to IRIDA, with a message to the user about connecting to IRIDA.
Describe the bug
If the config file has an url and the uploader cannot connect to it, the gui will try to connect X times before showing the GUI
Steps to reproduce the problem
What were you doing when you encountered the problem?
Expected behaviour
We should have the connect to irida code run in a separate thread, so the gui never hangs when attempting to connect.
The text was updated successfully, but these errors were encountered: