Distro icon indicating copy to clipboard operation
Distro copied to clipboard

Error while uploading a svs file

Open Ahmad-Bin-Zahid opened this issue 1 year ago • 16 comments

Docker image was created with the develop.yml. Now i am simply trying to upload a svs file but it is giving me the following error. Screenshot 2023-05-22 at 3 47 54 PM

Ahmad-Bin-Zahid avatar May 22 '23 10:05 Ahmad-Bin-Zahid

First It was not even giving token but now its generating a token and the file is being uploaded just fine. But when we open the file it shows nothing. Screenshot 2023-05-24 at 4 52 49 PM

Ahmad-Bin-Zahid avatar May 24 '23 10:05 Ahmad-Bin-Zahid

Thank you for reaching out! Do you see anything in the logs for the ca-load docker container?

birm avatar May 24 '23 15:05 birm

Thanks for your response. Well the logs for ca-load are clear. But I did found the following logs in ca-back and browser console. Screenshot 2023-05-25 at 12 47 48 PM Screenshot 2023-05-25 at 12 47 50 PM

Ahmad-Bin-Zahid avatar May 25 '23 07:05 Ahmad-Bin-Zahid

Any idea @birm to why this is failing to load files?

Ahmad-Bin-Zahid avatar Jun 06 '23 06:06 Ahmad-Bin-Zahid

Hello @birm,

I wanted to bring to your attention that I am experiencing the same issue as Ahmad mentioned earlier. Could you please provide any suggestions or guidance on how to resolve this problem? Thank you,

arshah18 avatar Jun 13 '23 21:06 arshah18

Thank you for reaching out! Do you see anything in the logs for the ca-load docker container?

@birm Could you please check the error that @Ahmad-Bin-Zahid has highlighted as I am facing the same issue. Thank you,

arshah18 avatar Jun 19 '23 20:06 arshah18

We've updated permissions on some of the containers, has this fixed the issue?

birm avatar Jun 20 '23 13:06 birm

We've updated permissions on some of the containers, has this fixed the issue?

I am still getting the same error message. @Ahmad-Bin-Zahid were you able to fix it?

arshah18 avatar Jun 21 '23 15:06 arshah18

Can you share some logs from docker logs ca-load while you try to add an image?

birm avatar Jun 21 '23 15:06 birm

@birm Sorry but same issue as before. Slide was uploaded successfully and the preview of it while uploading was also showing. But opening it after uploading shows nothing. I found no logs in ca-load but got some of these in browser console. I downloaded these sample tiff files from openslide Screenshot 2023-06-23 at 4 11 06 PM Screenshot 2023-06-23 at 4 07 03 PM

Ahmad-Bin-Zahid avatar Jun 23 '23 11:06 Ahmad-Bin-Zahid

Do you see anything in the logs for ca-iip?

birm avatar Jun 23 '23 17:06 birm

@birm Sorry brim no logs were found there

Ahmad-Bin-Zahid avatar Jun 26 '23 14:06 Ahmad-Bin-Zahid

Do you see anything in the logs for ca-iip?

@birm Me and Ahmad are working together on this and Ahmad is still stuck with the same issue. As per Ahmad, there are still no logs. Do you think there is a way we can fix this issue?

arshah18 avatar Jul 17 '23 19:07 arshah18

Thank you for your patience here. Can you copy a openslide compatible file directly to distro/images/ and see if you can see the tiles for that (replace the tile url location with the new file). You could also try $CAMIC.viewer.open("https://wolf.cci.emory.edu/camic/bcg/img/IIP/raw/?DeepZoom=/images/*filename.svs.*dzi") to the same effect.

This would help answer if something is wrong with the file transfer or not.

birm avatar Jul 18 '23 15:07 birm

Thank you @birm. I switched from Linux to Mac, and now it is working for me. I am able to upload the svs slides. @Ahmad-Bin-Zahid Are you able to work it around? Let us know if it has something to do with file transfer as mentioned by @birm or maybe the platform issue.

arshah18 avatar Jul 18 '23 16:07 arshah18

@birm I dont know what the problem is but the slide is being shown perfectly on one mac and is displaying nothing on the other.

Ahmad-Bin-Zahid avatar Jul 31 '23 07:07 Ahmad-Bin-Zahid