• Dolphin search does not work

    From Miguel A. Vallejo@21:1/5 to All on Wed Dec 23 22:00:02 2020
    After installing the new KDE in unstable I noticed the find function
    in Dolphin does not work: Enter in a directory full of files, press
    Ctrl-F, type your search string and no matter what you type nothing is
    found.

    It is a bug or am I missing some package(s)?

    Thank you in advance

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Norbert Preining@21:1/5 to Miguel A. Vallejo on Wed Dec 23 23:30:02 2020
    On Wed, 23 Dec 2020, Miguel A. Vallejo wrote:
    After installing the new KDE in unstable I noticed the find function
    in Dolphin does not work: Enter in a directory full of files, press
    Ctrl-F, type your search string and no matter what you type nothing is
    found.

    Indeed. I will check with upstream.


    Norbert

    --
    PREINING Norbert https://www.preining.info
    Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
    GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Miguel A. Vallejo@21:1/5 to All on Wed Dec 23 23:50:01 2020
    Thank you

    El mié, 23 dic 2020 a las 23:22, Norbert Preining
    (<norbert@preining.info>) escribió:

    On Wed, 23 Dec 2020, Miguel A. Vallejo wrote:
    After installing the new KDE in unstable I noticed the find function
    in Dolphin does not work: Enter in a directory full of files, press
    Ctrl-F, type your search string and no matter what you type nothing is found.

    Indeed. I will check with upstream.


    Norbert

    --
    PREINING Norbert https://www.preining.info Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
    GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Norbert Preining@21:1/5 to All on Thu Dec 24 01:10:02 2020
    Hi Miguel,

    After installing the new KDE in unstable I noticed the find function
    in Dolphin does not work: Enter in a directory full of files, press

    Do you have Baloo activated?

    On one system with baloo activated I can reproduce your finding, but on
    another with baloo disactivated I can properly search.

    Can you please confirm?

    Best

    Norbert

    --
    PREINING Norbert https://www.preining.info
    Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
    GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Norbert Preining@21:1/5 to All on Thu Dec 24 01:50:01 2020
    Hi Miguel,

    again me,

    Do you have Baloo activated?

    and, in addition, is baloo currently indexing files? It seems that when
    baloo is activated, and indexing hasn't been finished, searches in
    dolphin simply terminate with "not found"

    https://bugs.kde.org/show_bug.cgi?id=420172

    That would explain the case on my computer, where I turned it on just
    recently and it has to index a few million files.

    Best

    Norbert

    --
    PREINING Norbert https://www.preining.info
    Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
    GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Miguel A. Vallejo@21:1/5 to All on Thu Dec 24 02:30:02 2020
    Hello.

    Yes, Baloo was activated. I disabled it and now everything works perfectly.

    Thank you for the tip.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Norbert Preining@21:1/5 to Miguel A. Vallejo on Thu Dec 24 02:40:02 2020
    On Thu, 24 Dec 2020, Miguel A. Vallejo wrote:
    Yes, Baloo was activated. I disabled it and now everything works perfectly.

    Well, now it uses file system based search, which might be much slower.
    And in addtion, baloo can index also the content of files. So you have
    to be aware of the difference.

    If you don't use baloo for anything specific, disabling is anyway a good idea...

    Norbert

    PS: Wondering what on earth baloosearch is doing?
    $ baloosearch 友川カズキ /home/norbert/Maildir/Logic/Tomokawa_Kazuki/cur/1475172660_0.15915.wienerschnitzel,U=3,FMD5=fa8f2b17ed3b1ed04110296d55a5b5d5:2,S
    /home/norbert/kyon-message.txt /home/norbert/JAIST/Teaching/L211/2015j/reports/grading-data.csv
    Elapsed: 0.243352 msecs
    $ baloosearch 友川
    Elapsed: 0.090924 msecs

    So why do you files for a longer string ... very very strange.
    The more I play with baloo the more it feels like .. well .. broken.


    --
    PREINING Norbert https://www.preining.info
    Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
    GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Steigerwald@21:1/5 to All on Thu Dec 24 09:30:01 2020
    Norbert Preining - 24.12.20, 01:43:38 CET:
    Do you have Baloo activated?

    and, in addition, is baloo currently indexing files? It seems that
    when baloo is activated, and indexing hasn't been finished, searches
    in dolphin simply terminate with "not found"

    https://bugs.kde.org/show_bug.cgi?id=420172

    That would explain the case on my computer, where I turned it on just recently and it has to index a few million files.

    Search works just fine here with Baloo activated! I did not try during
    indexing however.

    During the package builds there has been a time where Baloo and Kinit
    was still at 5.74 while other stuff was at 5.77. At this time I installed
    Baloo KF packages from experimental, yet it did not start. I had some
    hint in ~/.xsession-errors that a library could not be found but it
    referred to kinit. After everything was at 5.77 from unstable, Baloo
    worked fine.

    I did a "balooctl purge" do re-index everything cause I read in various
    updates by Nate Graham or on KDE web page that there have been
    significant changes in how it stores things into the Xapian database that
    make is more efficient.

    Norbert, Baloo is KDE's take on desktop search. These days it mostly
    works for me. I think there is still and issue with BTRFS RAID 1 that it
    can think at some time that the filesystem has changed and thus is would
    index files as new it already knows. But in case you don't use that it
    should just be fine. I use BTRFS RAID 1 for /home and / and will observe whether that still happens.

    Merry Christmas to everyone who celebrates it, a quiet and peaceful time
    to everyone anyway,

    Best,
    --
    Martin

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Steigerwald@21:1/5 to All on Thu Dec 24 14:50:01 2020
    Miguel A. Vallejo - 24.12.20, 14:26:02 CET:
    Indexing the content of files is nice when you have only a few dozen
    files. When you have thousands and thousands of PDF files content
    indexing is just a nightmare, a big cpu/memory/disk waste and does not
    work at all. Baloo should be completely optional and never be

    Oh, it works here on dual SSD BTRFS RAID 1:

    % LANG=en balooctl status
    Baloo File Indexer is running
    Indexer state: Idle
    Total files indexed: 395,505
    Files waiting for content indexing: 0
    Files failed to index: 0
    Current size of index is 3.89 GiB

    And it is very nice in combination with Alt-Space for invoking KRunner.

    I added some exclude folders though to reduce the amount of files a bit – from '.config/baloofilerc'

    exclude filters=[…],*.ytdl

    exclude folders[$e]=$HOME/.cache/,$HOME/.local/,[… some backup and
    archival folders…]

    I reported *.ydtl for youtube-dl and AFAIR it has been added upstream as
    a filter.

    activated by default. Same thing for Akonadi. My only gripe with KDE
    is it is full of "utilities" and "features" enabled by default that
    produce more problems than benefits. One you disable / uninstall all
    of them, KDE works like a charm.

    Well actually I removed the executable permission from
    akonadi_indexing_agent again. Cause here I indeed I'd say it does not
    really work very well, at least not with lots of mail. Why?

    Mostly cause it blocks out foreground activity like I click on a mail in
    KMail and like to see its contents. But also cause the whole indexing
    traffic goes through the database, be it MariaDB or PostgreSQL. Basically
    I have seen the laptop at limits with I/O to SSDs for minutes and more.
    Here I can confirm that it bogs down other workloads. When during an
    Akonadi upgrade akonadi_indexing_agent is replaced with a new version
    and thus is executable again, I usually notice it cause at some time
    when the indexing kicks in the laptop becomes so slow, that I usually
    kick the akonadi_indexing_agent process, but then also stop Akonadi,
    cause the database would otherwise continue to do lots of I/O for
    minutes.

    Anyway to cut a long story short: The issues are known. Daniel Vrátil
    was working on it ("make indexing great again") but while he completed
    parts of the work there is still a piece missing.

    Of course it is just my opinion.

    Of course your mileage may vary, especially in case you have still files
    on a hard disk.

    Ciao,
    --
    Martin

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Miguel A. Vallejo@21:1/5 to All on Thu Dec 24 14:30:02 2020
    Indexing the content of files is nice when you have only a few dozen
    files. When you have thousands and thousands of PDF files content
    indexing is just a nightmare, a big cpu/memory/disk waste and does not
    work at all. Baloo should be completely optional and never be
    activated by default. Same thing for Akonadi. My only gripe with KDE
    is it is full of "utilities" and "features" enabled by default that
    produce more problems than benefits. One you disable / uninstall all
    of them, KDE works like a charm.

    Of course it is just my opinion.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)