label-studio
label-studio copied to clipboard
Error on submiting annotations for BrushLabels
Describe the bug I have created project with BrushLabels and on some images I can not "Submit" or "Update", I get popup that says "illegal argument(s): seek pos out of bounds: 0". I don't see anything else in terminal log (I am running labelstudio in python virtual env, but tried in docker too). While in javascript console I get "[Violation] 'click' handler took 1417ms" or some other value for infront of ms.
This is happening on some images, while not on others and I am not sure on what is the difference, images are from the same source and process (drone images of sunflower fields) and tried them multiple times in different environments. Results are consisted for the same image.
I can provide images if that can help:
- example of image that returns error: https://www.mediafire.com/view/scvx64fgxrzx5uq/error_example.jpg/file
- example of image that does not return error: https://www.mediafire.com/view/14efyt6s6kw1bie/no_error_example.jpg/file
To Reproduce Steps to reproduce the behavior:
- Make brush label project
- Add image
- Do annotation
- Try to "Submit" or "Update"
- See error
Expected behavior I expect not to get error, and to have work saved.
Environment (please complete the following information):
- OS: Linux, one Gentoo, second is Ubuntu
- Label Studio Version "1.5.0post0"
Any suggestion what to check is appreciated.
It might have something with resolution of the image, still trying out different sizes to find the limit.
Update: It is dependent on image resolution, anything above 64M pixels is giving back named error.
To Reproduce:
-
Upload image with resolution 5813x11541 (<64x1024x1024) and submitting annotation works as expected.
-
Upload image with resolution 5814x11543 (>64x1024x1024) and submitting annotation will produce popup with message "illegal argument(s): seek pos out of bounds: 0"