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

Estimated Remaining Time and Progress are 0 #667

Open
vnandan opened this issue May 11, 2023 · 0 comments
Open

Estimated Remaining Time and Progress are 0 #667

vnandan opened this issue May 11, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@vnandan
Copy link

vnandan commented May 11, 2023

Summary
Sending a request running a docker container does not return the Estimated Remaining Time and Progress Percentage as expected.

Steps To Reproduce

  1. Pull and docker up the container from latest image
  2. Sending a request to POST file. curl --location 'http://localhost:3001/api/v1/document' --form 'file=@"/Users/vipul/Desktop/myfile.pdf"'
  3. Receive queue id.
  4. Send request
    curl --location 'http://localhost:3001/api/v1/queue/69aff27ca931be0bfbed53ce580e5d'
  5. Response
{
    "estimated-remaining-time": null,
    "progress-percentage": 0,
    "start-date": "2023-05-11T11:50:38.172Z",
    "status": "executing command: python3 /usr/local/bin/pdf2txt.py -p 1,2,3,4,5,6,7,8,9,10,11,12,13,14 --detect-vertical -R 0 -c utf-8 -t xml --word-margin 0.2 -o /tmp/fdf720d32c89e86f83d95a9acaf95c.xml /tmp/82e9879b46a7f41aabe5a3dd9870f9.pdf"
}

Expected behavior
Estimated value of remaining time and progress percentage for UI.

Image Used:
latest tag

Tested via a Python Script and Postman

@vnandan vnandan added the bug Something isn't working label May 11, 2023
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

1 participant