TIFFReadEncodedTile failed

Help
Anonymous
2009-10-10
2012-10-06
  • Anonymous

    Anonymous - 2009-10-10

    Has anyone seen this "TIFFReadEncodedTile failed" error or have any
    advice about how to get past it?

    The page loads with a bunch of unloaded image tiles, but then seems to sit
    loading forever and just repeating the error snippet below in the log.

    This is on a Mac Server Leopard, Apache 2.2.6.

    Thanks in advance,
    R

    CVT maximum viewport size set to 3000
    Full Request is
    FIF=/Library/WebServer/Documents/PalaisDuLouvre.tif&obj=IIP,1.0&obj
    =Max-size&obj=Tile-size&obj=Resolution-number
    : Command / Argument is FIF : /Library/WebServer/Documents/PalaisDuLouvre.tif
    Image cache hit. Number of elements: 2
    FIF :: TIFF image requested
    image width is 4000 and height is 828
    : Command / Argument is obj : IIP,1.0
    OBJ :: Total command time 3 microseconds
    : Command / Argument is obj : Max-size
    OBJ :: Max-size is 4000 828
    OBJ :: Total command time 49 microseconds
    : Command / Argument is obj : Tile-size
    OBJ :: Tile-size is 128 128
    OBJ :: Total command time 49 microseconds
    : Command / Argument is obj : Resolution-number
    OBJ :: Resolution-number handler returning 6
    OBJ :: Total command time 47 microseconds
    Total Request Time: 1354 microseconds
    image closed and deleted
    Server count is 16699

    CVT maximum viewport size set to 3000
    Full Request is FIF=/Library/WebServer/Documents/PalaisDuLouvre.tif&cnt=1&
    amp;sds=0,90&jtl=5,171
    : Command / Argument is FIF : /Library/WebServer/Documents/PalaisDuLouvre.tif
    Image cache hit. Number of elements: 2
    FIF :: TIFF image requested
    image width is 4000 and height is 828
    : Command / Argument is cnt : 1
    CNT handler reached
    : Command / Argument is sds : 0,90
    SDS :: set to 0, 90
    : Command / Argument is jtl : 5,171
    TileManager :: Cache Miss for resolution: 5, tile: 171
    TileManager :: Cache Size: 0 tiles, 0 MB
    TIFFReadEncodedTile failed for /Library/WebServer/Documents/PalaisDuLouvre.tif

    Total Request Time: 4196 microseconds
    image closed and deleted
    Server count is 16700

    CVT maximum viewport size set to 3000
    Full Request is FIF=/Library/WebServer/Documents/PalaisDuLouvre.tif&cnt=1&
    amp;sds=0,90&jtl=5,109
    : Command / Argument is FIF : /Library/WebServer/Documents/PalaisDuLouvre.tif
    Image cache hit. Number of elements: 2
    FIF :: TIFF image requested
    image width is 4000 and height is 828
    : Command / Argument is cnt : 1
    CNT handler reached
    : Command / Argument is sds : 0,90
    SDS :: set to 0, 90
    : Command / Argument is jtl : 5,109
    TileManager :: Cache Miss for resolution: 5, tile: 109
    TileManager :: Cache Size: 0 tiles, 0 MB
    TIFFReadEncodedTile failed for /Library/WebServer/Documents/PalaisDuLouvre.tif

     
  • Ruven

    Ruven - 2009-10-12

    i presume the image is taken directly from the IIPImage web site. In which
    case the problem is not with the image, but something server-side. Does the
    server process have permission to read the image? Are there any error messages
    in the Apache log related to the IIPImage server?

     
  • von88

    von88 - 2010-09-28

    I am seeing this error as well. Using lighttpd and no errors in the log... Any
    ideas? I am using mootools viewer and have it pointed to the Louvre demo
    image:

    Essentially it loops forever doing this:

    CVT maximum viewport size set to 3000
    Full Request is FIF=/var/www/PalaisDuLouvre.tif&cnt=1&sds=0,90&jtl=2,0
    : Command / Argument is FIF : /var/www/PalaisDuLouvre.tif
    FIF handler reached
    FIF :: URL decoding/filtering: /var/www/PalaisDuLouvre.tif =>
    /var/www/PalaisDuLouvre.tif
    FIF :: Image cache hit. Number of elements: 3
    FIF :: TIFF image requested
    FIF :: Created image
    FIF :: Image dimensions are 4000 x 828
    FIF :: Image timestamp: Thu May 31 18:40:35 2007
    FIF :: Total command time 541 microseconds
    : Command / Argument is cnt : 1
    CNT handler reached
    CNT :: requested contrast adjustment is 1
    : Command / Argument is sds : 0,90
    SDS handler reached
    SDS :: set to 0, 90
    : Command / Argument is jtl : 2,0
    JTL handler reached
    TileManager :: Cache Miss for resolution: 2, tile: 0
    TileManager :: Cache Size: 0 tiles, 0 MB
    TIFFReadEncodedTile failed for /var/www/PalaisDuLouvre.tif

    Total Request Time: 769 microseconds
    image closed and deleted
    Server count is 140189

    Image in in /var/www as you can see and set to chmod 777...

    Any ideas?
    Thanks!

     
  • von88

    von88 - 2010-09-29

    Not that familiar with lighttpd but the log seems normal:

    2010-09-29 06:58:53: (response.c.299) Request-URI :
    /usr/share/lighttpd/iipsrv.fcgi FIF=/var/www/imgs/PalaisDuLouvre.tif&JTL=0,0

    2010-09-29 06:58:53: (response.c.300) URI-scheme : http

    2010-09-29 06:58:53: (response.c.539) -- logical -> physical
    2010-09-29 06:58:53: (response.c.540) Doc-Root : /var/www/
    2010-09-29 06:58:53: (response.c.541) Rel-Path :
    /usr/share/lighttpd/iipsrv.fcgi
    2010-09-29 06:58:53: (response.c.542) Path :
    /var/www/usr/share/lighttpd/iipsrv.fcgi
    2010-09-29 06:58:53: (mod_fastcgi.c.3071) got proc: pid: 2459 socket:
    tcp:127.0.0.1:9000 load: 1
    2010-09-29 06:58:53: (mod_fastcgi.c.1492) released proc: pid: 2459 socket:
    tcp:127.0.0.1:9000 load: 0

    It shows that iipimage is being called but then the TIFFEncodedTile process
    fails...
    I tried putting the image in other places, all chmodded recursively to make
    sure lighttpd can access but same error...

     
  • Ruven

    Ruven - 2010-09-29

    Perhaps there is a problem with how libtiff was compiled? The line "FIF ::
    Image dimensions are 4000 x 828 " shows that it's able to open and read
    metadata from the tiff file. The tiles in the example image are compressed
    using JPEG. Have you tried with your own image using lossless or no
    compression? Perhaps your libtiff has not been compiled with JPEG support.

     
  • von88

    von88 - 2010-09-29

    wow - that was it! Thank you so much for your help and for creating IIPImage !
    I am planning to use this for a pretty interesting museum project - will send
    you a link when it's launched.
    - x

     
  • Ruven

    Ruven - 2010-09-30

    Yes, I'd definitely be interested in seeing your project!

     

Anonymous
Anonymous

Cancel  Add attachments