textr icon indicating copy to clipboard operation
textr copied to clipboard

Error upon running plug-in.

Open jaykeystone opened this issue 6 years ago • 4 comments

Every time I try to run the plugin, I get the following error message. I've tried changing the Matched Size field and the Thumbnail size field. I'm running Lightroom Classic CC 8.2 on macOS Mojave.

An internal error has occurred. [string "OcrText.lua"]:202: attempt to get length of field 'responses' (a nil value)

jaykeystone avatar Mar 26 '19 17:03 jaykeystone

I have the same problem!

Tomasu250 avatar Apr 09 '19 20:04 Tomasu250

I get the same on PC... any help?

scombre avatar May 14 '19 14:05 scombre

Also experiencing this

ChrisHammond avatar Jul 21 '21 15:07 ChrisHammond

Following up on this. I figured out how to make this work.

If I just went into an existing project and created credentials, I got this error:

An internal error has occurred: [string "OcrText.lua"]:202: attempt to get length of field 'responses' (a nil value)

In the cloud console, I created a new project, added the Cloud Vision API to the console. Setup the Owner role for that and created credentials and an API key for that project with the Cloud Vision API enabled.

After doing that, I was able to get the plugin working.

ChrisHammond avatar Jul 21 '21 16:07 ChrisHammond