Summary: | Rocs fails tests | ||
---|---|---|---|
Product: | [Applications] Rocs | Reporter: | Michael Palimaka <kensington> |
Component: | general | Assignee: | Andreas Cord-Landwehr <cordlandwehr> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cordlandwehr, nalvarez |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | strace output from ctest |
Description
Michael Palimaka
2012-05-14 13:40:40 UTC
It seems that the tests do not find Rocs' data structure plugins. Please set the KDEDIRS variable to the target install directory for Rocs and run kbuildsycoca4. Then test again. Kbuildsycoca4 must contain at least the following lines (otherwise the mandatory plugins are not found): kbuildsycoca4(3177) KBuildSycoca::createEntry: modified: "rocs_GraphStructure.desktop" in services kbuildsycoca4(3177) KBuildSycoca::createEntry: modified: "rocs_ListStructure.desktop" in services You can set the KDEDIR and run kbuildsycoca4 with the following script: ---- <snip> ---- #!/bin/bash export KDEDIRS=$KDEDIRS:<path-to-rocs-install>l kbuildsycoca4 ---- <snap> ---- Greetings, Andreas Created attachment 71105 [details] strace output from ctest (In reply to comment #1) > It seems that the tests do not find Rocs' data structure plugins. I agree, however strace (output attached) seems to indicate that the plugins are indeed found. > Please set the KDEDIRS variable to the target install directory for Rocs and > run kbuildsycoca4. Then test again. Kbuildsycoca4 must contain at least the > following lines (otherwise the mandatory plugins are not found): > > kbuildsycoca4(3177) KBuildSycoca::createEntry: modified: > "rocs_GraphStructure.desktop" in services > kbuildsycoca4(3177) KBuildSycoca::createEntry: modified: > "rocs_ListStructure.desktop" in services strace confirms that these files are being read, however I do not receive these messages. That is an indicator that the corresponding desktop files are still not found. You actually need to get rocs_GraphStructure.desktop and others found in kbuildsycoca4 output or in strace output. Please try the following 1. make 2. make install 3. export KDEDIRS=$KDEDIRS:<your path to install directory> 4. kbuildsycoca4 For step 3 ensure that that path contains the subdirectory "share/kde4/services/" containing the desktop files. Greetings, Andreas PS: btw. I assume that you are using GIT-master. That works great, thank-you! Is it possible to make this this setup automatic, so ctest 'just works'? Not sure if it will be possible for KDE SC 4.9, but planned for 4.10. Greetings, Andreas Congratulations for the bug number! |