torontomulibrary/islandora_chef

islandora_ocr not picking up default english installed

Opened this issue · 4 comments

Warning: array_filter() expects parameter 1 to be array, null given in islandora_ocr_get_enabled_tesseract_languages() (line 122 of /var/www/drupal/htdocs/sites/all/modules/islandora_ocr/includes/utilities.inc).

Something seems to have sorted itself out. Unable to replicate this now.

It's back. Investigating.

Pretty sure it is the permissions on /usr/local/share/tessdata. It is set to root, and if it is switch to drupal, we appear to be good to go. I'll do a test build and see if that solves everything.

This one is wonky.

The error goes away if you visit admin/islandora/tools/ocr and hit submit.

bubbles_zpsb0e6e862

I've spend a fair bit of time trying to figure out how to make Chef click submit on that form and a few other varies roundabout hacks, and I've got nothing. Still that error 😢