amazon-textract-textractor icon indicating copy to clipboard operation
amazon-textract-textractor copied to clipboard

KeyError in get_lines_string

Open sbui-dev opened this issue 1 year ago • 0 comments

The trp code called by get_lines_string() expects the cid key to be in blockMap. If it's not, an exception is thrown in trp int_.py:

line 153, in __init__
    if (blockMap[cid]["BlockType"] == "WORD"):
        ~~~~~~~~^^^^^
KeyError: 'd019e793-f973-4326-87ef-a4bfa06619ab'

sbui-dev avatar Apr 05 '24 19:04 sbui-dev