Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

islandora_ocr not picking up default english installed #22

Open
ruebot opened this issue Nov 7, 2014 · 4 comments
Open

islandora_ocr not picking up default english installed #22

ruebot opened this issue Nov 7, 2014 · 4 comments

Comments

@ruebot
Copy link

ruebot commented Nov 7, 2014

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).

@ruebot
Copy link
Author

ruebot commented Nov 9, 2014

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

@ruebot ruebot closed this as completed Nov 9, 2014
@ruebot ruebot reopened this Nov 12, 2014
@ruebot
Copy link
Author

ruebot commented Nov 12, 2014

It's back. Investigating.

@ruebot
Copy link
Author

ruebot commented Nov 12, 2014

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.

@ruebot
Copy link
Author

ruebot commented Nov 12, 2014

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 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant