Tags:
create new tag
view all tags

Question

When I request "Total Page History" (rdiff) I get a header for each version but no differences. I've tried all the suggestions in DiffProblem but with no success.

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Solaris 9
Web server: Apache/2.0.51
Perl version: 5.6.1
Client OS: Solaris 9 & Windows 2000
Web Browser: Netscape & IE 6
Categories: Topic revisions

Here are the highlights from the delivered testenv (I'm not able to down load the latest version)

$safeEnvPath:/usr/local/bin:/opt/sfw/bin:/bin:/usr/bin

Current PATH: /usr/local/bin:/opt/sfw/bin:/bin:/usr/bin

diff
GNU diff was found on the PATH - this is the recommended diff tool.

$rcsDir:/usr/local/bin

RCS Version:5.7

Perl version:5.6.1

TWiki module in @INC path: OK, TWiki.pm found (TWiki version: 01 Sep 2004 $Rev: 1742 $)


"strings /usr/local/bin/rcsdiff | grep /diff" yields /usr/local/bin/diff

"/usr/local/bin/diff -v" yields diff (GNU diffutils) 2.8.1

From the TWiki access log I get:

09 Dec 2004 - 14:37 TWikiGuest rdiff TRSWiki r1.137 r1.1 "my IP address"

and no errors in the TWiki error log

From the httpd access log I get

"my IP address" - - [09/Dec/2004:14:37:05 -0600] "GET /twiki/bin/rdiff/TRSWiki/WebHome HTTP/1.1" 200 73931
"my IP address" - - [09/Dec/2004:14:37:07 -0600] "GET /twiki/bin/view/TRSWiki/ HTTP/1.1" 400 302
"my IP address" - - [09/Dec/2004:14:37:07 -0600] "GET /twiki/bin/view/TRSWiki/ HTTP/1.1" 400 302
"my IP address" - - [09/Dec/2004:14:37:17 -0600] "GET /twiki/pub/twikilogo3.gif HTTP/1.1" 404 298

From the httpd error log

[Thu Dec 09 14:37:05 2004] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Dec 09 14:37:17 2004] [error] [client "my IP address" ] File does not exist: /apps/httpd/twiki/pub/twikilogo3.gif, referer: http://ghost.swen/twiki/bin/rdiff/TRSWiki/WebHome

Disabling plugins didn't help

Also I noticed in TWiki.cfg the command definition
diffCmd => "/opt/sfw/bin/gdiff $rcsArg -q -w -B -r%REVISION1% -r%REVISION2% $keywordMode --unified=%CONTEXT% %FILENAME% $endRcsCmd", and $keywordMode = -ko

-ko is not a valid option for gdiff. I tried changing this but it didn't help

Our server is behind a firewall.

-- DavidSimmons - 09 Dec 2004

Answer

I doubt this is the cause of your problem, but did you try re-locking your RCS files? That's mentioned in the testenv (thanks for including this). If you do re-lock, I really recommend not using the easy re-lock link from testenv as that has some problems (see SourceForgeDec2004UpgradeIssue) - instead, use the command line in WindowsInstallCookbook, which definitely works OK.

Other than that I don't really have any great suggestions other than to try building your own copy of RCS, which will use its own diff. The RCS and diff versions look OK but it may be you have an odd Solaris version of diff, even though it is in /usr/local/bin

-- RichardDonkin - 10 Dec 2004

I relocked the files, and built my own version of diff and RCS. I still get no diff output.

-- DavidSimmons - 20 Dec 2004

Are you using the GNU tool? The Solaris one do not work in TWiki.

I noticed in your TWiki.cfg that you have "/opt/sfw/bin/gdiff $rcsArg..." for diffCmd. I think it should be the default for your configuration: "$rcsDir/rcsdiff $rcsArg....

-- PeterThoeny - 22 Dec 2004

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatcfg TWiki.cfg r1 manage 23.3 K 2004-12-09 - 22:51 UnknownUser TWiki.cfg
HTMLhtml testenv.html r1 manage 12.8 K 2004-12-09 - 22:50 UnknownUser Complete testenv output
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2004-12-22 - 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-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.