Bug: Topic Save Error when Updating Image Attachment
I attached a JPEG image to a topic. I then attempted to update the image. I got this error:
During save of file Meridian.ThreadContext an error was found by the version control system. Please notify your TWiki administrator.
/usr/local/bin/ci -q -l -m'ThreadContext and its interfaces' -t-none -w'BenjaminGeer' /var/apache/twiki/pub/Meridian/ThreadContext/ThreadContext.jpg 2>&1 1>/dev/null
Binary files /tmp/dfQa4NW and /tmp/T25PaWNW differ
ci: /var/apache/twiki/pub/Meridian/ThreadContext/ThreadContext.jpg,v: diff failed
ci aborted
Go back in your browser and save your changes locally.
However, when viewing the topic, I now see the updated image anyway.
Test case
(On Solaris 8.) Attach an image to a topic. Click the attachment's
action link, and upload a new image file with the same name.
Environment
| TWiki version: |
2001-12-01 |
| TWiki plugins: |
|
| Server OS: |
Solaris 8 |
| Web server: |
Apache 1.3.9 |
| Perl version: |
5.005_03 |
| Client OS: |
Windows NT |
| Web Browser: |
Mozilla 1.0 |
--
BenjaminGeer - 04 Jul 2002
Follow up
I've just found two references to this in
Support:
I've solved the problem by installing GNU diff, and then recompiling
RCS.
Would it be possible to mention this in the TWiki installation instructions? Perhaps GNU diff could be listed as a prerequisite.
--
BenjaminGeer - 04 Jul 2002
Fix record
Good idea to mention GNU diff - I believe that
RCS normally installs a version of diff that would work, so it may be a PATH problem (making sure that the Sun diff is not before the
RCS or GNU diff.) Could you post your PATH as used by TWiki, and the pathnames to all versions of diff? Installing
CVSget:bin/testenv
is the easiest way of checking the TWiki PATH.
--
RichardDonkin - 04 Jul 2002
Changed this from bug to
DocsToDo.
--
PeterThoeny - 17 Jul 2002