Cytomine-python-client
Cytomine-python-client copied to clipboard
Annotation dumps failing on mask, even using example code
Hello,
Using the example code get_annotations.py I am seeing repeatable dump failures for about 50% of the annotations in a current project, while the others dump just fine.
The errors seem to always be on the masks (the crops download fine), and are either: 500 Internal Server Error 502 Bad Gateway
Here is an example:
#crop downloads successfully: [2022-10-11 08:48:42,065][INFO] File downloaded successfully from http://redacted.computer.name/api/userannotation/1539856/crop.jpg with parameters {'maxSize': 512, 'bits': 8, 'complete': True}
#mask fails with Bad Gateway:
[2022-10-11 08:48:42,087][INFO] [GET] http://redacted.computer.name/api/userannotation/1539856/mask.jpg | 502 Bad Gateway
Traceback (most recent call last):
File "redacted/get_annotations.py", line 139, in
I am using Cytomine 3.0.0 , Python 3.9.7
Any thoughts on what might be wrong? Crops download fine for all annotations, even the half that the masks fail on.
Thanks!
Dennis