Tags:
create new tag
view all tags

Question

I tried installing the TWiki beta version on an already working TWiki instalation (dec 2000 version), but now any operation related to RCS seems to be broken in some way.

Note that all this happens under the Beta (which I have separated into its own newbin directory), the older TWiki instalation still behaves properly.

  • Diffs: don't work at all, just show a blank template. It shows: Difference Topic WebHome (r1. - 22 Mar 2001 - EdgarBrown), note the lack of a nuber after r1..
    • The engine-logs list a series of:
rcsdiff: /home/twiki/data/Main/RCS/WebHome.txt,v revision number 1.xx too low
...
co /home/twiki/data/Main/RCS/WebHome.txt,v revision number 1.1 too low
  • Edit: opens the edit box correctly, but....
    • On new topic creation: stores the text fine.
    • On topic modification: breaks with the error:
/usr/bin/rcs -q -o /home/twiki/data/Sandbox/TestTopic7.txt
rcs: missing revision range after -o
I have obtained different errors on other conditions, but these involve slight modifications of the code.

The view scripts, and attachment scripts work fine, as do the search scripts, so the problems seem restricted just to the rcs sections of TWiki/Store.pm.

Note that I have no problem with command line rcs commands, I can get diffs, change locks, obtain logs with no problem

NOTE: I have separated the *.txt,v into their own RCS directories to reduce the clutter, but this makes no difference to RCS.

  • TWiki version: 15 May 2001 Beta
  • Web server: Apache 1.3.14-2mdk (mod_perl 1.24)
  • Server OS: Linux (mandrake 2.2.19-4.3mdk)
  • RCS version: rcs-5.7-3mdk

-- EdgarBrown - 07 May 2001

Aaaaarrrrrgggggg....

After fighting with this for a couple of days, the problem is in my last NOTE, when I took the files out of the RCS directories into the webs, it seems to work fine!!!!.

But of course, if I leave the RCS directory in, the *.txt,v file gets placed in it, breaking the scripts again.

Did you add some perl code to parse the rcs files directly????!!!!, I guess this should go into a BugReport

-- EdgarBrown - 07 May 2001

Answer

Was placed into RCSproblemsOnTWikiBeta15May2001 as a BugReport.

-- EdgarBrown - 07 May 2001

I don't consider this as a bug since TWiki was never designed to work with an RCS subdirectory. Also, TWiki does not read the rcs files directly, what you see is RCS spec: RCS searches for rcs files in the RCS subdirectory first, then in the current directory.

-- PeterThoeny - 10 May 2001


++Another one

Well, I got the following message


/tools/gnu/bin/ci -x,v -l -q -mnone -t-none -w'guest' /var/tmp/htdocs/twiki/data/Test/TestTopic1.txt
ci error: setuid initial checkin prohibited; use `rcs -i -a' first
 under solaris 2.6

the way ci is setup here , i should run a rcs -i for the first registration ( a bit like for the binary attachement)

anybody encountered that before ? (im running Twiki beta 15Main2001) -- LucTaesch - 14 June

Answer

I guess that this requires you to change your twiki configuration for your particular instalation, try changing your TWiki.cfg file's line:

$revInitBinaryCmd = "$rcsDir/rcs -q -i -kb %FILENAME%";
to something to the effect of:
$revInitBinaryCmd = "$rcsDir/rcs -q -i -kb -a apache %FILENAME%";

-- EdgarBrown - 14 Jun 2001

SupportStatus:
AnsweredQuestions
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2001-06-16 - 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.