Tags:
create new tag
, view all tags

Question

* File attachments update: If you try to update an already uploaded file, same name and path, it comes back with this message

" /opt/gnu/bin/ci -q -l -m'test document' -t-none -w'AdelTaweel' /usr/local/twiki-clef/pub/Sandbox/TestTopic1/Thisisatestdocument.doc 2>&1 Binary files /tmp/dONay9O and /tmp/T2KNaq9O differ
ci: /usr/local/twiki-clef/pub/Sandbox/TestTopic1/Thisisatestdocument.doc,v: diff failed ci aborted

Go back in your browser and save your changes locally. " Help!??

  • TWiki version: 1 Feb 2003
  • Perl version: 5.6.1,
  • Web server & version:
  • Server OS: sun solaris 5.8
  • Web browser & netscape version: 7.1
  • Client OS: winxp

-- AdelTaweel - 22 Jul 2003

Answer

I would agree with you - this looks really wrong. But it's pretty hard to figure out the problem and the solution from the above alone. It would help a lot if you would provide the version details above, and also post the output of testenv. Please check the SupportGuidelines for help on how that's done.

-- TorbenGB - 22 Jul 2003

Versions added above , To avoid adding the long output of the testenv, please see it at this URI http://twiki.clinical-escience.org/twiki-clef/bin/testenv.

thanks -- AdelTaweel - 22 Jul 2003

The testenv output points out that you are not using the recommended GNU diff, most likely you're on Solaris diff - see TWikiOnSolaris. You may also need to install a new copy of RCS pointing to GNU diff. This may be the cause of the problem, though I haven't seen this one so Googling for the error message + TWiki would be useful.

Also, your CGI version is quite old (which has caused attachment problems before), so you might want to try updating it with perl -MCPAN -e 'install CGI' - but RCS/diff is the most likely issue.

-- RichardDonkin - 22 Jul 2003

Topic revision: r6 - 31 Aug 2003 - 18:06:17 - RichardDonkin
Support.BinaryFilesDifferMessage moved from Support.FileAttachments on 23 Jul 2003 - 06:09 by PeterThoeny - put it back
 
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