Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] OCR-menu in gscan2pdf not recognizing tesseract but shows GOCR
@ 2023-03-22 19:08 numerys
  2023-03-22 21:58 ` numerys
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: numerys @ 2023-03-22 19:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1562 bytes --]

New issue by numerys on void-packages repository

https://github.com/void-linux/void-packages/issues/42932

Description:
### Is this a new report?

Yes

### System Info

Void 6.1.20_1 x86_64 GenuineIntel uptodate rrrmFFFF

### Package(s) Affected

gscan2pdf-2.13.2_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

I installed gscan2pdf along with tesseract.

    xbps-install -Su gscan2pdf tesseract-ocr-all pdftk

When gscan2pdf is ready to scan it should offer a menu to choose the Tesseract-OCR engine from. A correct menu would look like:

![menuentry](https://user-images.githubusercontent.com/17107201/227005276-83ec88d5-c201-4655-9176-fb1e52883145.png) 

### Actual behaviour

The mentioned menuentry shows GOCR and only GOCR, beside it seems no GOCR package is in the Void [repository](https://voidlinux.org/packages/?arch=x86_64&q=gocr) and misses the Tesseract-entry. It looks like:

![Bildschirmfoto vom 2023-03-22 19-45-56](https://user-images.githubusercontent.com/17107201/227006967-e9049bfa-0437-49f1-b4d9-c42bb3babd4e.png)


### Steps to reproduce

1. Run a desktop environment of your choice
2. Install gscan2pdf and tesseract
    `xbps-install -Su gscan2pdf tesseract-ocr-all pdftk`
3. Attach a supported scanner
4. Run gscan2pdf

A [gscan2pdf.log](https://github.com/void-linux/void-packages/files/11043819/gscan2pdf.log) is attached for documentation. It does show that the a tesseract-engine is found and a gocr-engine is not found.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: OCR-menu in gscan2pdf not recognizing tesseract but shows GOCR
  2023-03-22 19:08 [ISSUE] OCR-menu in gscan2pdf not recognizing tesseract but shows GOCR numerys
@ 2023-03-22 21:58 ` numerys
  2023-03-22 22:54 ` numerys
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: numerys @ 2023-03-22 21:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 237 bytes --]

New comment by numerys on void-packages repository

https://github.com/void-linux/void-packages/issues/42932#issuecomment-1480312812

Comment:
I searched `Tesseract.pm` but could not find a bug. @sgn, @newbluemoon could you take a look?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: OCR-menu in gscan2pdf not recognizing tesseract but shows GOCR
  2023-03-22 19:08 [ISSUE] OCR-menu in gscan2pdf not recognizing tesseract but shows GOCR numerys
  2023-03-22 21:58 ` numerys
@ 2023-03-22 22:54 ` numerys
  2023-03-24  1:02 ` numerys
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: numerys @ 2023-03-22 22:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 377 bytes --]

New comment by numerys on void-packages repository

https://github.com/void-linux/void-packages/issues/42932#issuecomment-1480358202

Comment:
I've found it, the lines

https://sourceforge.net/p/gscan2pdf/code/ci/master/tree/lib/Gscan2pdf/Tesseract.pm#l73
https://sourceforge.net/p/gscan2pdf/code/ci/master/tree/lib/Gscan2pdf/Tesseract.pm#l76

must not be edited ("-ocr")

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: OCR-menu in gscan2pdf not recognizing tesseract but shows GOCR
  2023-03-22 19:08 [ISSUE] OCR-menu in gscan2pdf not recognizing tesseract but shows GOCR numerys
  2023-03-22 21:58 ` numerys
  2023-03-22 22:54 ` numerys
@ 2023-03-24  1:02 ` numerys
  2023-03-29 14:33 ` Hoshpak
  2023-03-29 14:33 ` [ISSUE] [CLOSED] " Hoshpak
  4 siblings, 0 replies; 6+ messages in thread
From: numerys @ 2023-03-24  1:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 250 bytes --]

New comment by numerys on void-packages repository

https://github.com/void-linux/void-packages/issues/42932#issuecomment-1482107998

Comment:
I created a [pull request](https://github.com/void-linux/void-packages/pull/42968) with a corrected patch.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: OCR-menu in gscan2pdf not recognizing tesseract but shows GOCR
  2023-03-22 19:08 [ISSUE] OCR-menu in gscan2pdf not recognizing tesseract but shows GOCR numerys
                   ` (2 preceding siblings ...)
  2023-03-24  1:02 ` numerys
@ 2023-03-29 14:33 ` Hoshpak
  2023-03-29 14:33 ` [ISSUE] [CLOSED] " Hoshpak
  4 siblings, 0 replies; 6+ messages in thread
From: Hoshpak @ 2023-03-29 14:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 159 bytes --]

New comment by Hoshpak on void-packages repository

https://github.com/void-linux/void-packages/issues/42932#issuecomment-1488743762

Comment:
fixed in #42968

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ISSUE] [CLOSED] OCR-menu in gscan2pdf not recognizing tesseract but shows GOCR
  2023-03-22 19:08 [ISSUE] OCR-menu in gscan2pdf not recognizing tesseract but shows GOCR numerys
                   ` (3 preceding siblings ...)
  2023-03-29 14:33 ` Hoshpak
@ 2023-03-29 14:33 ` Hoshpak
  4 siblings, 0 replies; 6+ messages in thread
From: Hoshpak @ 2023-03-29 14:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1565 bytes --]

Closed issue by numerys on void-packages repository

https://github.com/void-linux/void-packages/issues/42932

Description:
### Is this a new report?

Yes

### System Info

Void 6.1.20_1 x86_64 GenuineIntel uptodate rrrmFFFF

### Package(s) Affected

gscan2pdf-2.13.2_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

I installed gscan2pdf along with tesseract.

    xbps-install -Su gscan2pdf tesseract-ocr-all pdftk

When gscan2pdf is ready to scan it should offer a menu to choose the Tesseract-OCR engine from. A correct menu would look like:

![menuentry](https://user-images.githubusercontent.com/17107201/227005276-83ec88d5-c201-4655-9176-fb1e52883145.png) 

### Actual behaviour

The mentioned menuentry shows GOCR and only GOCR, beside it seems no GOCR package is in the Void [repository](https://voidlinux.org/packages/?arch=x86_64&q=gocr) and misses the Tesseract-entry. It looks like:

![Bildschirmfoto vom 2023-03-22 19-45-56](https://user-images.githubusercontent.com/17107201/227006967-e9049bfa-0437-49f1-b4d9-c42bb3babd4e.png)


### Steps to reproduce

1. Run a desktop environment of your choice
2. Install gscan2pdf and tesseract
    `xbps-install -Su gscan2pdf tesseract-ocr-all pdftk`
3. Attach a supported scanner
4. Run gscan2pdf

A [gscan2pdf.log](https://github.com/void-linux/void-packages/files/11043819/gscan2pdf.log) is attached for documentation. It does show that the a tesseract-engine is found and a gocr-engine is not found.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-03-29 14:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-22 19:08 [ISSUE] OCR-menu in gscan2pdf not recognizing tesseract but shows GOCR numerys
2023-03-22 21:58 ` numerys
2023-03-22 22:54 ` numerys
2023-03-24  1:02 ` numerys
2023-03-29 14:33 ` Hoshpak
2023-03-29 14:33 ` [ISSUE] [CLOSED] " Hoshpak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).