nextcloud / nextcloud/fulltextsearch
tesseract not working?
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 234
- Forks
- 64
- Avg merge
- 6h 18m
- Merged PRs (30d)
- 10
Description
Hello,
is tesseract not working? How can I check that?
I get this message while scanning?
Exception: Argument 1 passed to OCA\Files_FullTextSearch_Tesseract\Service\TesseractService::extractContentUsingTesseractOCR() must be an instance of OCA\FullTextSearch\Model\IndexDocument, object given, called in /var/www/cloud/apps/files_fulltextsearch_tesseract/lib/Service/TesseractService.php on line 104
│ Message: Error while getting file content
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the scanning error and inspect apps/files_fulltextsearch_tesseract/lib/Service/TesseractService.php, especially the call at line 104 and extractContentUsingTesseractOCR(). Done means identifying and correcting the reported argument mismatch so scanning no longer raises the exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100