aws-samples / aws-samples/amazon-textract-code-samples
The job never completes
- Dominant language
- Jupyter Notebook
- Stars
- 449
- Forks
- 262
- PR merge metrics
- No merged PRs in 30d
Description
I ran this code on a sample pdf document but it never completes . The PDF is valid since it works from the console
When I terminate the job, this is what I get
Started job with id: eb64ef4b16fd56ae8756387b9aff71b1f661a55a6128e5c4de8a2b43c8a2e397
Job status: IN_PROGRESS
^CTraceback (most recent call last):
File "run.py", line 50, in
if(isJobComplete(jobId)):
File "run.py", line 23, in isJobComplete
time.sleep(5)
KeyboardInterrupt
Contributor guide
Research direction
Start by reading run.py, especially line 50 where isJobComplete is called and line 23 where polling sleeps. Reproduce the sample PDF run and compare the returned job status with the console behavior. Done means the sample job reaches completion without indefinite polling, with the cause documented or fixed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100