Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hpc-team
strudelv2_spa
Commits
83230d1d
Commit
83230d1d
authored
Sep 11, 2019
by
Chris Hines
Browse files
add a better error message when things time out
parent
360ca4dd
Pipeline
#7823
passed with stages
in 4 minutes and 45 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/app/tes.service.ts
View file @
83230d1d
...
...
@@ -552,6 +552,10 @@ private httperror(errorstr: string) {
private
handleAppInstanceError
(
job
:
Job
,
error
:
any
)
{
console
.
log
(
error
);
job
.
connectionState
=
0
;
if
(
error
.
status
==
0
)
{
this
.
statusMsg
.
next
(
'
It appears we had a timeout learning about your
'
+
job
.
name
+
'
. Its possible
'
+
job
.
identity
.
site
.
name
+
'
is experiencing issues
'
);
return
;
}
if
(
error
.
error
!==
undefined
&&
error
.
error
.
message
!==
undefined
)
{
this
.
statusMsg
.
next
(
error
.
error
.
message
);
}
else
if
(
error
.
error
!==
undefined
&&
error
.
error
.
error
!==
undefined
)
{
...
...
src/assets/config/m3apps.dev.json
View file @
83230d1d
...
...
@@ -65,6 +65,40 @@
"localbind"
:
true
,
"applist"
:
null
},
{
"url"
:
null
,
"name"
:
"Jupyter Lab - custom venv"
,
"startscript"
:
"#!/bin/bash
\n
/usr/local/sv2/jupyter/jupyter_custom.sh
\n
"
,
"actions"
:
[
{
"name"
:
"Connect"
,
"paramscmd"
:
"/usr/local/sv2/dev/jupyter/jupyter_params.py {jobid}"
,
"client"
:
{
"cmd"
:
null
,
"redir"
:
"?token={token}"
},
"states"
:
[
"RUNNING"
]
},
{
"name"
:
"View log"
,
"paramscmd"
:
"/usr/local/sv2/dev/desktop/logparams.py {jobid}"
,
"client"
:
{
"cmd"
:
null
,
"redir"
:
"index.html?token={token}"
},
"states"
:
[
"RUNNING"
,
"Finished"
]
},
{
"name"
:
"View Usage"
,
"paramscmd"
:
"/usr/local/sv2/dev/desktop/usageparams.py {jobid}"
,
"client"
:
{
"cmd"
:
null
,
"redir"
:
"index.html?token={token}"
},
"states"
:
[
"Finished"
]
},
{
"name"
:
"Remove log"
,
"paramscmd"
:
"/usr/local/sv2/dev/rmlog.py {jobid}"
,
"client"
:
null
,
"states"
:
[
"Finished"
]
}
],
"localbind"
:
true
,
"applist"
:
null
},
{
"url"
:
null
,
"name"
:
"CryoSPARC"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment