Bug 473964 - Skanpake fail to launch
Summary: Skanpake fail to launch
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Skanpage
Classification: Applications
Component: general (show other bugs)
Version: 23.08.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Stippich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-30 20:50 UTC by Olivier BELLEUX
Modified: 2023-08-31 16:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier BELLEUX 2023-08-30 20:50:33 UTC
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
***

STEPS TO REPRODUCE
1. plug scanner to usb port and power on
2. type "skanpage" in shell (zsh in yakuake)
3. hint enter

OBSERVED RESULT
[DS] Profile read from file (tesseract_opencl_profile_devices.dat).
[DS] Device[1] 0:(null) score is 0,204881
[DS] Selected Device[1]: "(null)" (Native)
which: no avahi-browse in (/home/olivier/.zsh/zplug/repos/zplug/zplug/bin:/home/olivier/.zsh/zplug/bin:/opt/texlive/2023/bin/x86_64-linux:/home/olivier/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/:/opt/Grammalecte/:/home/olivier/.local/bin/:/home/olivier/.config/kate/lspclient/:/var/lib/flatpak/exports/bin:)
QQmlApplicationEngine failed to load component
qrc:/qml/MainWindow.qml:331:26: Type ContentView unavailable
qrc:/qml/ContentView.qml:67:13: Type DocumentPage unavailable
qrc:/qml/DocumentPage.qml:198:13: KQuickImageEditor.CropBackground is not a type

EXPECTED RESULT

skanpage successfully launch and scan my document

SOFTWARE/OS VERSIONS

Operating System: openSUSE Leap 15.5
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 5.14.21-150500.55.19-default (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
Memory: 15.4 Gio of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: Notebook
Product Name: NLx0MU
System Version: Not Applicable

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-08-31 14:57:19 UTC
This means that one of two things is happening:
- The KQuickImageEditor package isn't installed 
- The KQuickImageEditor package is too old

Both would be distro packaging issues; please report this to the openSUSE folks. Thanks!
Comment 2 Olivier BELLEUX 2023-08-31 16:09:59 UTC
(In reply to Nate Graham from comment #1)
> This means that one of two things is happening:
> - The KQuickImageEditor package isn't installed 
> - The KQuickImageEditor package is too old
> 
> Both would be distro packaging issues; please report this to the openSUSE
> folks. Thanks!

I was thinking of something around KQuickImageEditor but:
- KQuickImageEditor 0.1.2 was installed
- installing KQuickImageEditor-import 0.1.2 doesn't change anything

I searched for KQuickImageEditor at the openbuildservice. There is a version 0.2.0.
After reconstruction I get only KQuickImageEditor-import 0.2.0.

After installing it Skanpage start normally.

So you were right KQuickImageEditor was too old.

Thanks for guiding me to the right solution.
Comment 3 Nate Graham 2023-08-31 16:17:56 UTC
You're welcome! Please do tell the openSUSE folks about it.