Skip to content

Commit

Permalink
Merge pull request #11 from molssi-seamm/dev
Browse files Browse the repository at this point in the history
Bugfix: crash opening a flowchart from a Dashboard
  • Loading branch information
seamm authored May 23, 2024
2 parents 541fc16 + 5af595e commit 923bcb5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
=======
History
=======
2024.5.23 -- Bugfix: crash opening a flowchart from a Dashboard
* SEAMM could crash when asking the Flowchart Open dialog to get the flowchart from a
previous job. This only happened if the Dashboard was known but the stored password
was wrong.

2024.4.22 -- Moving user preferences to ~/.seamm.d
* Added better output when there are failures in the Dashboard.
* To better support Docker, moving ~/.seammrc to ~/.seamm.d/seamrc
* Added better output when there are failures in the Dashboard.
* To better support Docker, moving ~/.seammrc to ~/.seamm.d/seamrc

2023.11.15 -- Bugfix: boolean options now work
* Boolean options were not handled correctly when submitting jobs.
Expand Down
4 changes: 2 additions & 2 deletions seamm_dashboard_client/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

logger = logging.getLogger(__name__)

logger.setLevel("DEBUG")
# logger.setLevel("DEBUG")


def safe_filename(filename):
Expand Down Expand Up @@ -404,7 +404,7 @@ def status(self):
response = self._url_get("/api/status")
except DashboardTimeoutError:
return "down"
except (DashboardConnectionError, DashboardUnknownError):
except (DashboardConnectionError, DashboardUnknownError, DashboardLoginError):
return "error"

if response.status_code != 200:
Expand Down

0 comments on commit 923bcb5

Please sign in to comment.