This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Search in dolphin doesn't find anything

Tags: None
(comma "," separated)
piedro
Registered Member
Posts
374
Karma
1
OS
Hello!

I use KDE 4.11.1 on Arch linux. Nepomuk file indexer is running.

When I press the search button in dolphin, no matter what I enter - I never get any results.
What am I missing? I tried searching for "*.pdf" or just "pdf" pressed on "filename" and "search from here" while in "~" ...

Is there anything else I have to activate?

thx for reading,
piedro
User avatar
google01103
Manager
Posts
6668
Karma
25
Nepomuk shouldn't be needed when doing a file name search

does content search, which will use but doesn't require Nepomuk, work?

does search work for a new/different user?

did it ever work?


OpenSuse Leap 42.1 x64, Plasma 5.x

piedro
Registered Member
Posts
374
Karma
1
OS
Hello!

- content search doesn't work either - search results are always empty with any combination of settings ...

- for a new user the filename search works but not on hidden files even if "show hidden files" is activated (the search for "." or ".*" doesn't show any result ...

- I think it worked some minor versions of KDE before (now 4.11.1) but I don't know the exact version it stopped working

Do you have any idea how I can clean this up for my productive user?

thx for your help,
piedro
User avatar
google01103
Manager
Posts
6668
Karma
25
hidden files are not included in Dolphin search, see viewtopic.php?f=22&t=94849, you could use Kfind as it has an option for including hidden files

no idea why search would not work for your productive user but will for others, try:
- try renaming ~/.kde/share/config/dolphinrc and the 2 folders ~/.kde/share/apps/dolphin*
- run in Konsole: kbuildsycoca4 --noincremental 2> /dev/null


OpenSuse Leap 42.1 x64, Plasma 5.x

piedro
Registered Member
Posts
374
Karma
1
OS
hi again!

I followed your advice (... though I only have one folder ~/.kde4/share/apps/dolphin ...)

- now the search finds some files (which is a sucess I guess)
- but the path for the search "from here (piedro)" seems to be messed up - I only get results in the folder ~/projects/tbb/archive/POLT-web/
(it's a personal custom folder as you can tell)
- when I switch to search "everywhere" I don't get any files with the same search (which is rather odd cause it supposed to be the broader search ...)

That's really strange, isn't it?
Is there a way to set the paths for the search to their correct locations?

thx for your help,
p.
User avatar
google01103
Manager
Posts
6668
Karma
25
try disabling destktop search in systemsettings, does it help? note all Nepomuk processes except possibly akonadi_nepomuk_feeder should not be running


OpenSuse Leap 42.1 x64, Plasma 5.x

freininghaus
Moderator
Posts
224
Karma
1
OS
If you use the Nepomuk search, then https://bugs.kde.org/show_bug.cgi?id=324886#c3 might help you.
piedro
Registered Member
Posts
374
Karma
1
OS
Thx that did help!

I haven't thouroughly tested but I can find stuff now ...

I might report back if there are additional problems.

thx again,
piedro
dummytester
Registered Member
Posts
40
Karma
0
OS
OK, this isn't the same but it's so minor I'm reluctant to open a new thread... when I search, I sometimes see duplicates of the same item. If you want me to open a new thread, I can do that... this seems to particularly affect usr/bin only
Image
Image
piedro
Registered Member
Posts
374
Karma
1
OS
Hi!

When I search in /usr/bin for cpanp I get exactly 2 hits (using KDE 4.11.2 on Arch Linux) "cpanp" and "cpanp-run-perl".
So I cannot confirm this problem ...

sry, p.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
For the nixnote example, one of the three duplicates is a symlink. What is likely is that there is a folder underneath /usr/bin which contains other copies of these executables, or is symlinked to /usr/bin. If you right click on each entry, can you determine what entry was ultimately found?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
dummytester
Registered Member
Posts
40
Karma
0
OS
Sorry for the delay. Yes, it says it is a link to ../share/nixnote/nixnote_path.sh - however, there is only one symlink in the /usr/bin/ folder.

More odd is what I get when I search for a blank space. I get a bunch of duplicate folders and stuff. For example, 13 build folders even though there is just a single build folder in /usr/bin and 6 "docs" folders from /usr/bin/build/ 3 of which are from /usr/bin/build/pygments and 3 of which are from /usr/bin/build/urwid.

Image
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Okay, that is indeed quite unusual. Just to be sure it is not a Nepomuk indexing or other similar issue, can you try to reproduce under a new user?
If you can, please file a bug report at bugs.kde.org.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS
I have the same issue.
Kubuntu 16.04
The strange thing is that it depends on what user does the search.
The user with admin privs and the initial user created on instal - the search via dolphin works fine.

But if an ordinary user tries to run the search it finds nothing.

To try and troubleshoot I ran dolphin from the command line under both users
Standard user:
Code: Select all
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Permission denied
Trying to convert empty KLocalizedString to QString.


User with admin privs:
Code: Select all
Trying to convert empty KLocalizedString to QString.


So could it be that dolphin is trying to do something that it needs permissions to do. But it does not have those permissions under certain users?


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], rockscient, Yahoo [Bot]