camicroscope / Distro

Docker distribution of camicroscope and all its components
http://camicroscope.org
BSD 3-Clause "New" or "Revised" License
28 stars 143 forks source link

Error while uploading a svs file #207

Open Ahmad-Bin-Zahid opened 1 year ago

Ahmad-Bin-Zahid commented 1 year ago

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 commented 1 year ago

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

birm commented 1 year ago

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

Ahmad-Bin-Zahid commented 1 year ago

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 commented 1 year ago

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

arshah18 commented 1 year ago

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 commented 1 year ago

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,

birm commented 1 year ago

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

arshah18 commented 1 year ago

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?

birm commented 1 year ago

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

Ahmad-Bin-Zahid commented 1 year ago

@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

birm commented 1 year ago

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

Ahmad-Bin-Zahid commented 1 year ago

@birm Sorry brim no logs were found there

arshah18 commented 1 year ago

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?

birm commented 1 year ago

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.

arshah18 commented 1 year ago

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.

Ahmad-Bin-Zahid commented 1 year ago

@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.