• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.
We have a new TWiki installed on Windows 2003 server R2, Apache 2.0.59(Win32) and current Apache 2.2

1. I have default install of TWiki, clean configured with these settings:

Using RcsLite, and our grep settings are

{RCS}{EgrepCmd} d:/cygwin/bin/grep.exe -E %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%

{RCS}{FgrepCmd} d:/cygwin/bin/grep.exe -F %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%

2. Add a new topic into sandbox web (autoname) with one word xyzzy

3. Search for xyzzy in search form

4. Results:

-----------------------------------
Web Search 
Searched: xyzzy
Number of topics: 1   Modify search 

Results from Sandbox web retrieved at 21:51 (GMT)
d:\twiki\data\Sandbox\TestTopic0TWikiGuestNEW - 01 Jan 1970 - 00:00 
-----------------------------------

5. The result WikiWord for the topic is the full path to the data file, and when clicked gives the 404 page and message:

"Sandbox/d:/twiki/data/Sandbox" web does not exist

6. The timestamp of the document is always 01 Jan 1970 - 00:00, or obviously a zero.

NOTES: In searching for similar issues, I found TWiki:Codev/SearchMessesUpPath which smells like it could be the problem. And in keeping with the other 5 topics in various places related to missing grep (e.g. TWiki:Support/SearchFails) , the grep works -- the results are there -- but the results are not formatted correctly. I have messed with the path settings also.

I also tested on Windows 2000 SP4 with Apache 2.2 and on Win2003 Server with Apache 1.3.x and Apache 2.2.x; same results.

The Apache installs are very basic: port 80, no virtual host, including the supplied twiki_conf. All other pages view and edit fine.

I installed the USB-drive version of 4.0.5. Its results are correct, so I copied the grep.exe from there; same problem.

I also noticed that when pages are served up, a command prompt window flashes up and disappears quickly. I assume this is the grep being executed, however it happens three or four times after the page comes back.

I have tried to find the code where the results from the grep.exe are parsed, but have been unable to do so, and also to put debug code to write the results out. If anyone can point me to how to try to debug this problem, please let me know, especially which tools are used (Eclipse EPIC???).

I may try the same process on Linux to check it out, but that option is not available to us for production.

-- TWiki:Main/DavidChwalisz - 09 Feb 2007

I just tried this on my server, IndigoPerl on Windows XP Home. No problem. I recall having seen a similar problem a long time ago when a non-GNU version of grep was used. I suspect that's the problem here. Please make sure you have GNU grep, and feedback the results.

FYI the search results are parsed in lib/TWiki/Store/RcsFile.pm, searchInWebContent.

CC

No feedback for three months, closing.

-- TWiki:Main.SteffenPoulsen - 17 Sep 2007

ItemTemplate
Summary Search Results show Full Path to data topic files, not WikiWord
ReportedBy TWiki:Main.DavidChwalisz
Codebase 4.1.1
SVN Range TWiki-4.1.1, Fri, 09 Feb 2007, build 12810
AppliesTo Engine
Component

Priority Normal
CurrentState No Action Required
WaitingFor TWiki:Main.DavidChwalisz
Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2007-09-17 - SteffenPoulsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback