Need Update for gscan2pdf from 2.8.1 to 2.8.2

Reason is, that one can’t save scans as .pdf with the current 2.8.1 version – this is a known issue, resolved in 2.8.2. Where would I ask the maintainers of tumbleweed to update gscan2pdf? Thanks for any directions :-).

Get the one from Publishing Repo:
https://build.opensuse.org/package/show/Publishing/gscan2pdf

Hi
Hold off, I have SR’s pending then will push the 2.11.n version to Tumbleweed, it should be fine to use it now as was waiting for perl-PDF-Builder to arrive in Tumbleweed.

Thanks to both of you. I’ll hold off then but how long will that be? What are SRs? I have a little leeway but in a few weeks I need to submit invoices as scanned pdfs, so a hint about the schedule would be nice.

Hi
Submit Requests: https://build.opensuse.org/request/show/882461

Grab the 2.11.0 version, when the 2.11.2 update hits Tumbleweed you will need to switch from graphics to Tumbleweed.

Sorry, I don’t understand what you mean “switch from graphics to Tumbleweed”. I’m already using tumbleweed?!?

I was a little in a hurry so I followed Sauerland’s suggestion. I clicked on 1-click install and now gscan2pdf doesn’t start at all. I tried it from a console and got


Can't locate Locale/Language.pm in @INC (you may need to install the Locale::Language module) (@INC contains: /usr/lib/perl5/site_perl/5.32.1/x86_64-l
inux-thread-multi /usr/lib/perl5/site_perl/5.32.1 /usr/lib/perl5/vendor_perl/5.32.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.32.1 /usr/l
ib/perl5/5.32.1/x86_64-linux-thread-multi /usr/lib/perl5/5.32.1 /usr/lib/perl5/vendor_perl/5.32.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl
/5.32.0 /usr/lib/perl5/site_perl) at /usr/lib/perl5/vendor_perl/5.32.1/Gscan2pdf/Tesseract.pm line 14. 
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.32.1/Gscan2pdf/Tesseract.pm line 14. 
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.32.1/Gscan2pdf/Document.pm line 14. 
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.32.1/Gscan2pdf/Document.pm line 14. 
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.32.1/Gscan2pdf/Dialog/Renumber.pm line 7. 
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.32.1/Gscan2pdf/Dialog/Renumber.pm line 7. 
Compilation failed in require at /usr/bin/gscan2pdf line 62. 
BEGIN failed--compilation aborted at /usr/bin/gscan2pdf line 62.

I googled for this not really userfriendly error and found that this means some perl modules are missing. Thus I ran [FONT=monospace]“sudo zypper in perl-Locale*” which installed 11 packages:[/FONT]


[FONT=monospace]Die folgenden 11 NEUEN Pakete werden installiert: 
  perl-AppConfig perl-Data-Section-Simple perl-Lingua-EN-Sentence perl-Locale-Maketext-Gettext perl-Locale-Maketext-Lexicon perl-Locale-Msgfmt 
  perl-Locale-US perl-PPI perl-Task-Weaken perl-Template-Toolkit perl-YAML
[/FONT]

gscan2pdf still throws the same error. What did I miss?

Hi
If you use the version from the Graphics Tumbleweed repo, it switches vendor (graphics), when the newer release is accepted into Tumbleweed you will need to switch vendor again graphics -> openSUSE.

Not sure as I never used (or submitted 2.11.0) I have 2.11.2 installed here.

Grab this version (this is the current submitted package):


zypper in https://download.opensuse.org/repositories/home:/malcolmlewis:/branches:/Publishing/openSUSE_Tumbleweed/noarch/gscan2pdf-2.11.2-23.1.noarch.rpm

The one-click-install had several popups warning that four (I think?) new repositories would be added permanently. That hasn’t happened, there are only the repositories I had up to now.

I then installed from your source – same error as before…

Hi
Is perl-Encode-Locale installed?

No issues here;

https://forums.opensuse.org/attachment.php?attachmentid=1007&stc=1

Screenshot from 2021-04-08 11-49-50.png

Yes, “perl-Encode-Locale-1.05-1.15.noarch” is installed.

Hi
Then it’s this one perl-Locale-Codes

Meaning exactly what? I mean how can this be repaired?

Hi
Install that perl module


zypper in perl-Locale-Codes

sudo zypper in perl-Locale-Codes
Paket ‘perl-Locale-Codes’ nicht gefunden. (not found). Hmm.

Hi
In the development repo, I’ve submitted to factory;


zypper in https://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_Tumbleweed/noarch/perl-Locale-Codes-3.67-1.2.noarch.rpm

Yahhh, it’s starting again. But:

Warning: missing packages
You are using locale 'de_DE.UTF-8'. Please install tesseract package 'tesseract-ocr-deu' and restart gscan2pdf for OCR for German with tesseract.

And

sudo zypper in tesseract-ocr-deu 
Repository-Daten werden geladen... 
Installierte Pakete werden gelesen... 
Paket 'tesseract-ocr-deu' nicht gefunden.
 

Not found again…

Thanks for your help and patience :-).

Hi
What about;


zypper in tesseract-ocr-traineddata-german

sudo zypper in tesseract-ocr-traineddata-german 
Metadaten von Repository 'Packman Repository' abrufen  ........................................................................................[fertig] 
Cache für Repository 'Packman Repository' erzeugen  ...........................................................................................[fertig] 
Repository-Daten werden geladen... 
Installierte Pakete werden gelesen... 
'tesseract-ocr-traineddata-german' ist bereits installiert. 
Kein Aktualisierungskandidat für  'tesseract-ocr-traineddata-german-3.04.00-4.11.noarch'. Die neueste  Version ist bereits installiert.

Already installed…

Hi
Then perhaps the gscan2pdf lang file as well;


zypper in https://download.opensuse.org/repositories/home:/malcolmlewis:/branches:/Publishing/openSUSE_Tumbleweed/noarch/gscan2pdf-lang-2.11.2-23.1.noarch.rpm

Nope. Again:

Achtung: Fehlende Pakete
Du verwendest die Lokalisierung 'de_DE.UTF-8'. Bitte installiere das tesseract-Paket 'tesseract-ocr-deu' und starte erneut gscan2pdf zur Texterkennung für German mit tesseract.

But zypper doesn’t find ‘tesseract-ocr-deu’ (cf. post of 19:52).