Problem with dic file

Hi!

I found that for some reason the spell checking dic for Latgalian language in not working anymore

the dic can be found here:

http://extensions.libreoffice.org/extension-center/latgalian-spell-checking-and-hyphenation-module

The dic is shown in the list of extensions, in character formatting dialogue the availability of spelling dic is indicated, but spell schecking is gone and there are no suggestions also.

To add more to the confusion - the very dictionary is working in Mozilla products without any problems.

Where is a problem? The other dic developed by me for Latvian languge is working as expected.

Janis

Dear Jānis,

Your dictionary (version 0.1.2 from
http://extensions.libreoffice.org/extension-center/latgalian-spell-checking-and-hyphenation-module/releases/0.1.2/ltg_lv-0.1.2.oxt/view)
works well with the recent LibreOffice master branch. There was no
changes on the spelling checker side, but the language
code/localization handling has been changed, and there was a bug in
the dictionary registration:

https://bugs.freedesktop.org/show_bug.cgi?id=58503

I believe, using the recent development
version or older LibreOffice versions _or_ (if I right know)
installing system-wide dictionaries into the /usr/share/hunspell on
Linux can solve this problem. I suggest to check different LibreOffice
versions (removing temporarily also the user profiles before the
installation, eg. on Linux ~/.libreoffice or ~/.config/libreoffice)
and set the working versions on your dictionary site of
extensions.libreoffice.org. Or is this problem related to the
integrated dictionary?

Best regards,
László

Dear László,

I just fresh installed LO 4.0.2 on XP64 cleaning up config beforehand - no result. As most potential users can be found behind Win computers, there is no other option how to install spell checking dics.

So, the bug you mention seems still open (if one can point me to the current devel version for Win, I'll gladly give it a try)

Janis

Citēts Németh László <nemeth@numbertext.org>
Tue, 16 Apr 2013 11:40:17 +0200:

Hi!

in "~user\Application Data\LibreOffice\4\user\uno_packages\cache\" log file i see such msg:

###### Progress log entry 2013-04-16 20:47:41 ######
Reinstalling all deployed packages...
###### Progress log entry 2013-04-16 20:47:47 ######
ERROR: (com.sun.star.lang.IllegalArgumentException) { { { Message = "There is no such extension deployed: Latvie\X0161u valodas pareizrakst\X012bbas l\X012bdzek\X013ci no dict.dv.lv", Context = (com.sun.star.uno.XInterface) @808dcc8 } }, ArgumentPosition = (short) -1 }
ERROR: (com.sun.star.lang.IllegalArgumentException) { { { Message = "There is no such extension deployed: Latvie\X0161u valodas pareizrakst\X012bbas l\X012bdzek\X013ci no dict.dv.lv", Context = (com.sun.star.uno.XInterface) @808dcc8 } }, ArgumentPosition = (short) -1 }
Copying: lv_lv-0-9-6.oxt
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) @808dcc8 } }, 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) @808dcc8 } }, ArgumentPosition = (short) -1 }
Copying: ltg_lv-0.1.2.oxt
ERROR: (com.sun.star.lang.IllegalArgumentException) { { { Message = "There is no such extension deployed: org.openoffice.ro.dictionaries.ru-aot", Context = (com.sun.star.uno.XInterface) @808dcc8 } }, ArgumentPosition = (short) -1 }
ERROR: (com.sun.star.lang.IllegalArgumentException) { { { Message = "There is no such extension deployed: org.openoffice.ro.dictionaries.ru-aot", Context = (com.sun.star.uno.XInterface) @808dcc8 } }, ArgumentPosition = (short) -1 }
Copying: dict_ru_ru-aot-0-2-9.oxt
###### Progress log entry 2013-04-16 20:49:53 ######

Citēts Jānis <jancs@dv.lv>
Tue, 16 Apr 2013 20:57:12 +0300:

Hi!

Unfortunately, with v. 4.0.3.1 for win it is still impossible to use ltg_LV dictionary.

the log says:

###### Progress log entry 2013-04-18 13:56:08 ######
Reinstalling all deployed packages...
###### Progress log entry 2013-04-18 13:56:10 ######
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.2-1.oxt
ERROR: (com.sun.star.lang.IllegalArgumentException) { { { Message = "There is no such extension deployed: org.openoffice.en.hunspell.dictionaries", Context = (com.sun.star.uno.XInterface) @cd18eec } }, ArgumentPosition = (short) -1 }
###### Progress log entry 2013-04-18 13:56:51 ######

may be the problem lies with somehow lost ability of LO to process UTF8 strings in description? lv_LV dic is still ISO8859-13 and it works.

Janis

Citēts Németh László <nemeth@numbertext.org>
Tue, 16 Apr 2013 11:40:17 +0200:

the only difference I see with other dics i use is an extra error message:

ERROR: (com.sun.star.lang.IllegalArgumentException) { { { Message = "There is no such extension deployed: org.openoffice.en.hunspell.dictionaries", Context = (com.sun.star.uno.XInterface) @cd18eec } }, ArgumentPosition = (short) -1 }

because other two dics generate just 2 error messages.

Janis

Citēts Jānis <jancs@dv.lv>
Thu, 18 Apr 2013 14:03:50 +0300:

I found a problem in dictionaries.xcu and correction of it removed third error message, but dic is not working anyway (on win, Linux is not tested yet)

Janis

Citēts Jānis <jancs@dv.lv>
Thu, 18 Apr 2013 14:13:06 +0300:

Hi,

###### Progress log entry 2013-04-18 13:56:10 ######
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 }

I'm not sure, I didn't test, but "Latgalīšu volūdys pareizraksteibys
vuordineica nu dict.dv.lv" as identifier is a bit unusual. Can you try
something simpler, like "latgalian.dict.dv.lv"?

Andras

Hi!

I can try, but that relates not only to Latgalian language - others also produce the same error messages.

Russian, for example:
ERROR: (com.sun.star.lang.IllegalArgumentException) { { { Message = "There is no such extension deployed: org.openoffice.ro.dictionaries.ru-aot", Context = (com.sun.star.uno.XInterface) @cd0cd30 } }, ArgumentPosition = (short) -1 }

I looked at the other dics and now I feel a bit confused: does it play any role how to form an identifier?
For English I see org.openoffice.en.hunspell.dictionaries, for Russian <identifier value="org.openoffice.ro.dictionaries.ru-aot" />

?

Latgalian language is a subset of Latvian macrocode, consisting of two langugaes - Latvian standard (lvs) and Latgalian (ltg) both spoken in Latvia (LV).

besides that - with all errors other dics are working.

Janis

Citēts Andras Timar <timar74@gmail.com>
Thu, 18 Apr 2013 13:55:39 +0200:

Hi!

definitely there is something fishy with dic installation (in the LO or my package) - if i replace aff and dic of the working spell check language with the files form Latgalian, spell check works (even if the identification of the working one is "unusual".

Janis

Citēts Jānis <jancs@dv.lv>
Thu, 18 Apr 2013 15:33:12 +0300: