Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows 2003 Server
Web server: Apache 2
Perl version: indigoperl 5.8.6
Client OS: Windows
Web Browser: FIrefox 3, IE
Categories: Search

-- KathyDeLaCruz - 04 Aug 2008

Answer

ALERT! 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

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2008-11-06 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.