Error converting TIFF files when uploading to WMS

Project:RUcore Workflow Management System (WMS)
Version:8.0.1
Component:File Upload Module
Category:bug report
Priority:normal
Assigned:yuyang
Status:closed
Description

Received the following errors when attempting to upload a TIFF file on staging, created from a dSLR digital camera. These errors did not occur when uploading an image from the same batch in version 8.0:

Presentation (jpeg) - 1:
Error getting image orientation for /workarea/rucore00000002063/51483/master/original-1-00051483.tif -> 1
0-->/workarea/rucore00000002063/51483/master/original-1-00051483.tif TIFF 5184x3456 5184x3456+0+0 8-bit sRGB 31.2MB 0.010u 0:00.000
1-->identify: /workarea/rucore00000002063/51483/master/original-1-00051483.tif: unknown field with tag 40961 (0xa001) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/891.
2-->identify: /workarea/rucore00000002063/51483/master/original-1-00051483.tif: unknown field with tag 42033 (0xa431) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/891.
3-->identify: /workarea/rucore00000002063/51483/master/original-1-00051483.tif: unknown field with tag 42034 (0xa432) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/891.
4-->identify: Tag 42034: Rational with zero denominator (num = 0). `/workarea/rucore00000002063/51483/master/original-1-00051483.tif' @ error/tiff.c/TIFFErrors/557.
5-->identify: /workarea/rucore00000002063/51483/master/original-1-00051483.tif: unknown field with tag 42036 (0xa434) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/891.

Error converting /workarea/rucore00000002063/51483/master/original-1-00051483.tif to /workarea/rucore00000002063/51483/jpeg/pres-1-00051483.jpeg
End.

Comments

#1

WMS ID on staging is 51483

#2

Its getting hard to keep up since testing later in the chain of servers
has caught bugs missed on earlier servers and because we are now
using rep-staging to test bug fixes.

Anyway, for the WMS 8.0.1 patch I was instructed to move back to
using the new ImageMagick install (/usr/local/bin/convert) and it is
currently compiled with the old libtiff3 library not libtiff5 which was
found to fix errors on rep-dev and rep-test.

I will work on compiling libtiff and ImageMagick for both rep-staging
and rep-prod. Until that is complete we probably cannot fully test
the 8.0.1 patch on rep-staging

#3

Thanks for looking into this Dave. Let's try the test again after Dave compiles libtif on rucore-staging.

#4

On rep-staging
- tiff-4.0.6 was installed which gives libtiff.so.5.2.4
- ImageMagick was recompiled and installed it now uses the above

rep-staging
# ldd /usr/local/bin/convert |grep libtiff
libtiff.so.5 => /usr/lib64/libtiff.so.5 (0x00007f931b8ec000)

You can try your tests again.

#5

Status:active» closed

Upload TIFF file and ingested successfully for rutgers-lib:201491 on rucore-staging. ImageMagick and TIFF conversion now work.

Back to top