baloo_file stop throwing ASSERT failure
Needs RevisionPublic

Authored by leszeklesner on Apr 18 2020, 4:05 AM.

Details

Reviewers
bruns
Group Reviewers
Baloo
Summary

I build baloo from 5.69 and always get on executing baloo_file.

baloo_file
ASSERT failure in KCatalogPrivate::setupGettextEnv: "You need to instantiate a Q*Application before using KCatalog", file /home/leszek/kde/src/ki18n/src/kcatalog.cpp, line 223
fish: 'baloo_file' terminated by signal SIGABRT

Using translations after QApplications in baloo_file fixes the issue.

Diff Detail

Repository
R293 Baloo
Lint
Lint Skipped
Unit
Unit Tests Skipped
leszeklesner created this revision.Apr 18 2020, 4:05 AM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptApr 18 2020, 4:05 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
leszeklesner requested review of this revision.Apr 18 2020, 4:05 AM
bruns added a subscriber: bruns.Apr 18 2020, 12:41 PM

Thanks for the notice.

Although moving the QCoreApplication instantiation up fixes the ASSERT failure, the correct fix is even more trivial - the KAboutData is unused, so it should just go away.

bruns requested changes to this revision.Apr 18 2020, 1:25 PM
This revision now requires changes to proceed.Apr 18 2020, 1:25 PM