Tags:
create new tag
view all tags

Question

Get this error during save (update of an existing) attachment:

During save of BlueWiki.MiddleLayerArchitecture an error was found by the version control system. Please notify your TWiki administrator. 
=/usr/local/bin/ci -m%COMMENT|U% -t-none -w%USERNAME|S% -u %FILENAME|F% of /apps/twiki-home/twiki/pub/BlueWiki/MiddleLayerArchitecture/2G-prod-setup.vsd failed: 1 = 

Go back in your browser and save your changes locally. 

Have tried unlocking the file using rcs command. Did not help. Problem only happens occasionally.

It is really annoying that the error message seems to be cut off. I'm sure there is relevant information there which we do not see. Is there somewhere I can see the full error message? I've looked in the Apache logs and TWiki's log but not found more than the above.

We use mod_perl. Don't know if this is important or not.
Version of RCS is 5.7. GNU diffutils is version 2.8.1.

Any good ideas?

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Solaris 10
Web server: Apache2
Perl version:  
Client OS:  
Web Browser:  
Categories: Version control

-- LarsBruunxHansen - 01 Dec 2006

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.

All I can suggest is that you try the command which failed on the command line, while logged in as / sued to the apache user. That might yield more information (such as a complete error message)

-- CrawfordCurrie - 04 Dec 2006

Oh, and you can enable tracing in the Sandbox module so you can see the exact command issued; look for #$this->{TRACE} = 1; and uncomment it.

-- CrawfordCurrie - 04 Dec 2006

Crawford, thanks. Your help has led me to identify the problem and also fix it. I enabled the trace as you suggested, couldn't figure out why it had no impact. Then remembered that we are using mod_perl which means the Apache needs to be restarted. Did that. Repeated the action in TWiki that gave the problem. Pulled from the Apache log the actual command being executed. Tried it from command line, gave "bad diff output line". Googled on that. Led me to BinarySaveFailsRCSConfigError. Told me that the real problem is that my rcs binaries are not using GNU diff, but the Sun equivalents. This is very embarrassing as I thought I had fixed that.

I've added a note on this on the SolarisInstallCookbook so that people always verify that their rcs binaries are indeed using the correct diff.

Once again thanks.

-- LarsBruunxHansen - 06 Dec 2006

Thanks Crawford and Lars, nice open source collaboration going on here smile

-- PeterThoeny - 06 Dec 2006

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-12-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.