My Oracle Support Banner

Error Converting Document to TIF Using GhostScript "The output file of the external conversion program does not exist" (Doc ID 2799487.1)

Last updated on MARCH 24, 2023

Applies to:

Oracle WebCenter Enterprise Capture - Version 12.2.1.4.0 to 12.2.1.4.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

Using Capture 12.2.1.4.0 and configured Document Conversion Processor to convert using GhostScript. When processing a PDF through the job, the following error is returned:

[2021-08-02T06:49:39.492-05:00] [capture_server1] [ERROR] [] [oracle.odc.docconverterprocessor.DocumentConverterProcessor] [tid: [ACTIVE].ExecuteThread: '27' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: <ECID>] [APP: capture] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] Error occurred while processing batch.[[
oracle.odc.docconverter.DocExportException: Error: Conversion failed due to return code.. Workspace MBOL_DOCS_SEPARATOR. Batch ID: 333. Batch Name: mbol73. Item ID: input.pdf. Conversion Program: C:\Program Files\gs\gs9.27\bin\gswin64c.exe. Command Line: -q -dNOPAUSE -dNumRenderingThreads=4 -sCompression=lzw -r300 -sDEVICE=tiffgray -sOutputFile=C:\Users\<username>\AppData\Local\Temp\333\images\input.pdf.TIF C:\Users\<username>\AppData\Local\Temp\333\input.pdf -c quit. Return Code: 1.
at oracle.odc.docconverterprocessor.DocumentConverterProcessor.validateExternalExportResult(DocumentConverterProcessor.java:823)
at oracle.odc.docconverterprocessor.DocumentConverterProcessor.exportNonImageFileUsingExternalApp(DocumentConverterProcessor.java:767)
at oracle.odc.docconverterprocessor.DocumentConverterProcessor.exportNonImageFile(DocumentConverterProcessor.java:835)
...
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)

]]

On other systems, the error may appear as:

Error occurred while processing batch.[[oracle.odc.docconverter.DocExportException: Error: The output file of the external conversion program does not exist. Missing file: /tmp/222244/images/222244.1.TIF.. Workspace Mastec_AP_Invoice. Batch ID: 222244. Batch Name: MNSFLD-19695. Item ID: 22244.1. Conversion Program: /u01/app/gs/gs-952-linux-x86_64. Command Line: -q -dQUIET -dBATCH -dNOPAUSE -dNumRenderingThreads=4 -sCompression=lzw -r300 -sDEVICE=tiffgray -sOutputFile=/tmp/222244/images/222244.1.TIF /tmp/222244/222244.1 -c quit. Return Code: 0.

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.