I am getting the following error when I try to use the Image to text tool. It seems to only happen when I use a template. Does anyone know how to fix this?
Image to Text (5) Traceback (most recent call last):¶ File "image_to_text_engine.py", line 546, in ii_close¶ File "image_to_text_engine.py", line 340, in check_input_complete¶ File "image_to_text_engine.py", line 280, in process_images¶RuntimeError: The field "" is not contained in the record.¶
Would it be possible for you to share a screenshot of your workflow and how you have the tool configured? The Image to Text tool is configured as follows:
Use Image to Text to convert BLOB images to text.
Tool Components
The Image to Text tool has three anchors:
Configure the Tool
Output
The Image to Text tool creates a column in the dataset. Each row in the column contains text from the pages of the PDF image.
Here is a screenshot of the workflow along with the configuration. Below is a copy of the complete error.
Image to Text (5) Traceback (most recent call last):¶ File "image_to_text_engine.py", line 546, in ii_close¶ File "image_to_text_engine.py", line 340, in check_input_complete¶ File "image_to_text_engine.py", line 280, in process_images¶RuntimeError: The field "" is not contained in the record.¶
Can you try putting a sample between the PDF input and the image to text? I am curious if it can apply the template to some PDFs but not others
There is only one pdf in going into the tool. I tried using it on other PDF's and it still was not working. I have reached out to Alteryx Support.