<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>430435</bug_id>
          
          <creation_ts>2020-12-15 16:58:05 +0000</creation_ts>
          <short_desc>baloosearch:// ioslave doesn&apos;t result any results</short_desc>
          <delta_ts>2024-07-07 15:58:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>frameworks-baloo</product>
          <component>general</component>
          <version>5.77.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>430273</dup_id>
          <see_also>https://bugs.kde.org/show_bug.cgi?id=430273</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Nate Graham">nate</reporter>
          <assigned_to name="Stefan Brüns">stefan.bruens</assigned_to>
          <cc>kishore96</cc>
    
    <cc>whavanhooff</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1984601</commentid>
    <comment_count>0</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-12-15 16:58:05 +0000</bug_when>
    <thetext>But the Baloo KRunner runner works fine from KRunner and Kickoff. See attached screenshot.

The indexer is running and seems ti be working:

nate@Liberator:~/kde/src/baloo$ balooctl status
Baloo File Indexer is running
Indexer state: Starting
Total files indexed: 25,339
Files waiting for content indexing: 0
Files failed to index: 0
Current size of index is 799.50 MiB


All KDE software from git master as of today.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1984602</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-12-15 17:00:18 +0000</bug_when>
    <thetext>The CLI baloosearch program seems to be affected too:

baloosearch 2020
Elapsed: 2.65203 msecs

[no results]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1984603</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-12-15 17:00:39 +0000</bug_when>
    <thetext>The file I am expecting it to find is indexed:


nate@Liberator:~/kde/src/baloo$ balooshow &apos;/home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods&apos; 
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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1984605</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-12-15 17:01:56 +0000</bug_when>
    <thetext>There is a lot of console spew:



kf.config.core: &quot;KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1785: &quot; Invalid entry (second locale!?)
kf.config.core: &quot;KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1786: &quot; Invalid entry (missing &apos;=&apos;)
kf.config.core: &quot;KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1787: &quot; Invalid entry (missing &apos;]&apos;)
kf.config.core: &quot;KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1788: &quot; Invalid entry (missing &apos;]&apos;)
kf.config.core: &quot;KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1789: &quot; Invalid group header.
kf.config.core: &quot;KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1790: &quot; Invalid entry (missing &apos;=&apos;)
kf.config.core: &quot;KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1791: &quot; Invalid entry (missing &apos;=&apos;)
kf.config.core: &quot;KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1792: &quot; Invalid entry (missing &apos;]&apos;)
kf.config.core: &quot;KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1793: &quot; Invalid entry (missing &apos;=&apos;)
kf.config.core: &quot;KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1794: &quot; Invalid entry (missing &apos;=&apos;)
kf.config.core: &quot;KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1795: &quot; Invalid entry (missing &apos;=&apos;)
kf.config.core: &quot;KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods, line 1796: &quot; Invalid entry (missing &apos;=&apos;)
kf.service.services: The desktop entry file &quot;///home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods&quot; has Type= &quot;Application&quot; but no Exec line</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1984611</commentid>
    <comment_count>4</comment_count>
    <who name="Stefan Brüns">stefan.bruens</who>
    <bug_when>2020-12-15 17:14:03 +0000</bug_when>
    <thetext>Please recheck with https://invent.kde.org/frameworks/baloo/-/commit/9b61371fdefbd538938f20cdc87eed03d170fa5b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1984613</commentid>
    <comment_count>5</comment_count>
    <who name="Stefan Brüns">stefan.bruens</who>
    <bug_when>2020-12-15 17:18:41 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #3)
&gt; There is a lot of console spew:
&gt; 
&gt; 
&gt; 
&gt; kf.config.core: &quot;KConfigIni: In file /home/nate/SpiderOak Hive/Software/2020
&gt; New laptop comparisons.ods, line 1785: &quot; Invalid entry (second locale!?)
&gt;...
&gt; Hive/Software/2020 New laptop comparisons.ods&quot; has Type= &quot;Application&quot; but
&gt; no Exec line

So something thinks this is a desktop file.

$&gt; xdg-mime query filetype &quot;/home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods&quot;

KFileMetadata has no extractor for desktop files, so this is likely unrelated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1984614</commentid>
    <comment_count>6</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-12-15 17:20:39 +0000</bug_when>
    <thetext>(In reply to Stefan Brüns from comment #4)
&gt; Please recheck with
&gt; https://invent.kde.org/frameworks/baloo/-/commit/
&gt; 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 &quot;/home/nate/SpiderOak Hive/Software/2020 New laptop comparisons.ods&quot;
application/vnd.oasis.opendocument.spreadsheet</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1984654</commentid>
    <comment_count>7</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-12-15 20:12:36 +0000</bug_when>
    <thetext>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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1984898</commentid>
    <comment_count>8</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-12-16 17:56:34 +0000</bug_when>
    <thetext>*** Bug 430457 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1987836</commentid>
    <comment_count>9</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-12-23 19:07:22 +0000</bug_when>
    <thetext>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 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>