Opened 14 years ago
Closed 14 years ago
#3516 closed defect (fixed)
Error 'TIFFRewriteDirectory:Error fetching directory link' while executing tiff_write_54
Reported by: | Even Rouault | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | svn-trunk |
Severity: | normal | Keywords: | gtiff |
Cc: |
Description
Frank,
I've observed an error message triggered by tiff_write_54. I highly suspect this to be related to the changes done in gtiff/libtiff in r19266.
Here's the log of a python session with CPL_DEBUG ON
>>> import gdal >>> ds = gdal.GetDriverByName('GTiff').Create('tmp/tiff_write_54.tif',256, 256, 3,options=['TILED=YES', 'COMPRESS=JPEG', 'PHOTOMETRIC=YCBCR'] ) GDAL: GDALDriver::Create(GTiff,tmp/tiff_write_54.tif,256,256,3,Byte,0x965a7c) >>> ds.GetRasterBand(1).Fill(0) 0 >>> ds.FlushCache() GTiff: directory moved during flush, unhandled! >>> ds = None ERROR 1: TIFFRewriteDirectory:Error fetching directory link ERROR 1: TIFFRewriteDirectory:Error fetching directory link GDAL: GDALClose(tmp/tiff_write_54.tif, this=0x939d20)
Note:
See TracTickets
for help on using tickets.
Fixed by r19484