Apache OpenOffice (AOO) Bugzilla – Issue 10876
spell check crashes OOO
Last modified: 2008-05-17 23:03:30 UTC
I have installed the Brazilian Portuguese (pt_BR) dictionary to my fresh OOO 1.0.2 installation through the OOodi (OpenOffice Dictionary Installer). (By the way, the the bug I will describe happens also if I installed the dictionary manually.) After that, I enabled the dictionary on OOO, following the steps indicated at http://ooodi.sourceforge.net/OOodi.html#AEN422 and also set the Brazilian Portuguese as the default language. After I restarted the OOO, I tried it out. I wrote something orthographicaly correct in portuguese and run the spellcheck. It worked properly. Then I wrote something incorrect and tried to run the spell check again, but it crashes the ooo. For example, try: "texto correto" (rightly spelled) and "texto coret" (wrongly spelled).
TL->MRU: Please check.
MRU: cannot reproduce the problem. Are the files installed correctly by OOodi? I installed the files manually an what I did is: copied the pt_BR files from the OOo homepage to /OOO/share/dict. Also in this directory I modified the "dictionary.lst by adding the line "DICT pt BR pt_BR" to it. Then I
i have this same issue, though i use the English (USA) dictionary. i have it installed (as per the default installation) in /path-to-OOo/user/wordbook. when i try to check spelling (either through F7 or by right-clicking a word underlined by the auto-checker) i get (roughly) the following: "an unrecoverable error has occurred. all documents have been saved, and can probably be recovered at program restart." and then OOo closes. i just installed 1.0.2, after trying to de-install 1.0.1. there was something during the deinstall about being "unable to remove all files," but i deleted the program directory after that, so it shouldn't have caused a problem. i didn't have this problem with 1.0 or 1.0.1. the dictionaries are there, and listed under the Tools / Language Settings / Writing Aids settings. also, when i edit a dictionary (say, standard.dic) the auto-checker correctly does not underline the added words. so i know the program is calling the dictionary correctly. it just crashes when it tries to check spelling. any ideas? EE
Hi, This appears to be a lingucomponent problem so I am re-assigning ownership to myself if that is okay with everyone. So after reading the reports I have two questions: 1. The en_US dictioanry is already installed in OOo Why would you install it again? It does work and has been tested? Please do a full clean re-install of OOo and verify that spellchecking in en_US works by typing some text in OOo (make sure you are using a font that actually exists on your system!) and invokeing the spellchecker. This should work. 2. As for the Brazilian Dictionry, if you improperly install a dictionary you can make OOo crash or if the dictioanry .aff file is bad, it can cause a crash. So let's go through in great detail the steps you use to install the dictionary. Here they are: 1. start with a fresh install of OOo 1.0.2 (do not install over any old installations) 2. unpack the dictioanry zip files in a temporariy location 3. copy the brazillian pt_BR.aff and pt_BR.dic to the installed location into OpenOffice.org1.0.2/share/dict/ooo/ 4. change directory to OpenOffice.org1.0.2/share/dict/ooo/ and edit the dictionary.lst file with any text editor (emacs, vi, etc) 5. add the following line (as instructed below) to the dictionary.lst file DICT pt BR pt_BR 6. Exit out of OpenOffice.org and any Quickstarter and start up OOo (that will force it to re-read the dictionary.lst file) 7. The last step is to tell OOo that you actually want to use the spellchecker for that language. From the Writer menu go to: Tools->Options->LanguageSettings->WritingAids and hit the "Edit" button. Use the pulldonw menu to select the Brazillain locale you want, and check the OpenOffice.org MySpell Spellchecker box. Then you should be good to go. All of this is documented on the http://whiteboard.openoffice.org/lingucomponent/download_dictionary.html site. If it still crashes, then perhaps the pt_BR.html dictioanry itself is corrupt. I will test it on my own box to see if I can detect any issues with it Please follow these instructions and report back what happens so that we can narrow this one down. Thanks, Kevin
Hi, I recieved your e-mail reply but for a full history it would be nice if you posted all corespondence via the Issue so that it is archived and searchable and ... Okay I downloaded the pt_BR.zip from the http://dict.progbits.com and manually installed it in a fresh OOo 1.0.2 as I described above and then set the default document language to Portuguese (Brazil) and then entered the test string: "texto correto" (rightly spelled) and "texto coret" And then invoked spell checking and it worked perfectly (it identified all of the english words and the word "coret" as incorrect and offered suggestions. I then grabbed a large word doc with equations and graphs and things and selected everything and changed its language to Portuguese (Brazil) and then turned on AutoSpellcheck and every word was underlined. Nothing ever crashed in any way. So then passed the pt_BR.aff and pt_BT.dic through a strict affix file syntax checker I am developing and it passed with flying colors. So I simply can not recreate your problem report at all. Can you answer a few other things for me: 1. Does spellchecking en_US cause any problems for you? 2. Are you using a localized Portuguese build or the standard en_US build of OpenOffice.org 1.0.2? 3. What Linux distrobutiona re you running including glibc version if at all possible? Thanks, Kevin
Created attachment 4587 [details] Some files from OpenOffice1.0.2/share/dict/ooo
As attachment is the compressed file containing the files you have requested.
Hi, Thanks for posting those files. I examined them closely and noticed that have not been installed by root? Did you do a setup -net to install OpenOffice.org or something else? Are you sure the files we are discussing are all in PLACE_YOU_INSTALLED_OPENOFFICE_TO/OpenOffice.org1.0.2/share/dict/ooo/ I would expect all of the files there to be owned by root if you did a proper setup -net installations (or used the install.sh script? The list of files shows that they are all owned by yourself and not root. Perhaps you confused share/dict/ooo/ with usr/wordbook/? Thanks, Kevin
mr. hendricks- i followed your instructions, and i still get the crashing from using the spellchecker. the Writing Aids option shows all the dictionaries i enabled from the dictionary.lst file, so i know that it's reading that file properly. but the spellchecker still crashes, as does right-clicking a mis-spelled word. shall i attach any files? thanks, EE
Hi, No, please search for multiple copies of the file named "dictionary.lst". Look in OpenOffice.org1.0.2/share/dict/ooo/ and OpenOffice.org1.0.2/user/wordbook/ and in other places as well. If you have multiple copies, we really need to remove the ones in user/wordbook/ and make sure things start working normnally again. Kevin
mr. hendricks- i had /several/ copies of dictionary.lst, and deleted all but the main one (/.../share/dict/ooo/dict...). spellcheck no longer crashes, at least near as i can tell. i'll keep trying to crash it with weird words and long docs, but it looks stable for me. thanks, EE
Hi, The other older copies probably came from earlier OOo versions and the key issue here is that the lingucomponent pieces (spellchecker, etc) are still changing (trying to catch up to the rest of OOo) and some incompatible changes were needed to keep progress moving. So it is probably a good idea to remove all old dictionaries and things when upgrading to make sure all goes well. Kevin
Hi, Resolving this as "works for me" Kevin
The Issue you raised has been marked as 'Resolved' and not updated within the last 1 year+. I am therefore setting this issue to 'Verified' as the first step towards Closing it. If you feel this is incorrect, please re-open the issue and add any comments. Many thanks, Andrew Cleaning-up and Closing old Issues ~ The Grand Bug Squash, pre v3 ~ http://marketing.openoffice.org/3.0/announcementbeta.html
As per previous posting: Verified -> Closed. A Closed Issue is a Happy Issue (TM). Regards, Andrew