On 11/10/2010 02:55 AM, Linda L. Hull wrote: > We had a power failure, my UPS didn't last. > > When I try to open Open Office from either Applications > Office or > command line, it gets half way and stops. > > I have Ubuntu 9.04, and OpenOffice 3.01 I think. > > :~$ soffice -writer 2009-06-17usernamesspreads.xls > > ** (soffice:13172): WARNING **: unable to get gail version number
<http://www.google.com/search?hl=en&complete=0&q=ubuntu+%2B"unable+to+get+gail+version+number"&btnG=Search> > ^C > :~$ soffice -calc 2009-06-17usernamesspreads.xls > > ** (soffice:13193): WARNING **: unable to get gail version number > :~$ error - missing word count in dictionary file > Hash Manager Error : 4 <http://www.google.com/search?hl=en&complete=0&q="+error+-+missing+word+count+in+dictionary+file"&btnG=Search> >From what I gather, 'unable to get gail version number' is the warning & the actual error seems to be in the dictionary file. There are a couple of things you can try: 1. Move/rename your user profile and allow OOo to create a new user profile. If that works then you know that the problem is in the profile. First backup. To do this (from a terminal): $ mkdir ~/ooobackup $ mv ~/.openoffice.org* ~/ooobackup Your OOo profile will now be located in ~/ooobackup so you can move back if the profile is not the issue. Now restart OOo and see if it works. If not, move your profile(s) back: $ cd ~/ooobackup $ la [Now check to see if you have more than one folder (.openoffice.org .openoffice.org2 etc). If you do move each folder back:] $ mv ~/ooobackup/.openoffice.org/ ~/.openoffice.org mv ~/ooobackup/.openoffice.org2/ ~/.openoffice.org2 2. See if you have any broken packages as a result of your power failure: $ sudo apt-get install -f $ sudo dpkg --configure -a If you get errors from the above, hopefully they will be fixed when you run the commands. Try OOo again. 3. If the above doesn't work, _backup_ your profile again: $ cp -R ~/.openoffice.org* ~/ooobackup now purge & reinstall OOo (make sure that you have a valid/good networking connection beforehand): [note: purge so that the config scripts do not remain - you will of course have to reinstall any special extensions that you may have. Reinstalling is a bit drastic, but unless you have the time, inclination to track down each dict file, it's probably the easiest to do at this point.] $ sudo apt-get -s purge openoffice.org* will show you what is about to be uninstalled without actually performing the action. When you decide to go ahead and purge, remove the '-s' in the command: $ sudo apt-get purge openoffice.org* Now reinstall: $ sudo apt-get install openoffice.org Try OOo again. If it works (and it should), you can move your previous profile(s) back to ~/.openoffice.org. *Of course the normal disclaimer applies: backup & only purge/reinstall if you feel comfortable doing so. I've done the above on multiple systems without issues... your results may vary - particularly since you are running an EOL distro version* If you run into problems, contact me directly and I'll install 9.04 on a test system and see if I can assist further. BTW: you realize that Ubuntu 9.04 has reached EOL? See: https://wiki.ubuntu.com/Releases You might want to consider upgrading your system. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
