Description of problem: click skanpage from kde menu or run from command line and it core dumps. $: 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 Aborted (core dumped) Version-Release number of selected component (if applicable): $: skanpage --version skanpage 25.04.3 How reproducible: install kde fedora 42 and try to run skanpage Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: I was able to fix by installing tesseract. $: sudo dnf install tesseract.x86_64 Updating and loading repositories: Repositories loaded. Package Arch Version Repository Size Installing: tesseract x86_64 5.5.0-4.fc42 fedora 101.0 KiB Installing dependencies: tesseract-langpack-eng noarch 4.1.0-9.fc42 fedora 3.9 MiB tesseract-tessdata-doc noarch 4.1.0-9.fc42 fedora 15.0 KiB Transaction Summary: Installing: 3 packages Total size of inbound packages is 2 MiB. Need to download 2 MiB. After this operation, 4 MiB extra will be used (install 4 MiB, remove 0 B). Is this ok [y/N]: y [1/3] tesseract-tessdata-doc-0:4.1.0-9.fc42.noarch 100% | 14.7 KiB/s | 13.2 KiB | 00m01s [2/3] tesseract-0:5.5.0-4.fc42.x86_64 100% | 71.6 KiB/s | 64.7 KiB | 00m01s [3/3] tesseract-langpack-eng-0:4.1.0-9.fc42.noarch 100% | 563.1 KiB/s | 1.7 MiB | 00m03s -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [3/3] Total 100% | 211.4 KiB/s | 1.8 MiB | 00m09s Running transaction [1/5] Verify package files 100% | 333.0 B/s | 3.0 B | 00m00s [2/5] Prepare transaction 100% | 8.0 B/s | 3.0 B | 00m00s [3/5] Installing tesseract-tessdata-doc-0:4.1.0-9.fc42.noarch 100% | 1.3 MiB/s | 15.7 KiB | 00m00s [4/5] Installing tesseract-langpack-eng-0:4.1.0-9.fc42.noarch 100% | 217.9 MiB/s | 3.9 MiB | 00m00s [5/5] Installing tesseract-0:5.5.0-4.fc42.x86_64 100% | 242.1 KiB/s | 108.5 KiB | 00m00s Complete! now skanpage works. i think tesseract should be added as a dependency to skanpage.
I tested in F43 Beta KDE, and skanpage starts just fine in the default installation. But that's probably because tesseract is present due to other dependencies, not because this would be fixed.
It looks to me like this was addressed in https://src.fedoraproject.org/rpms/skanpage/c/dfe960a59c359ed4f3994925ac0477cfe73bcca3?branch=rawhide , then a better fix was done in *** This bug has been marked as a duplicate of bug 2350549 ***