assert in kservicetypefactory.cpp

Boudewijn Rempt boud at valdyas.org
Tue Aug 18 06:49:10 UTC 2015


On Mon, 17 Aug 2015, David Faure wrote:

> On Monday 17 August 2015 10:05:05 Boudewijn Rempt wrote:
>> This assert isn't triggered from our own code, but from kio's previewjob
>
> Ah OK.
>
>> and either kdelibs4 didn't have the assert, or kio didn't need the
>> cache.
>
> I'm pretty sure that both of these statements are wrong.
>
> kdelibs/kio/kio/previewjob.cpp was using KServiceTypeTrader, which needs ksycoca, no change there.
> And the Q_ASSERT(str) was there at kservicetypefactory.cpp:36.
>
> As I said, this isn't a code change, but a setup problem. For some reason your kbuildsycoca5 isn't found,
> or crashes, or writes out to the wrong location, or something.

Well, I've been shipping a kdelibs4-based krita on Windows and OSX
without kbuildsycoca because running that on those platforms isn't
acceptable. Though I guess that my removal of dbus from kdelibs on
Windows and OSX could prevent this job from running.

> And as I said, I need the *debug output* (stderr) of the app to know more.

I've attached the stderr log.

Boudewijn
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: krita-kf5.txt
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150818/c679c8df/attachment-0001.txt>


More information about the Kde-frameworks-devel mailing list