roblib/php_listeners — pull request #8 by yqjiang (2013-06-03 14:16:02+00:00)
Title: Textphpedit

edit $this->object to $this->fedora_object in encoded ocr function.

get result:
01/Jun/2013, 17:35:12, INFO, SOAP_LOG, islandora:377, JPEG, , Function AllOCR starting..., (phpunit)
01/Jun/2013, 17:35:12, INFO, SOAP_LOG, islandora:377, JPEG, , Fedora object successfully fetched, (phpunit)
01/Jun/2013, 17:35:12, INFO, SOAP_LOG, islandora:377, JPEG, , Text derivative created, (phpunit)
01/Jun/2013, 17:35:12, INFO, PROCESS_DATASTREAM, islandora:377, HOCR, , Starting processing, (phpunit)
01/Jun/2013, 17:35:12, INFO, temp file, , , , /tmp/143118455251aa5b008ddbd.jpeg, (phpunit)
01/Jun/2013, 17:35:14, INFO, PROCESS_DATASTREAM, islandora:377, HOCR, , Error opening data file /usr/local/share/tessdata/osd.traineddata, Warning: Auto orientation and script detection requested, but osd language failed to load, Tesseract Open Source OCR Engine v3.01 with Leptonica
Return value: 0, (phpunit)
01/Jun/2013, 17:35:14, INFO, COMPLETE_DATASTREAM, islandora:377, HOCR, , Finished processing, (phpunit)
01/Jun/2013, 17:35:14, INFO, PROCESS_DATASTREAM, islandora:377, ENCODED_OCR, , Starting processing /tmp/143118455251aa5b008ddbd.jpeg_HOCR.html, (phpunit)
01/Jun/2013, 17:35:14, INFO, COMPLETE_DATASTREAM, islandora:377, OCR, , Finished processing, (phpunit)
01/Jun/2013, 17:35:14, INFO, COMPLETE_DATASTREAM, islandora:377, ENCODED_OCR, , Finished processing, (phpunit)
01/Jun/2013, 17:35:14, INFO, SOAP_LOG, islandora:377, JPEG, , allOcr function successful, (phpunit)
01/Jun/2013, 17:35:14, INFO, SOAP_LOG, islandora:377, JPEG, , Function ocr starting..., (phpunit)
01/Jun/2013, 17:35:14, INFO, SOAP_LOG, islandora:377, JPEG, , Fedora object successfully fetched, (phpunit)
01/Jun/2013, 17:35:14, INFO, SOAP_LOG, islandora:377, JPEG, , Text derivative created, (phpunit)
01/Jun/2013, 17:35:14, INFO, PROCESS_DATASTREAM, islandora:377, OCR_TEST, , Starting processing, (phpunit)
01/Jun/2013, 17:35:14, INFO, temp file, , , , /tmp/15799293951aa5b022bf4d.jpeg, (phpunit)
01/Jun/2013, 17:35:15, INFO, COMPLETE_DATASTREAM, islandora:377, OCR_TEST, , Finished processing, (phpunit)
01/Jun/2013, 17:35:15, INFO, SOAP_LOG, islandora:377, JPEG, , ocr function successful, (phpunit)
01/Jun/2013, 17:35:15, INFO, SOAP_LOG, islandora:377, JPEG, , Function HOCR starting..., (phpunit)
01/Jun/2013, 17:35:15, INFO, SOAP_LOG, islandora:377, JPEG, , Fedora object successfully fetched, (phpunit)
01/Jun/2013, 17:35:15, INFO, SOAP_LOG, islandora:377, JPEG, , Text derivative created, (phpunit)
01/Jun/2013, 17:35:15, INFO, PROCESS_DATASTREAM, islandora:377, HOCR_TEST, , Starting processing, (phpunit)
01/Jun/2013, 17:35:17, INFO, COMPLETE_DATASTREAM, islandora:377, HOCR_TEST, , Finished processing, (phpunit)
01/Jun/2013, 17:35:17, INFO, SOAP_LOG, islandora:377, JPEG, , hOcr function successful, (phpunit)
01/Jun/2013, 17:35:17, INFO, SOAP_LOG, islandora:377, JPEG, , Function encodedOCR starting..., (phpunit)
01/Jun/2013, 17:35:17, INFO, SOAP_LOG, islandora:377, JPEG, , Fedora object successfully fetched, (phpunit)
01/Jun/2013, 17:35:17, INFO, SOAP_LOG, islandora:377, JPEG, , Text derivative created, (phpunit)
01/Jun/2013, 17:35:17, INFO, PROCESS_DATASTREAM, islandora:377, ENCODED_OCR_TEST, , Starting processing, (phpunit)
01/Jun/2013, 17:35:19, INFO, PASS_DATASTREAM, islandora:377, ENCODED_OCR_TEST, , Created the ENCODED_OCR_TEST derivative!, (phpunit)
01/Jun/2013, 17:35:19, INFO, COMPLETE_DATASTREAM, islandora:377, ENCODED_OCR_TEST, , Finished processing, (phpunit)
01/Jun/2013, 17:35:19, INFO, SOAP_LOG, islandora:377, JPEG, , encodedOcr function successful, (phpunit)
01/Jun/2013, 17:35:19, INFO, SOAP_LOG, islandora:313, JPG, , Function scholar starting..., (phpunit)
01/Jun/2013, 17:35:19, INFO, SOAP_LOG, islandora:313, JPG, , Fedora object successfully fetched, (phpunit)
01/Jun/2013, 17:35:19, INFO, SOAP_LOG, islandora:313, JPG, , Pdf derivative created, (phpunit)
01/Jun/2013, 17:35:19, INFO, SOAP_LOG, islandora:313, JPG, , scholarPdfa function successful, (phpunit)
in unit test