Registered Member
|
Hi
Recently I updated KDE SC from 4.8.4 to 4.10.5 (this is what Debian provides ATM). I knew that Nepomuk indexer backend has changed in this release, so I decided to go with fresh copy of database (that is: I removed ~/.kde/share/apps/nepomuk/repository/ when user was logged out of KDE session). Initial scan went all great and finished in no time. Then, when machine was idle, Nepomuk decided to index content of files. And this is where problems begins. From what I can tell, Nepomuk picked up few random files and indexes them all over again. There is a command I used to figure out what files Nepomuk is interested in and how many times it tried to index each one:
As you can see, there are eight files in /home/minio/ksiazki/ dir that has been indexed almost 1600 times. This directory contains 97 files, 86 of which are PDF. What makes things worse, content of these files never really reaches database. After pointing Dolphin at this directory, I open Search bar, make it look in file content and input string that certainly do exist in one of files picked up by Nepomuk. I got zero results. I have followed instructions at KDE Userbase and turned debug mode on. Then I did:
But there is no ~/.kde/share/data/nepomuk/file-indexer-error.log file that I could look into. The only similar thing I have found on web is this Launchpad bug report. Discussion there did not reach any conclusion. Related config files:
The question is: what do I do now? If this is known issue, how can I work around it? If it is not, should I report bug at KDE bugzilla? How do I get meaningful information for developers?
Best regards
Mirosław Zalewski |
Administrator
|
When you manually index the files, does this succeed, (ie. exit with a return code of 0) or does the indexer silently crash?
The behaviour you are reporting certainly sounds like the Nepomuk indexer is crashing while trying to index these files.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
How do I check that?
What I did:
So, qdbus returned no message, /usr/bin/nepomukindexer finished with status 0, which would indicate that everything is working fine. I still can't find files by content. Command:
returns 0 and - if I understand it's purpose - it should tell me how many files Nepomuk has successfully indexed (so, by dividing it by totalFiles, I can check what percent of files Nepomuk has indexed). Pointing /usr/bin/nepomukindexer at other files (I have tried different PDF, JPG and TXT) does not result in files ending up in Nepomuk index.
Best regards
Mirosław Zalewski |
Administrator
|
You checked things fine there - this is rather unusual, as it should index the file names at the very least.
Can you try to reproduce this under a new user, to eliminate any user account specific issues?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I have created new system user and copied some files (JPG, TXT, PDF) to his home directory.
After leaving computer idle for about 30 minutes: 1. indexedFiles shows 0. 2. Analysis of ~/.xsession-errors shows that Nepomuk still tries to index some files again and again (of course this is different set). 3. In Dolphin, searching for files that contain word occurring in one of picked TXT files show results. I have then tried to run nepomukindexer on this particular file in my usual user homedir. Searching for file content in Dolphin do not show results. So, it looks that Nepomuk can index content of text file, but for whatever reason it does not work on my usual setup. Other than that, it still can't index content of PDF and keeps indexing same files. Probably I should ask Debian guys, but any comments from KDE community are appreciated.
Best regards
Mirosław Zalewski |
Administrator
|
Under your usual user, can you try starting Nepomuk by hand to see if it mentions anything of relevance as to why it may not be able to perform properly?
You can run the following command to shutdown the currently running instance of Nepomuk:
It may take a few moments (30 or so seconds) for Nepomuk to complete shutting down, even after this command completes. This command can be used to start Nepomuk up:
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I did run command as you advised. The only potentially disturbing messages I have found are:
The second message is especially confusing, as /mnt/zewnetrzny (root for directory in question) is my external hard drive, and I have asked Nepomuk to ignore external devices in it's config pane. Other than that, usual stuff - services starting, Nepomuk picking up files, identifying their mimetype, saying that export for plain text went successful. Full log may be found here: http://pastebin.com/RCAu6bFW (file is 180K in size, so I did not paste it on forums).
Best regards
Mirosław Zalewski |
Administrator
|
Can you check to see if there are any symlinks in an indexed location pointing to the external media?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
No, there are no symlinks in directory in question that point to external device.
To be strict, there are only two symlinks that point at external HDD in my entire $HOME: One is right in the root (~/, that is). It is not mentioned in "Custom directories" dialog in Nepomuk configuration module at all, so I believe that Nepomuk just ignores it. Second is in ~/.wine/, and - as far as I know - Nepomuk does not index hidden directories by default.
Best regards
Mirosław Zalewski |
Registered Member
|
KDE 4.11 was uploaded to Debian recently and I have upgraded yesterday. The problem does not exist anymore - all my files has been indexed and I can find them by content in Dolphin.
So, whatever was the cause, it is now gone.
Best regards
Mirosław Zalewski |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell