Skip to content

Task exception was never retrieved #6

@iakov

Description

@iakov

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions