Question
When I attach a binary file I get this error:
Topic save error
During save of file WRNeng.ProjectVayu an error was found by the version
control system. Please notify your TWiki administrator.
/usr/tools/gnu/bin/ci -q -l -m'none' -t-none -w'pthoeny'
/httpd/htdocs/twiki/pub/Know/ProjectAbc/FunctionalSpec.doc 2>&1 1>/dev/null
Binary files /tmp/dmIay.2 and /tmp/T2uHaW92 differ
ci: /httpd/htdocs/twiki/pub/Know/ProjectAbc/FunctionalSpec.doc,v:
diff failed
ci aborted
- TWiki version: 01 Sep 2001
- Web server: Apache
- Server OS: Solaris 2.6
- Web browser:
- Client OS:
--
PeterThoeny - 05 Oct 2001
Answer
This is caused by a version mismatch between
rcs and
diff. The rcs commands (ci, co, rlog...) call the
diff command. The path to the
diff command is hardcoded (determined at compile time). You need to make sure that the correct version of diff is used. If needed, get the d
RCS calls the diff command and the path to diff is hard coded into
RCS, e.g. determined at built time of
RCS! TWiki was configured to use /usr/tools/gnu/bin which in turn tried to use an incompatible diff. This failed when
RCS compared binary files.
Rebuilt the diff and
RCS tools into with the correct path solved the problem.
--
PeterThoeny - 05 Oct 2001
Question moved to
MacOSXAttachProblem by
EmmaJane - 07 Jun 2002