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

Harmony image format with http links fails to import #376

Open
dominikl opened this issue Jul 11, 2023 · 3 comments
Open

Harmony image format with http links fails to import #376

dominikl opened this issue Jul 11, 2023 · 3 comments

Comments

@dominikl
Copy link
Member

@imagesc-bot
Copy link

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/bioformats-importer-in-fiji-resolves-http-urls-to-tiffs-when-importing-image-index-file-but-omero-importer-does-not/83530/2

@dgault
Copy link
Member

dgault commented Jul 12, 2023

The full stack trace using the latest Insight client (version 5.8.1):

java.io.FileNotFoundException: http:/(hostname removed)/ODA/Images/C/c64431a8-f4be-4668-a36b-d43cc4969ab7/109-41-610-410-42-124-47-811.tiff (No such file or directory)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.(FileInputStream.java:157)
at ome.formats.importer.transfers.UploadFileTransfer.transfer(UploadFileTransfer.java:54)
at ome.formats.importer.ImportLibrary.uploadFile(ImportLibrary.java:531)
at org.openmicroscopy.shoola.env.data.OMEROGateway.importImageFile(OMEROGateway.java:5825)
at org.openmicroscopy.shoola.env.data.OmeroImageServiceImpl.importFile(OmeroImageServiceImpl.java:1233)
at org.openmicroscopy.shoola.env.data.views.calls.ImagesImporter.importFile(ImagesImporter.java:103)
at org.openmicroscopy.shoola.env.data.views.calls.ImagesImporter.access$000(ImagesImporter.java:49)
at org.openmicroscopy.shoola.env.data.views.calls.ImagesImporter$1.doCall(ImagesImporter.java:127)
at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:144)
at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)
at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)
at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)
at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:276)
at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
at java.base/java.lang.Thread.run(Thread.java:829)

at org.openmicroscopy.shoola.env.data.OMEROGateway.importImageFile(OMEROGateway.java:5857)
at org.openmicroscopy.shoola.env.data.OmeroImageServiceImpl.importFile(OmeroImageServiceImpl.java:1233)
at org.openmicroscopy.shoola.env.data.views.calls.ImagesImporter.importFile(ImagesImporter.java:103)
at org.openmicroscopy.shoola.env.data.views.calls.ImagesImporter.access$000(ImagesImporter.java:49)
at org.openmicroscopy.shoola.env.data.views.calls.ImagesImporter$1.doCall(ImagesImporter.java:127)
at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:144)
at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)
at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)
at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)
at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:276)
at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.FileNotFoundException: http:/(hostname removed)/ODA/Images/C/c64431a8-f4be-4668-a36b-d43cc4969ab7/109-41-610-410-42-124-47-811.tiff (No such file or directory)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.(FileInputStream.java:157)
at ome.formats.importer.transfers.UploadFileTransfer.transfer(UploadFileTransfer.java:54)
at ome.formats.importer.ImportLibrary.uploadFile(ImportLibrary.java:531)
at org.openmicroscopy.shoola.env.data.OMEROGateway.importImageFile(OMEROGateway.java:5825)
… 11 more

@jburel
Copy link
Member

jburel commented Aug 17, 2023

CLI import also does not allow to import data from a URL

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

4 participants