nextcloud / nextcloud/fulltextsearch

tesseract not working?

Open
#428 11 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.