Question
Hello,
When I do an ACTIONSEARCH (to find actions created using the action tracker plugin), my result set comes up empty depending on my {RCS}{SearchAlgorithm} setting in localsite.cfg:
TWiki::Store::SearchAlgorithms::PurePerl works fine and returns the actions it should, but
TWiki::Store::SearchAlgorithms::Forking returns an empty results set.
When I use Forking, there is an error in the apache log:
[Mon Aug 04 12:29:06 2008] [error] [client 192.168.67.51] c:\progra~1\GnuWin32\bin\grep.exe "-E" "-l" "-H" "--" "%ACTION{.*}%" "c:\shipopswiki\data\LessonsLearned\LL2005Baltic.txt" "c:\shipopswiki\data\LessonsLearned\LL2006XmasCs.txt" "c:\shipopswiki\data\LessonsLearned\LL2006XmasCy.txt" "c:\shipopswiki\data\LessonsLearned\LL2007Asia.txt" "c:\shipopswiki\data\LessonsLearned\LL2007WorldCruise.txt" "c:\shipopswiki\data\LessonsLearned\LlAsia.txt" "c:\shipopswiki\data\LessonsLearned\LlBaltic.txt" "c:\shipopswiki\data\LessonsLearned\LlCasinoAsia.txt" "c:\shipopswiki\data\LessonsLearned\LlCasinoBaltic.txt" "c:\shipopswiki\data\LessonsLearned\LlCrewIssuesAsia.txt" "c:\shipopswiki\data\LessonsLearned\LlCruiseSalesAsia.txt" "c:\shipopswiki\data\LessonsLearned\LlCrystalSocietyAsia.txt" "c:\shipopswiki\data\LessonsLearned\LlEntertainmentAsia.txt" "c:\shipopswiki\data\LessonsLearned\LlFoodBevAsia.txt" "c:\shipopswiki\data\LessonsLearned\LlFrontOfficeAsia.txt" "c:\shipopswiki\data\LessonsLearned\LlHoliday.txt" "c:\shipopswiki\data\LessonsLearned\LlKaizen.txt" "c:\shipopswiki\data\LessonsLearned\LlOpenItems.txt" "c:\shipopswiki\data\LessonsLearned\LlRecommendationsForm.txt" "c:\shipopswiki\data\LessonsLearned\LlSample.txt" "c:\shipopswiki\data\LessonsLearned\LlWorldCruise.txt" "c:\shipopswiki\data\LessonsLearned\TopicClassification.txt" "c:\shipopswiki\data\LessonsLearned\WebAtom.txt" "c:\shipopswiki\data\LessonsLearned\WebChanges.txt" "c:\shipopswiki\data\LessonsLearned\WebHome.txt" "c:\shipopswiki\data\LessonsLearned\WebIndex.txt" "c:\shipopswiki\data\LessonsLearned\WebLeftBar.txt" "c:\shipopswiki\data\LessonsLearned\WebNotify.txt" "c:\shipopswiki\data\LessonsLearned\WebPreferences.txt" "c:\shipopswiki\data\LessonsLearned\WebRss.txt" "c:\shipopswiki\data\LessonsLearned\WebSearch.txt" "c:\shipopswiki\data\LessonsLearned\WebSearchAdvanced.txt" "c:\shipopswiki\data\LessonsLearned\WebStatistics.txt" "c:\shipopswiki\data\LessonsLearned\WebTopicCreator.txt" "c:\shipopswiki\data\LessonsLearned\WebTopicList.txt" failed: Bad file descriptor[Mon Aug 4 12:29:06 2008] view: Use of uninitialized value in concatenation (.) or string at c:/shipopswiki/lib/TWiki/Store/SearchAlgorithms/Forking.pm line 72., referer: http://shipopswiki/bin/edit/LessonsLearned/LlOpenItems?t=1217871792
I am not so familiar with grep, so I'm sort of working blindly, but the way I found to change this setting was http://twiki.org/cgi-bin/view/Support/ActionTrackerSearchNotWorking
My other relevant-seeming RCS settings are:
$TWiki::cfg{RCS}{EgrepCmd} = 'c:\\progra~1\\GnuWin32\\bin\\grep.exe -E %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%';
$TWiki::cfg{RCS}{FgrepCmd} = 'c:\\progra~1\\GnuWin32\\bin\\grep.exe -F %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%';
I have heard that searching is slower using Pure Perl rather than grep, so it would be nice to have it working with grep .... does anyone have any ideas?
Thanks!
Kathy
Environment
-- KathyDeLaCruz - 04 Aug 2008
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
See if it helps to change those two TWiki::cfg{RCS}{...} settings to use 'C:/progra~1/GnuWin32/bin...'. I don't know that that's the source of the problem, but I know that the (single) forward slash works even on Windows, and I've had problems with backslashes before.
-- SeanCMorgan - 05 Aug 2008
Hi Sean -- Thanks, I just tried it, and unfortunately it doesn't have any effect.
Also, I think I forgot to mention earlier that with either Forking or PurePerl, regular searches work fine - it's just the ACTIONSEARCH that doesn't work with Forking.
-- KathyDeLaCruz - 05 Aug 2008
Sorry, closing after more than 30 days. Please reopen with more details if needed...
-- PeterThoeny - 06 Nov 2008