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
[E 2021-05-12 07:17:50.587 SingleUserNotebookApp web:1789] Uncaught exception DELETE /user/rthomas/cori-shared-node-cpu/scancel?1620829070570 (24.6.139.138)
HTTPServerRequest(protocol='https', host='jupyter.nersc.gov', method='DELETE', uri='/user/rthomas/cori-shared-node-cpu/scancel?1620829070570', version='HTTP/1.1', remote_ip='24.6.139.138')
Traceback (most recent call last):
File "/global/common/cori_cle7/software/jupyter/cori/20-12/lib/python3.8/site-packages/tornado/web.py", line 1704, in _execute
result = await result
File "/global/common/cori_cle7/software/jupyter/cori/20-12/lib/python3.8/site-packages/jupyterlab_slurm/slurm.py", line 48, in delete
jobID = self.get_body_arguments('jobID')[0]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
In my case the conditional takes the else path (not json) and then the cancel call fails with the "list index out of range error". But if If I remove the conditional and I just put:
jobID = json.loads(self.request.body)["jobID"]
Then it works. So it seems to be a confussion with the Content-Type here.
Here's the traceback:
The text was updated successfully, but these errors were encountered: