D11038: balooctl: Add clean option to remove stale file index entries
Michael Heidelbach
noreply at phabricator.kde.org
Mon Mar 19 06:19:00 UTC 2018
michaelh added a comment.
In D11038#228996 <https://phabricator.kde.org/D11038#228996>, @smithjd wrote:
> In D11038#228379 <https://phabricator.kde.org/D11038#228379>, @michaelh wrote:
>
> > - I wonder how you can run this. Please make sure you build the `debug target`. Comment out the respective `Q_ASSERT`s and mark them with a `FIXME`.
>
>
> Works for me.
Hmm,...
ASSERT: "!p.name.isEmpty()" in file /home/otto/baloo/src/engine/documenturldb.cpp, line 143
*** Programm hat Signal SIGABRT (Aborted) empfangen ***
After commenting that out:
ASSERT: "!p.name.isEmpty()" in file /home/otto/baloo/src/engine/documenturldb.cpp, line 205
*** Programm hat Signal SIGABRT (Aborted) empfangen ***
After commenting that out it seems to work, but:
$ balooctl clean
...
Database has corrupted entries baloo may misbehave, please recreate the DB by running $ balooctl disable && balooctl enable
Database has corrupted entries baloo may misbehave, please recreate the DB by running $ balooctl disable && balooctl enable
Purged 60129544208 //Kareshi Kanojo no Jijou
ASSERT: "!path.name.isEmpty()" in file /home/otto/baloo/src/engine/documenturldb.h, line 115
*** Programm hat Signal SIGABRT (Aborted) empfangen ***
After commenting that out:
$ balooctl clean
...
Purged 168397082036537349 //Little Witch Academia - 08.mkv
Empty filename passed to function
Purged 168428194779629573
Empty filename passed to function
Purged 215610373326243845
Empty filename passed to function
Purged 215614303221319685
*** Normal beendet ***
Second run:
$ balooctl clean
Empty filename passed to function
Purged 148657949215033349
*** Normal beendet ***
Do you have an idea, why the `Q_ASSERT`s get in the way on my system, but not on yours?
>> speakers. I don't know. For me it would be easier if this command would be called just clean.
>
> Fixed.
Thank you.
REPOSITORY
R293 Baloo
REVISION DETAIL
https://phabricator.kde.org/D11038
To: smithjd, #baloo, #frameworks, michaelh
Cc: michaelh, ashaposhnikov, astippich, spoorun, nicolasfella, ngraham, alexeymin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180319/f477154e/attachment.html>
More information about the Kde-frameworks-devel
mailing list