Bug 193541 - Useless error message: "Strigi service failed to initialize"
Summary: Useless error message: "Strigi service failed to initialize"
Status: RESOLVED FIXED
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-21 19:50 UTC by Josh Berry
Modified: 2009-08-04 17:08 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Berry 2009-05-21 19:50:28 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

In System Settings -> Advanced -> Desktop Search, I turn on "Enable Strigi Desktop File Indexer" and hit "Apply".  In response, I get the error message (displayed below the check box): "Strigi service failed to initialize, most likely due to an installation problem."

This error message is useless to me -- it does not provide any information on what is wrong or how I might go about diagnosing or fixing the problem.

Please include more information with this error message.
Comment 1 Ben Cooksley 2009-05-22 08:49:49 UTC
Reassigning.
Comment 2 Dario Andres 2009-05-22 17:21:22 UTC
Marking as duplicate of bug 186910. Thanks

*** This bug has been marked as a duplicate of bug 186910 ***
Comment 3 Josh Berry 2009-05-22 17:57:36 UTC
Sorry, but this is not a duplicate.

Bug 186910 (marked as FIXED, which this is not) was concerned with how long the message was being displayed.  This bug is concerned with the content of the message itself.
Comment 4 Sebastian Trueg 2009-05-22 18:19:44 UTC
i see the problem. I made the message this cryptic to indicate that this is actually an installation issue, not something a "normal" user would solve. It is rather something for the creator of the packages to solve.
Comment 5 Josh Berry 2009-05-22 18:59:32 UTC
I gathered as much from "this is an installation problem", but just a pointer to a log file or similar would be very helpful. :)

I'm building from trunk, and I'm not specifically familiar with Strigi, so I wouldn't even know where to go to begin diagnosing.  I'm sure there are others in a similar situation.
Comment 6 Sebastian Trueg 2009-05-22 19:30:43 UTC
well, it is really an installation problem. The strigi plugin cannot be loaded. This either happens if kdebase is not properly installed or if your installation directory is not correct or not in LD_LIBRARY_PATH (in case it is a custom one). AFAIK strigi searches for plugins there, too.
Comment 7 Sebastian Trueg 2009-05-26 10:15:49 UTC
I now added a handbook to the KCM module. It explains the different states the strigi service can be in as well as the error states. Does this solve the problem for you?
Comment 8 Josh Berry 2009-06-04 08:04:09 UTC
Yes, this is somewhat more helpful.  It at least gives me a place to start looking.  (I'm not sure how Strigi plugins are handled, or anything like that, but now that I know what I need to research, I can start figuring it out for myself.)

Given that end users are never supposed to see that error, it seems reasonable -- more information than that probably wouldn't be appropriate for the handbook anyway.
Comment 9 Mirza 2009-06-14 17:31:20 UTC
This solves the problem:

sudo ln -s /usr/lib/jvm/java-6-sun/jre/lib/i386/server/libjvm.so /usr/lib/libjvm.so
Comment 10 Javier 2009-06-18 11:54:01 UTC
Thanks for the tip Minza, in my case I had to do:

sudo ln -s /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server/libjvm.so /usr/lib/libjvm.so

So you need to look for the java vm you are using and your architecture.
Comment 11 Sebastian Trueg 2009-08-04 17:08:16 UTC
This seems fixed.