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

Task exception was never retrieved #6

Open
iakov opened this issue May 30, 2022 · 0 comments
Open

Task exception was never retrieved #6

iakov opened this issue May 30, 2022 · 0 comments

Comments

@iakov
Copy link
Member

iakov commented May 30, 2022

Release version 1.0 reports for tasks something like this one:

Task exception was never retrieved
future: <Task finished name='Task-4' coro=<send_prediction() done, defined at TRIKLobeServer.py:123> exception=OSError('image file is truncated (7 bytes not processed)')>
Traceback (most recent call last):
  File "TRIKLobeServer.py", line 125, in send_prediction
  File "TRIKLobeServer.py", line 107, in predict
  File "lobe\model\image_model.py", line 41, in predict_from_url
  File "lobe\model\image_model.py", line 47, in predict
  File "lobe\image_utils.py", line 88, in preprocess_image
  File "lobe\image_utils.py", line 64, in ensure_rgb_format
  File "PIL\Image.py", line 904, in convert
  File "PIL\ImageFile.py", line 259, in load
OSError: image file is truncated (7 bytes not processed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant