From 4bb136927f60798cc00fd392dc0a8b0621aa4445 Mon Sep 17 00:00:00 2001 From: Sadie Bartholomew Date: Tue, 17 Apr 2018 12:43:02 +0100 Subject: [PATCH] Fix exception handling for view attempts on removed tasks --- lib/cylc/gui/app_gcylc.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/cylc/gui/app_gcylc.py b/lib/cylc/gui/app_gcylc.py index 7688dd267df..ac2bc6166ec 100644 --- a/lib/cylc/gui/app_gcylc.py +++ b/lib/cylc/gui/app_gcylc.py @@ -1628,8 +1628,11 @@ def popup_requisites(self, w, e, task_id, *args): try: results, bad_items = self.updater.client.get_info( 'get_task_requisites', items=[task_id]) + except AttributeError: + pass except ClientError as exc: warning_dialog(str(exc), self.window).warn() + return if not results or task_id in bad_items: warning_dialog( "Task proxy " + task_id +