[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Error diffing word document

From: Ben Fritz <fritzophrenic_at_gmail.com>
Date: Fri, 2 May 2014 10:16:07 -0500

Most word docs on my system are diffing just fine.

But one is giving me this error message when I try to show differences
between any two revisions:

Script: C:\Program Files\TortoiseSVN\Diff-Scripts\diff-doc.js
Line: 168
Char: 1
Error: Unknown runtime error
Code: 800A9C64
Source: Microsoft JScript runtime error

No diff is shown. Instead, there is this error dialog, plus an empty
Document1 Word window, and a Word window containing the prior revision
being compared. E.g. I'm comparing the changes in revision 6310, and
the document opened is for revision 6309.

I tried manually downloading each revision, and the comparing them on
the command-line:

C:\My\WC\Dir>wscript.exe "C:\Program Files\TortoiseSVN\Diff-Scripts\diff-d
oc.js" "MyDoc 6308.doc" "MyDoc 6310.doc" //E:javascript

Now I just get an error saying "Error opening MyDoc 6308.doc".

The same thing happens after I convert both docs to the latest format
(saving as docx) and trusting the provider of the macros in them to
get rid of the "Enable Macros" warning on revision 6308.

The line number given in the original error message is just setting
the view type on the document, so I tried commenting out that whole
if(){...} block. When I do that, and invoke Diff from the GUI, I no
longer get a runtime error message, but I do get this message and no
diff is created (the same two windows are shown as when I got the
error):

Error comparing
C:\Users\me\AppData\Local\Temp\MyDoc.doc-rev6310.svn005.tmp.doc and
C:\Users\me\AppData\Local\Temp\MyDoc.doc-rev6309.svn006.tmp.doc

I'm at a loss at this point. Unfortunately the document contains
company-proprietary information so I cannot send it.

I did manage to use Beyond Compare to see the textual differences, so
this isn't critical for me at the moment, but I do rely on the
TortoiseSVN diff in my daily work, and sometimes the changes are not
so simple as a trivial text difference. I was lucky this time.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3077414

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-05-02 17:16:32 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.