Summary: | baloosearch:// ioslave doesn't result any results | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-baloo | Reporter: | Nate Graham <nate> |
Component: | general | Assignee: | Stefan Brüns <stefan.bruens> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | kishore96, whavanhooff |
Priority: | NOR | ||
Version: | 5.77.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=430273 https://bugs.kde.org/show_bug.cgi?id=431664 |
||
Latest Commit: | Version Fixed In: |
Description
Nate Graham
2020-12-15 16:58:05 UTC
The CLI baloosearch program seems to be affected too: baloosearch 2020 Elapsed: 2.65203 msecs [no results] The file I am expecting it to find is indexed: nate@Liberator:~/kde/src/baloo$ balooshow '/home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods' 108845861533975300 66308 25342652 /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods Mtime: 1608011218 2020-12-14T22:46:58 Ctime: 1608011218 2020-12-14T22:46:58 Cached properties: Author: Nate Graham Document Generated By: LibreOffice/7.0.3.1$Linux_X86_64 LibreOffice_project/00$Build-1 Creation Date: 2016-11-01T11:13:52.565 There is a lot of console spew: kf.config.core: "KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1785: " Invalid entry (second locale!?) kf.config.core: "KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1786: " Invalid entry (missing '=') kf.config.core: "KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1787: " Invalid entry (missing ']') kf.config.core: "KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1788: " Invalid entry (missing ']') kf.config.core: "KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1789: " Invalid group header. kf.config.core: "KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1790: " Invalid entry (missing '=') kf.config.core: "KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1791: " Invalid entry (missing '=') kf.config.core: "KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1792: " Invalid entry (missing ']') kf.config.core: "KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1793: " Invalid entry (missing '=') kf.config.core: "KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1794: " Invalid entry (missing '=') kf.config.core: "KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1795: " Invalid entry (missing '=') kf.config.core: "KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1796: " Invalid entry (missing '=') kf.service.services: The desktop entry file "///home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods" has Type= "Application" but no Exec line Please recheck with https://invent.kde.org/frameworks/baloo/-/commit/9b61371fdefbd538938f20cdc87eed03d170fa5b (In reply to Nate Graham from comment #3) > There is a lot of console spew: > > > > kf.config.core: "KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 > New laptop comparisons.ods, line 1785: " Invalid entry (second locale!?) >... > Hive/Software/2020 New laptop comparisons.ods" has Type= "Application" but > no Exec line So something thinks this is a desktop file. $> xdg-mime query filetype "/home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods" KFileMetadata has no extractor for desktop files, so this is likely unrelated. (In reply to Stefan Brüns from comment #4) > Please recheck with > https://invent.kde.org/frameworks/baloo/-/commit/ > 9b61371fdefbd538938f20cdc87eed03d170fa5b How do I re-check with that? I built baloo from source today, which means it includes that commit that went in two days ago. Do I need to re-index everything too? nate@Liberator:~/kde/src/baloo$ xdg-mime query filetype "/home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods" application/vnd.oasis.opendocument.spreadsheet I just purged the index and allowed it to be re-indexed and now this is working. Is there any way we can avoid the user having to manually do this? Can we either detect that the database is in a bad state and fix it up, or schedule a re-index automatically? *** Bug 430457 has been marked as a duplicate of this bug. *** Seems to have been an example of Bug 430273 as the issue is no longer reproducing for me after recompiling with the fixed version. *** This bug has been marked as a duplicate of bug 430273 *** |