Discussion:
[Wikisource-l] 500 Internal Server Error for Google OCR button
Bodhisattwa Mandal
2018-03-20 20:46:03 UTC
Permalink
Hi Sam,

The Google OCR button and the tool
<https://tools.wmflabs.org/ws-google-ocr/> is giving 500 internal server
error output from today, although the Cloud Vision API is working fine
<https://cloud.google.com/vision/docs/drag-and-drop>.

We have reported in phabricator here
<https://phabricator.wikimedia.org/T190216>. It would be great for us if
you please look into this matter urgently as all our options are suddenly
ceasing to work.
--
Bodhisattwa
Jayanta Nath
2018-03-20 20:50:09 UTC
Permalink
Please check it with one test file.

Loading Image...&lang=bn

On Wed, Mar 21, 2018 at 2:16 AM, Bodhisattwa Mandal <
Post by Bodhisattwa Mandal
Hi Sam,
The Google OCR button and the tool
<https://tools.wmflabs.org/ws-google-ocr/> is giving 500 internal server
error output from today, although the Cloud Vision API is working fine
<https://cloud.google.com/vision/docs/drag-and-drop>.
We have reported in phabricator here
<https://phabricator.wikimedia.org/T190216>. 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
https://lists.wikimedia.org/mailman/listinfo/wikisource-l
Sam Wilson
2018-03-21 01:02:25 UTC
Permalink
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:

Loading Image...&lang=bn
I think this is a different error to the one in
https://phabricator.wikimedia.org/T190216
Post by Jayanta Nath
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
The Google OCR button and the tool[1] is giving 500 internal server
error output from today, although the Cloud Vision API is working
fine[2].>>
We have reported in phabricator here[3]. 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
https://lists.wikimedia.org/mailman/listinfo/wikisource-l
_________________________________________________
Wikisource-l mailing list
https://lists.wikimedia.org/mailman/listinfo/wikisource-l
Links:

1. https://tools.wmflabs.org/ws-google-ocr/
2. https://cloud.google.com/vision/docs/drag-and-drop
3. https://phabricator.wikimedia.org/T190216

Loading...