Stream: troubleshooting

Topic: .tif thumbnail


view this post on Zulip Brian Cassidy (Feb 06 2024 at 17:27):

Hey All, I'm having an issue with .tif thumbnails. They're currently coming out as zero-byte pngs and obviously not showing up properly
image.png
I read in a ticket (https://github.com/IQSS/dataverse/issues/1738) about copying a library and restarting the web server, but that didn't help.

Any hints? Thanks.

view this post on Zulip Philip Durbin ๐Ÿš€ (Feb 06 2024 at 17:35):

Hmm, the screenshot reminds me a lot of the ones here: Thumbnail display issues with .nii (NifTI) files #7080

view this post on Zulip Brian Cassidy (Feb 06 2024 at 18:05):

FWIW, I'm seeing a lot of these messages from when the files were originally uploaded, but no real details:

[2024-02-06T12:46:12.031-0400] [Payara 5.2022.3] [WARNING] [] [edu.harvard.iq.dataverse.dataaccess.ImageThumbConverter] [tid:
_ThreadID=94 _ThreadName=http-thread-pool::jk-connector(3)] [timeMillis: 1707237972031] [levelValue: 900] [[
  caught Exceptiopn trying to create rescaled image /mnt/dataverse/temp/18d7f5010bd-5e512d218eb2.thumb64]]

view this post on Zulip Brian Cassidy (Feb 06 2024 at 18:15):

oh interesting. i went to the last page, and some thumnails are there:
image.png

view this post on Zulip Brian Cassidy (Feb 06 2024 at 18:15):

there's a lot of files as you can see (2730)

view this post on Zulip Brian Cassidy (Feb 06 2024 at 18:38):

We've switched to a double-zipped file since he actually wants the zips to be the files presented.
So, perhaps this was just a file limit issue -- we're working around it anyhow.

view this post on Zulip Philip Durbin ๐Ÿš€ (Feb 06 2024 at 18:55):

Can you reproduce it on https://demo.dataverse.org ?

view this post on Zulip Brian Cassidy (Feb 06 2024 at 19:48):

eh, i'll have to get back to you on that. not sure i can upload all those files...

view this post on Zulip Philip Durbin ๐Ÿš€ (Feb 06 2024 at 19:48):

Sure, no problem.

view this post on Zulip Juan (Feb 12 2024 at 11:30):

Hi Philip, Brian,
We had the same problem with two datasets. I have modified a file and upload it in the demo Dataverse portal: https://demo.dataverse.org/dataverse/pr
Our partial workaround was creating the thumbnails directly in the file system with the convert tool.

view this post on Zulip Philip Durbin ๐Ÿš€ (Feb 12 2024 at 13:32):

@Juan interesting, thanks. I'm confused though. If it's a tiff, why does it have a .gif extension?

view this post on Zulip Juan (Feb 12 2024 at 14:16):

@Philip Durbin , I have made a mistake when I renamed the file. test.gif is a tiff. file. I have updated the dataset with the same file, but the right file extension and the same problem.
imagen.png

view this post on Zulip Philip Durbin ๐Ÿš€ (Feb 12 2024 at 14:38):

Same md5. Same problem. Thanks!

view this post on Zulip Philip Durbin ๐Ÿš€ (Feb 12 2024 at 14:39):

@Juan would you (or @Brian Cassidy ) be willing to create a GitHub issue about this? And attach that test2.tif file, please?

view this post on Zulip Juan (Feb 12 2024 at 15:40):

@Philip Durbin, done: https://github.com/IQSS/dataverse/issues/10317

view this post on Zulip Philip Durbin ๐Ÿš€ (Feb 12 2024 at 16:49):

Thank you! :heart:


Last updated: Oct 30 2025 at 06:21 UTC