Tags:
create new tag
view all tags

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

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2002-07-17 - 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.