OpenOffice does not open word documents

Asked by Andreas Saladin

Binary package hint: openoffice.org

OpenOffice Word Processor doesn't open word files allthough Nautilus recognizes that the file is a word document. If I add .doc at the filename it works. But doing that for all my old files I worked with on my Apple is a headache. How to better solve this and why does'nt it work anyway? I use:
Ubuntu 9.10 (karmic)
 2.6.31-22-generic (#60-Ubuntu SMP Thu May 27 00:22:23 UTC 2010)
OpenOffice 3.1.1

ProblemType: Bug
Architecture: i386
Date: Mon Jul 12 16:19:51 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: nvidia
Package: openoffice.org-core 1:3.1.1-5ubuntu1.2
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-22.60-generic
SourcePackage: openoffice.org
Uname: Linux 2.6.31-22-generic i686

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu openoffice.org Edit question
Assignee:
No assignee Edit question
Solved by:
delance
Solved:
Last query:
Last reply:

This question was originally filed as bug #604637.

Revision history for this message
Andreas Saladin (andisaladin) said :
#1
Revision history for this message
Mitch Towner (kermiac) said :
#2

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs#When%20not%20to%20file%20a%20bug.

Revision history for this message
Vu Do Quynh (vu-do-quynh) said :
#3

Hi,

I think the reason is that the file extension ".doc" has an important meaning in associating this extension with the type of application.

I took an existing .doc document file, changed its name by removing the .doc extension name and in the properties of the file (right-click > properties) the type of the file immediately changed from MS Word document (application/msword) to OLE2 (application/x-ole-storage). This is why you can't no more open the file automatically with OpenOffice.org

If you need to add the suffix ".doc" to all your word document files, you could use a mass rename utility.

Hope that helps.

Revision history for this message
Best delance (olivier-delance) said :
#4

Do your files have a current extension to tell Apple OS it is a word file ?

Revision history for this message
Andreas Saladin (andisaladin) said :
#5

No, Apple has no extensions - it recognizes automatically. Well luckily I can add .doc and it works it is just not fun doing so. What rename utility could help me? thanks.

Revision history for this message
Vu Do Quynh (vu-do-quynh) said :
#6

Hi,

You can go to the Ubuntu Software center (under the Applications menu) and search for "file rename". I found PyRenamer, GPrenamer, Purr and Krename. I have used PyRenamer once in the past.

If you know how, you could also write a small bash script to rename all the files in one subdirectory (you can probably find lots os such scripts on the internet).

Hope that helps.

Revision history for this message
inashdeen (inashdeen) said :
#7

how about trying running it on a microsoft windows first. i dont kniw, never used a mac for real actually, but windows might auto put the extensions

Revision history for this message
delance (olivier-delance) said :
#8

Run the command
    file word_filename
where word_filename is name of a word file.
If the command "file" recognize file as Word, it is possible to write a script to add ".doc" extension to all Word files.

Revision history for this message
jeffrey37 (jeff32kubbs) said :
#9

I would suggest you next utility to repair corrupted word file http://www.word.fixtoolbox.com application restores word files from media storages: usb, flash, network drives…