Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server handling exception #294

Open
wangshuaicumt opened this issue Sep 5, 2024 · 2 comments
Open

Server handling exception #294

wangshuaicumt opened this issue Sep 5, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@wangshuaicumt
Copy link

Dear Hyp3 team,

Hello, when I uploaded the HyP3 task yesterday, the download link returned had a lot of errors, but when I used the earlier version, it worked fine.

Here is the log file, thank you for your help.

log.txt

@wangshuaicumt wangshuaicumt added the bug Something isn't working label Sep 5, 2024
@asjohnston-asf
Copy link
Member

Thanks for the report! Out system encountered some instability late Tuesday and early Wednesday that caused a handful of jobs to fail, including these. I expect those jobs will process successfully if you resubmit them.

Here's a short example to resubmit a set of failed jobs using the hyp3_sdk:

import hyp3_sdk
hyp3 = hyp3_sdk.HyP3()

failed_jobs = hyp3.find_jobs(status_code='FAILED', start='2024-09-04T00:00:00Z')
jobs_to_resubmit = [job.to_dict(for_resubmit=True) for job in failed_jobs]

resubmitted_jobs = hyp3.submit_prepared_jobs(jobs_to_resubmit)

@wangshuaicumt
Copy link
Author

Thanks for the report! Out system encountered some instability late Tuesday and early Wednesday that caused a handful of jobs to fail, including these. I expect those jobs will process successfully if you resubmit them.

Here's a short example to resubmit a set of failed jobs using the hyp3_sdk:

import hyp3_sdk
hyp3 = hyp3_sdk.HyP3()

failed_jobs = hyp3.find_jobs(status_code='FAILED', start='2024-09-04T00:00:00Z')
jobs_to_resubmit = [job.to_dict(for_resubmit=True) for job in failed_jobs]

resubmitted_jobs = hyp3.submit_prepared_jobs(jobs_to_resubmit)

Great! Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants