You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2022/05/24 13:53:52 UTC
[airavata-django-portal] branch develop updated (58298b09 -> 3c4036d9)
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
from 58298b09 AIRAVATA-3576 Load application interface when using standalone web components
new 0a63e136 Fix "not all arguments converted during string formatting" bug
new 3c4036d9 Fix null latestJobStatus bug
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
django_airavata/apps/api/views.py | 4 ++--
.../js/components/experiment/ExperimentSummary.vue | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
[airavata-django-portal] 02/02: Fix null latestJobStatus bug
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
commit 3c4036d9d9970af84f06b2d097422bfd172137d4
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Mon May 23 17:36:59 2022 -0400
Fix null latestJobStatus bug
---
.../js/components/experiment/ExperimentSummary.vue | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ExperimentSummary.vue b/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ExperimentSummary.vue
index 5e8c29ca..903baa93 100644
--- a/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ExperimentSummary.vue
+++ b/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ExperimentSummary.vue
@@ -396,7 +396,8 @@ export default {
(job) =>
this.experiment.latestStatus.state ===
models.ExperimentState.FAILED ||
- job.latestJobStatus.jobState === models.JobState.FAILED
+ (job.latestJobStatus &&
+ job.latestJobStatus.jobState === models.JobState.FAILED)
);
} else {
return [];
[airavata-django-portal] 01/02: Fix "not all arguments converted during string formatting" bug
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
commit 0a63e136686988896bc913349612a53d75f98819
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Mon May 23 17:32:35 2022 -0400
Fix "not all arguments converted during string formatting" bug
---
django_airavata/apps/api/views.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/django_airavata/apps/api/views.py b/django_airavata/apps/api/views.py
index 158e46d1..2033c749 100644
--- a/django_airavata/apps/api/views.py
+++ b/django_airavata/apps/api/views.py
@@ -261,7 +261,7 @@ class ExperimentViewSet(mixins.CreateModelMixin,
request.authz_token, experiment_id, self.gateway_id)
return Response({'success': True})
except Exception as e:
- log.error("Cancel action has thrown the following error: ", e)
+ log.exception("Cancel action has thrown the following error")
raise e
@action(methods=['post'], detail=True)
@@ -273,7 +273,7 @@ class ExperimentViewSet(mixins.CreateModelMixin,
request.authz_token, experiment_id, request.data["outputNames"])
return Response({'success': True})
except Exception as e:
- log.error("fetchIntermediateOutputs failed with the following error: ", e)
+ log.exception("fetchIntermediateOutputs failed with the following error")
raise e
def _update_workspace_preferences(self, project_id,