denshoproject / ddr-cmdln

Command-line tools for automating the Densho Digital Repository's various processes.
Other
0 stars 2 forks source link

Tif files not being converted into access jpg successfully #201

Closed sarabeckman closed 3 years ago

sarabeckman commented 3 years ago

Tif files in two collections, ddr-sbbt-3 and ddr-csujad-29 are not successfully creating access jpg files. I have tried both deleting the file and reuploading which did not fix issue. I also have tried the "generate new access file" button which also did not fix the issue.

Jost suggested trying convert /path/to/IMAGENAME.tif /tmp/IMAGENAME.jpg. I tried this on both my local VM (V5.0.16_HQMA) and Maunakea (10.0.1.17) and got this message: (cmdln) ddr@maunakea:/media/qnfs/kinkura/working/Problem_Tifs$ convert ./ddr-sbbt-3-28-mezzanine-e9670899fa.tif ./ddr-sbbt-3-28-mezzanine-e9670899fa.jpg convert-im6.q16: Incompatible type for "RichTIFFIPTC"; tag ignored.TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/949. convert-im6.q16: width or height exceeds limit ./ddr-sbbt-3-28-mezzanine-e9670899fa.tif' @ error/cache.c/OpenPixelCache/3912. convert-im6.q16: no images defined./ddr-sbbt-3-28-mezzanine-e9670899fa.jpg' @ error/convert.c/ConvertImageCommand/3258`

Files that are having this issues have been copied to /media/qnfs/kinkura/working/Problem_Tifs

gjost commented 3 years ago

Images are too big. I'll have to update the policy.xml file

GeoffFroh commented 3 years ago

Addressed on maunakea but needs to be added to the makefile, and deployed into package.

FWIW, this bug only affects very large ingest files so likely not a critical issue at this time.

gjost commented 3 years ago

Fixed in commit c1c1bc2 on ddr-cmdln develop branch.