Bug#1030620: skanpage: should depend/sugest on tesseract-ocr-lang/uage

2023-11-24 Thread Alice Berg

Hello,

I wanted to scan a page quickly on KDE. I tried skanpage and it crashed.
I could find a solution for myself (installing the tesserect lang
package).

Skanpage crashes if *no* tesseract-ocr-lang package
is installed and the default option "use ocr" is used for exporting a
pdf. So if a user doesn't uncheck that default option or doesn't install 
a tesseract ocr lang package the application crashes.


I think changing the default configuration of the application (making
the option to use ocr not the default option) or inluding a tesseract
ocr lang package as a dependency would solve the issue.

The current default configuration of skanpage causing the program to 
crash as

when trying to export as PDF as described above.

I think the default configuration of the package should allow the user
to make a scan and exporting it to a pdf without having to adjust the
configuration.

Thanks


Subject: Re: skanpage: should depend/sugest on tesseract-ocr-lang/uage
Followup-For: Bug #1030620
Package: skanpage
Version: 22.12.3-1

Dear Maintainer,

*** Reporter, please consider answering these questions, where 
appropriate ***


   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 12.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'proposed-updates'), (500, 'stable')

Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-13-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE 
not set

Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages skanpage depends on:
ii  libc6    2.36-9+deb12u3
ii  libgcc-s1    12.2.0-14
ii  libkf5configcore5    5.103.0-2
ii  libkf5configgui5 5.103.0-2
ii  libkf5coreaddons5    5.103.0-1
ii  libkf5crash5 5.103.0-1
ii  libkf5i18n5  5.103.0-1
ii  libksanecore1    22.12.3-1
ii  liblept5 1.82.0-3+b3
ii  libqt5core5a 5.15.8+dfsg-11
ii  libqt5gui5   5.15.8+dfsg-11
ii  libqt5printsupport5  5.15.8+dfsg-11
ii  libqt5qml5   5.15.8+dfsg-3
ii  libqt5quick5 5.15.8+dfsg-3
ii  libqt5widgets5   5.15.8+dfsg-11
ii  libstdc++6   12.2.0-14
ii  libtesseract5    5.3.0-2

skanpage recommends no packages.

skanpage suggests no packages.

-- no debconf information



Skanpage crashes due to a dependency error

2023-11-13 Thread Alice Berg

Hello,

There is a bug in skanpage on debian bookworm 
(https://packages.debian.org/bookworm/skanpage). If trying to use OCR 
without having a tesseract language package present (like 
tesseract-ocr-eng), the application crashes when trying to export the 
scan as pdf with the ocr option enabled.


Installing the language package solves the problem. Adding the language 
package as mandatory or optional dependency of the package would solve 
the issue


Greetings

alice