KB Article #19203

Topic/Category: Applies to: v4.x

Issue:

Folder import fails for a PDF with an error like the following one:

Converted Tiff files count not equal to the the TIFF pages count. actualTiffFilesCount :: 0, expectedTifFilesCount :: 15 for batch instance ::BI9

2017-10-12 10:56:39,418 [ERROR] [pool-1-thread-3] [com.ephesoft.dcma.imp.FolderImporter] – Converted Tiff files count not equal to the the TIFF pages count. actualTiffFilesCount :: 0, expectedTifFilesCount :: 15 for batch instance ::BI9

2017-10-12 10:56:39,422 [ERROR] [pool-1-thread-3] [com.ephesoft.dcma.imp.service.ImportServiceImpl] – Converted Tiff files count not equal to the the TIFF pages count.

com.ephesoft.dcma.core.exception.DCMAApplicationException: Converted Tiff files count not equal to the the TIFF pages count.

Root Cause:

Windows has a limit on path length equal to 260 characters. When a file name is very long, the path during file import is even longer since various directories are created with the name of the original file. This happens when Ephesoft calls Ghostscript to convert the PDF file to multiple single page TIFFs.

Files with a name around 50 characters are likely to experience this error, especially on versions previous to 4.1x

This error is extremely unlikely to happen on Linux as the maximum allowed path is 4094 characters.

Solution:

Change the name of the file to something shorter.

Was this article helpful to you?

Ignacio de Castro Perez

Comments are closed.