r3 - 17 Jul 2002 - 06:08:38 - PeterThoenyYou are here: TWiki >  Codev Web > TopicSaveErrorWhenUpdatingImageAttachment
Tags:
, create new tag

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 | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo