Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

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

@mizjaggy18

Description

@mizjaggy18

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 (<title>Apache Tomcat/7.0.68 (Ubuntu) - Error report</title><style></style>

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


type Status report

message /api/imageinstance/421363316/thumb.jpg

description The requested
resource is not available.


Apache Tomcat/7.0.68 (Ubuntu)

<script type="text/javascript" src="/_Incapsula_Resource?SWJIYLWA=719d34d31c8e3a6e6fffd425f7e032f3&ns=4&cb=396227663" async></script>)
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions