https://bugs.kde.org/show_bug.cgi?id=469270

            Bug ID: 469270
           Summary: Skanpage crashes when trying to do OCR if tesseract is
                    not installed
    Classification: Applications
           Product: Skanpage
           Version: 23.04.0
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: a.stipp...@gmx.net
          Reporter: silvi...@gmail.com
  Target Milestone: ---

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Skanpage crashes if OCR is selected when saving the file but tesseract-ocr is
not actually installed.

STEPS TO REPRODUCE
1.  start Skanpage
2.  scan something with text
3.  when saving the PDF  either leave the option to add OCR checked or check it

OBSERVED RESULT

Skanpage crashes.

EXPECTED RESULT

Skanpage test whether tesseract is actually usable. If it's not, grey out the
OCR option and inform user they don't have it installed on the system 

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230501
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.2.12-1-default (64-bit)
Graphics Platform: Wayland
Processors: 6 × Intel® Core™ i5-9600K CPU @ 3.70GHz
Memory: 31,1 GiB of RAM
Graphics Processor: AMD Radeon RX 6600 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: Z390 GAMING X

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to