Bug 94799 - EDITING - Writer Spell Checker Stopped Working After Version Upgrade and Fatal Error
Summary: EDITING - Writer Spell Checker Stopped Working After Version Upgrade and Fata...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.2.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-05 19:33 UTC by junk_2010
Modified: 2015-10-08 18:55 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description junk_2010 2015-10-05 19:33:43 UTC
Working on Windows 8.1.
Had upgraded LibreOffice from 4.4.5 to v5.
Subsequently upgraded to v5.0.1 bug fix release.
Didn't notice any problem when using this.
Then upgraded to v5.0.2.
LibreOffice did not work after this, it crashed when opening some documents. Note sure why.
Uninstalled and re-installed LibreOffice and the document crashing went away.

Noticed the other evening that in writer spell checking as you type was not working.
When I tried manually spell checking the document the spelling checking box opened, but then the window that says it has finished appeared almost immediately saying "The spellcheck is complete."
Obvious spelling mistakes were not being flagged.

I did an internet search and found references to people have had the problem before about the spell checker not working and that I should check if:
Tools -> Options -> Language settings -> Writing Aids
and if the "Writing Aids" "Available language modules:" box was empty, as that was the problem. It was empty.

Note that in the "User-defined dictionaries" box below, en-GB, en-US, standard and technical dictionaries are defined and enabled.

In the "Options:" box "Check spelling as you type" etc is also enabled.

The suggested fix was to download and install the "English Dictionaries" (dict-en.oxt) extension.

I downloaded this, but when I tried to install this using:

Tools -> Extension Manager…
The first time I tried to open the extension manager nothing happened, trying a second time and the extension manager opened. As soon as I pressed the "Add…" button a pop-up window with a fatal error message appeared (the message is below). On pressing "OK" in the pop-up window LibreOffice closed.

Window banner message: LibreOffice 5.0 - Fatal Error
Window body message:
[context="user"] caught unexpected
com.sun.star.deployment.DeploymentException: Extension Manager:
failed to read data entry in configuration backend db:
file:///C:/Users/Colin/AppData/Roaming/LibreOffice/4/user/uno_packa
ges/cache/registry/com.sun.start.comp.deployment.configuration.Pack
ageRegistryBackend/backenddb.xml

I noticed that this message was referring to "LibreOffice/4/" and I am using LibreOffice 5.

I have tried uninstalling both the language pack and LibreOffice, re-booting the PC and then installing again, re-booting the machine. Both problems (no spell checking and extension manager fatal crash) still occur.
Comment 1 Buovjaga 2015-10-08 09:17:06 UTC
(In reply to junk_2010 from comment #0)
> I noticed that this message was referring to "LibreOffice/4/" and I am using
> LibreOffice 5.

The folder name wasn't renamed to 5 so the user profile would not reset. This was a decision by the engineering steering committee.
Comment 2 junk_2010 2015-10-08 18:03:24 UTC
Uninstalled 5.0.2.2 and GB language pack

Installed 4.4.5.2 and GB language pack.

On starting LibreOffice had the basically the same fatal error as with version 5:


Window banner message: LibreOffice 4.4 - Fatal Error
Window body message:
[context="user"] caught unexpected
com.sun.star.deployment.DeploymentException: Extension Manager:
failed to read data entry in configuration backend db:
file:///C:/Users/Colin/AppData/Roaming/LibreOffice/4/user/uno_packa
ges/cache/registry/com.sun.start.comp.deployment.configuration.Pack
ageRegistryBackend/backenddb.xml


which is the same error as before except that the Windows banner title has "4.4"in rather than "5.0"
Comment 3 junk_2010 2015-10-08 18:54:43 UTC
Uninstalled 4.4.5.2 + GB language pack

Deleted user AppData/Roaming/LibreOffice folder tree.

Installed 5.0.2.2 + GB language pack

Everything now working correctly.

Tools -> Options -> Language settings -> Writing Aids
The "Writing Aids" "Available language modules:" box was no longer blank, it had 4 entries.

Tools -> Extension Manager…
This opened first time and listed five entries for items like: Spelling, Solver for Nonlinear Programming and Wiki Publisher.

Spell checking was now working in writer.

So I presume that whatever was "corrupted" somewhere in:
AppData/Roaming/LibreOffice/…
was causing the problem.