I'm trying to open ODT files on a Windows machine. The files were created in OpenOffice 3 on Ubuntu, checked into CVS, and then checked out on my Windows machine. I attempt to open the ODT file with OpenOffice 3.1 for Windows (latest version) and the file is reported as corrupted. Word also sees the file as corrupted. Neither is able to repair the file. The file opens fine on Ubuntu OpenOffice 3.
ETA: The problem appears to be in the CVS check-in/check out process. If the author sends me the ODT file as a mail attachment it opens no problem.
The problem appears identical across all ODT files created in this way. However, if I create the file on Windows (using OO 3.1) and then try to open it on Ubuntu it does not give corruption messages (there are some format issues, but those are relatively minor).
Anyone seen this problem before and know of a solution?
(*) I've tried a program that claims to make Word be able to read the ODT files, and another that claims to convert ODT format to RTF format. Neither worked.
no subject
Date: 2010-01-26 04:36 pm (UTC)no subject
Date: 2010-01-26 04:37 pm (UTC)no subject
Date: 2010-01-26 04:43 pm (UTC)no subject
Date: 2010-01-26 04:43 pm (UTC)You don't say explicitly that you are using the checked out version of the file on Unbuntu? Are you? If not, try that to see if CVS is just mangling the file.
no subject
Date: 2010-01-26 04:44 pm (UTC)But OpenOffice itself should be able to SaveAs the ODT file as RTF; if you do that on Ubuntu, will the result be editable on Windows?
(Two cheap checks.)
no subject
Date: 2010-01-26 04:50 pm (UTC)no subject
Date: 2010-01-26 06:08 pm (UTC)I assume the problem is that CVS by default assumes that checked in files are plain text, and will perform newline translation. If they're checked in as binary files it should work fine.