D20940: [baloo_file] Wait for extractor process to start

Nicolas Fella noreply at phabricator.kde.org
Wed May 1 16:54:07 BST 2019


nicolasfella created this revision.
nicolasfella added a reviewer: Baloo.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
nicolasfella requested review of this revision.

REVISION SUMMARY
  When running baloo_file I hit the assert in extractorprocess.cpp:63. This was because the extractor process was not yet running when index was called. This could be observerd by connecting to the QProcess::started signal. Let's wait for the process to start before doing the indexing

TEST PLAN
  Before: run baloo_file -> assert
  After: run baloo_file -> no assert, balooctl monitor shows that files are indexed

REPOSITORY
  R293 Baloo

BRANCH
  waitForStart

REVISION DETAIL
  https://phabricator.kde.org/D20940

AFFECTED FILES
  src/file/extractorprocess.cpp

To: nicolasfella, #baloo
Cc: kde-frameworks-devel, gennad, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190501/707210ff/attachment.html>


More information about the Kde-frameworks-devel mailing list