Bug 63683 - Previously working dictionary stopped working
Summary: Previously working dictionary stopped working
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Linguistic (show other bugs)
Version:
(earliest affected)
4.0.3.1 rc
Hardware: Other All
: highest blocker
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-04-18 12:12 UTC by Jānis Eisaks
Modified: 2013-12-17 13:34 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
dictionary package (76.62 KB, application/vnd.openofficeorg.extension)
2013-04-18 12:12 UTC, Jānis Eisaks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jānis Eisaks 2013-04-18 12:12:09 UTC
Created attachment 78177 [details]
dictionary package

Hi!

After upgrading of LO i found that previously functioning dic for Latgalian language stopped working.

Installation of dictionary gives the following error messages:

###### Progress log entry 2013-04-18 14:31:54 ######
ERROR: (com.sun.star.lang.IllegalArgumentException) { { { Message = "There is no such extension deployed: Latgal\X012b\X0161u vol\X016bdys pareizraksteibys vuordineica nu dict.dv.lv", Context = (com.sun.star.uno.XInterface) @cd18eec } }, ArgumentPosition = (short) -1 }
ERROR: (com.sun.star.lang.IllegalArgumentException) { { { Message = "There is no such extension deployed: Latgal\X012b\X0161u vol\X016bdys pareizraksteibys vuordineica nu dict.dv.lv", Context = (com.sun.star.uno.XInterface) @cd18eec } }, ArgumentPosition = (short) -1 }
Copying: ltg_LV-0.1.3.oxt

Similar error messages produces any additional language dic installed using Extension manager. Unfortunately, only ltg_LV is not working - all words are underlined and no suggestion is available. Just to note - the same 0.1.2 is working OK with Mozilla products.

Officially released dic can be found here:
http://extensions.libreoffice.org/extension-center/latgalian-spell-checking-and-hyphenation-module

Attached please find not yet released version of ltg_LV dic in which I corrected dictionaries.xcu file, which in case of 0.1.2 generates an additional error message.

I tested it with 4.0.3.1 release candidate and 3.6.6. with the same result.

Janis
Comment 1 Andras Timar 2013-04-18 18:39:43 UTC
First line of the ltg_LV.dic must be the number of items (lines) in the dictionary. In your case it is 8097. With this change the extension works as expected. This is not a bug in LibreOffice, but in ltg_LV-0.1.3.oxt.
Comment 2 Jānis Eisaks 2013-04-19 04:53:40 UTC
Indeed.

I was so confused with all this that forgot to check word count in unreleased dic.
In 0.1.2 it exists.