Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mizjaggy18 opened this issue Sep 20, 2023 · 0 comments

Comments

@mizjaggy18
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant