bloqade-python icon indicating copy to clipboard operation
bloqade-python copied to clipboard

Opaque error reporting when submitting jobs

Open jon-wurtz opened this issue 2 years ago • 5 comments

submitted_job = job.submit()

  File ~\AppData\Local\anaconda3\envs\root3\lib\site-packages\bloqade\task\cloud_base.py:235 in submit
    raise CloudBatchTask.SubmissionException(

SubmissionException: One or more error(s) occured during submission, please see the following files for more information:
  - partial-batch-future-2023-08-07 16-45-04.818718.json
  - partial-batch-errors-2023-08-07 16-45-04.818718.json

When I submit a job to braket and it doesn't work it tells me, unhelpfully, to go look at some file instead of printing the error. Furthermore, I can't find this error file!

jon-wurtz avatar Aug 07 '23 20:08 jon-wurtz

Gonna need a bit more information to figure this out

weinbe58 avatar Aug 07 '23 21:08 weinbe58

a. Can errors be printed to the terminal instead of some file b. Can the file path be fully specified so that I can find said file

This error occurs when I call some batchtask

job = batchtask.quera(100)
job.submit()

jon-wurtz avatar Aug 07 '23 21:08 jon-wurtz

Bump for improving error reporting on submission

jon-wurtz avatar Aug 30 '23 17:08 jon-wurtz

@weinbe58 are you able to reproduce this? the issue itself doesn't seem helpful in reproducing. If any of you have the code snippet to reproduce the error please post them here even you have talked about it directly.

Roger-luo avatar Aug 31 '23 18:08 Roger-luo

Bump again. This is a huge issue for user experience

jon-wurtz avatar Sep 05 '23 13:09 jon-wurtz