Cytomine-python-client icon indicating copy to clipboard operation
Cytomine-python-client copied to clipboard

get_images.py: cytomine.models._utilities.dump.DumpError: Could not dump the image.

Open mizjaggy18 opened this issue 9 months ago • 0 comments

Hi,

I'm facing this error for cytomine-python-client 2.3.3, fetching from Cytomine-bootstrap 3.1.0.

Container versions: rabbitmq:v1.1.2 postgis:v2.0.0 mongodb:v1.1.2 slurm:v1.2.0 iipofficial:v1.2.0 iipcyto:v1.2.2 bioformat:v1.1.2 ims:v1.2.6 core:v3.1.0 web_ui:v1.3.0 nginx:v1.3.1 software_router:v2.1.0

INFO:cytomine.client:[GET] /server/ping | 200 OK INFO:cytomine.client:[GET] [currentuser] CURRENT USER - 61 : admin | 200 OK INFO:cytomine.client:[GET] [imageinstance collection] 17 objects | 200 OK [imageinstance collection] 17 objects Image ID: 421363316 | Width: 250368 | Height: 572416 | Resolution: 0.0869455635547638 | Magnification: 40 | Filename: /1653969464848/S2022-688/S2022-688.mrxs ERROR:cytomine.client:[GET] http://cytomine.mmu.edu.my/api/imageinstance/421363316/thumb.jpg | 404 Not Found (

Apache Tomcat/7.0.68 (Ubuntu) - Error report

HTTP Status 404 - /api/imageinstance/421363316/thumb.jpg

<HR size="1" noshade="noshade">

type Status report

message /api/imageinstance/421363316/thumb.jpg

description The requested resource is not available.

<HR size="1" noshade="noshade">

Apache Tomcat/7.0.68 (Ubuntu)

) Traceback (most recent call last): File "G:\My Drive\MMU Postdoc\ISDB Project\Codes and algorithms\Python Codes\Cytomine-python-client-2.3.3\examples\get_images.py", line 79, in image.dump(os.path.join(dump_path, str(params.id_project), "{originalFilename}.jpg"),max_size=512) File "C:\Users\WSHMunirah\AppData\Local\Programs\Python\Python39\lib\site-packages\cytomine\models\image.py", line 251, in dump files = generic_image_dump(dest_pattern, self, dump_url_fn, override=override, **parameters) File "C:\Users\WSHMunirah\AppData\Local\Programs\Python\Python39\lib\site-packages\cytomine\models_utilities\dump.py", line 65, in generic_image_dump raise DumpError("Could not dump the image.") cytomine.models._utilities.dump.DumpError: Could not dump the image.

mizjaggy18 avatar Sep 20 '23 02:09 mizjaggy18