Question
We have got problems with updating attached binary files. The error message is:
Topic save error
During save of file
TestTopic1 an error was found by the version control system. Please notify your TWiki administrator.
/opt/Summertime_98.sparc/bin/ci -q -l -m'none' -t-none -w'DanielKnobloch' /var/httpd/wiki/htdocs/pub/Test/TestTopic1/Umsatz.xls 2>&1 1>/dev/null
Binary files /tmp/dOVaaAN and /tmp/T2pVa4zN differ
ci: /var/httpd/wiki/htdocs/pub/Test/TestTopic1/Umsatz.xls,v: diff failed
ci aborted
We have no problems with updating non-binary files.
An important issue is that the update of a UNIX-based binary file (.gz.tar) works fine.
Any ideas how we can solve this problem ?
Thanks a lot.
Daniel
- TWiki version: TWiki 01 Dec 2001
- Web server: Apache
- Server OS: Unix
- Web browser: Internet Explorer
- Client OS: Windows NT/2000/XP
--
DanielKnobloch - 02 Jul 2002
Answer
It would be useful to know the actual server OS - e.g.
FreeBSD, Solaris, etc. Try
uname -a
from the shell.
What may be happening is that your
diff
can't handle some binary files (and the .tar.gz didn't have characters that upset it).
It would be worth checking the
diff
program being used by
RCS - this is dependent on the actual PATH used by TWiki. The easiest way to check this is to download the latest
testenv
from
CVSget:bin/testenv and run this - near the end it tells you the exact PATH used, so you can check the
diff
used. If this is Sun's diff, you should download and install GNU diff, which can probably be found at
http://www.sunfreeware.com.
This can also happen with Windows servers where a CR/LF is being added to binary files, but that shouldn't be happening here - search Support for 'binary', there are quite a few questions in this area but none really apply to Unix IMO.
--
RichardDonkin - 02 Jul 2002