Bug 439865

Summary: kf5.kio.core: couldn't create slave: "Meldung von klauncher: Unbekanntes Protokoll „g“.\n"
Product: [Frameworks and Libraries] frameworks-kio Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: a.samirh78, kdelibs-bugs, tbaumgart
Priority: NOR    
Version: 5.83.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
See Also: https://bugs.kde.org/show_bug.cgi?id=426448
Latest Commit: Version Fixed In:
Bug Depends on:    
Bug Blocks: 426400    

Description Ralf Habacker 2021-07-15 06:45:52 UTC
STEPS TO REPRODUCE
1. download kmymoney binary build from https://binary-factory.kde.org/view/Windows%2064-bit/job/KMyMoney_Release_win64/
2. download dbgview from https://docs.microsoft.com/en-us/sysinternals/downloads/debugview
3. start dbgview, then start kmymoney

OBSERVED RESULT
In the dbgview window you will find lines in the form 
   kf5.kio.core: couldn't create slave: "Meldung von klauncher: Unbekanntes Protokoll „g“.\n"


EXPECTED RESULT
As this line indicate a problem with loading kio slave, the root cause should be fixed

SOFTWARE/OS VERSIONS
Windows: 10
KDE Frameworks Version: 5.83
Qt Version: 5.15
Comment 1 Ralf Habacker 2021-07-15 07:08:07 UTC
>    kf5.kio.core: couldn't create slave: "Meldung von klauncher: Unbekanntes Protokoll „g“.\n"

The term „g“ is the first character from the installation path "g:\..." on Windows, which probably indicates a problem in kio parsing a windows path url.
Comment 2 Ahmad Samir 2021-07-15 20:11:07 UTC
Is klauncher available on windows? IIRC kate explicitly runs on windows by forking the slaved (probably setting KDE_FORK_SLAVES=1).
Comment 3 Ralf Habacker 2021-07-15 22:06:08 UTC
(In reply to Ahmad Samir from comment #2)
> Is klauncher available on windows? IIRC kate explicitly runs on windows by
> forking the slaved (probably setting KDE_FORK_SLAVES=1).

Builds from binary factory are not using klauncher by default, as on the cmake command line used to compile kio, KDE_FORK_SLAVES=1 is set. Also klauncher is not packaged.
Comment 4 Ralf Habacker 2021-10-27 19:42:27 UTC
(In reply to Ralf Habacker from comment #3)
> (In reply to Ahmad Samir from comment #2)
> > Is klauncher available on windows? IIRC kate explicitly runs on windows by
> > forking the slaved (probably setting KDE_FORK_SLAVES=1).

I remember Ahmad was going to look at it, but I haven't heard from him since.
Comment 5 Ralf Habacker 2021-10-27 19:52:32 UTC
(In reply to Ralf Habacker from comment #3)
> (In reply to Ahmad Samir from comment #2)
> > Is klauncher available on windows? IIRC kate explicitly runs on windows by
> > forking the slaved (probably setting KDE_FORK_SLAVES=1).

This problem is independent from klauncher.