*** If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports Please remove this comment after reading and before submitting - thanks! *** SUMMARY In freshly installed Fedora Linux 42 (KDE Plasma Desktop) Skanpage does not work out of the box and leaves bad impression of unstable and incomplete desktop environment. STEPS TO REPRODUCE 1. Install Fedora Linux 42 (KDE Plasma Desktop) 2. Try to start Skanlite OBSERVED RESULT Program does not start, crashes. It is caught by KDE crash handler and Fedora's own abrt reporter. EXPECTED RESULT Even if there were a mistake in packaging, it would be great if Skanlite could check if required files exist on startup and display an error message about "missing dependencies". Simple "tesseract package is not installed" would be much better user experience than crashing. It would be even better if Skanlite could work without tesseract installed, as some users might prefer scanning photos and do not require text recognition. Maybe even add alternative OCR providers in the future? SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: Fedora Linux 42 KDE Plasma Version: 6.4.3 KDE Frameworks Version: 6.16.0 Qt Version: 6.9.1 ADDITIONAL INFORMATION I saw previous bug reports and one upstream about fixed dependencies, but even after installing latest updates Skanlite still does not work, and I need to manually install tesseract.
On Fedora 42 KDE Spin got: > $ skanpage > terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error' > what(): filesystem error: recursive directory iterator cannot open directory: No such file or directory [/usr/share/tesseract/tessdata/] > KCrash: Application 'skanpage' crashing... crashRecursionCounter = 2 > Abandon (core dumped) Solved client-side by installing tesseract.