The error message could be more helpful, but basically this is because there's a limit on the size of images that can be sent to the Cloud Vision API.

With a smaller version of the same image, it is working:

https://tools.wmflabs.org/ws-google-ocr/index.php?image=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fthumb%2F8%2F89%2FBengaliOCRtest.jpg%2F424px-BengaliOCRtest.jpg&lang=bn

I think this is a different error to the one in https://phabricator.wikimedia.org/T190216


On Wed, 21 Mar 2018, at 4:50 AM, Jayanta Nath wrote:
Please check it with one test file.

https://tools.wmflabs.org/ws-google-ocr/index.php?image=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F8%2F89%2FBengaliOCRtest.jpg&lang=bn

On Wed, Mar 21, 2018 at 2:16 AM, Bodhisattwa Mandal <bodhisattwa.rgkmc@gmail.com> wrote:
Hi Sam,
The Google OCR button and the tool is giving 500 internal server error output from today, although the Cloud Vision API is working fine.

We have reported in phabricator here. It would be great for us if you please look into this matter urgently as all our options are suddenly ceasing to work.

--
Bodhisattwa


_______________________________________________
Wikisource-l mailing list
Wikisource-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikisource-l

_______________________________________________
Wikisource-l mailing list
Wikisource-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikisource-l