Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#11708 - Can't install french dictionary in OpenOffice 3

Attached to Project: Arch Linux
Opened by Pierre Chapuis (catwell) - Saturday, 11 October 2008, 19:17 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 21 October 2008, 21:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

If I try to setup the french dictionary with the Extension Manager I get the error dialog box shown in the attached file.

If I try to use unopkg I get:

[21:06 TA|catwell] /opt/openoffice/program/unopkg add /opt/openoffice/share/extension/install/dict-fr.oxt
An error occurred while enabling: dictionaries.xcu

It's the same whether I use the one shipped with the OpenOffice package or the one from Sun's website, so I'm not sure this is Arch-related. Everything is fine with dict-fr.oxt.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 21 October 2008, 21:00 GMT
Reason for closing:  Upstream
Additional comments about closing:  file an upstream issue. maybe make a comment in our wiki page how to quickfix it.
Comment by christophe vasseur (frenchy) - Tuesday, 14 October 2008, 11:47 GMT
Hello Pierre,

After an afternoon of brainstorming, I've find a solution to resolve that problem !

Rename the folder dict-fr.oxt to dict-fr.zip and extract the files. Open the dictionaries.xcu with your favorite files editor and search for the line 5 : "<node oor:name="HunSpellDic_fr_FR-Classique-et-Réforme1990" oor:op="fuse">". Now remove the "é" (from 'Réforme') or replace it with a "e". Save the file. Re-zip all the files in a dict-fr.zip file. Rename that file to the original "dict-fr.oxt".

And now you can install the french dictionary with the extension manager !

Cheer.
Comment by Pierre Chapuis (catwell) - Tuesday, 14 October 2008, 13:52 GMT
Thanks for the workaround. Looks like this is an upstream problem, I'll try to report this bug so that OpenOffice can handle accented characters in the title of dictionary files.
Comment by Pierre Chapuis (catwell) - Tuesday, 14 October 2008, 16:46 GMT
Their bugtracker registering page gives me a 404, and their website seems to have issues. I think I'll have to wait.
Comment by changaco (changaco) - Tuesday, 21 October 2008, 19:56 GMT
In fact the solution is quite more simple, it's just a character encoding problem:
$ unzip dictionnaire-fr-reforme1990.2.3.3.oxt -d dictionnaire-fr-reforme1990.2.3.3
$ cd dictionnaire-fr-reforme1990.2.3.3
$ iconv -f ISO-8859-15 -t UTF-8 dictionaries.xcu > dictionaries.xcu.utf
$ mv dictionaries.xcu.utf dictionaries.xcu
$ zip ../dictionnaire-fr-reforme1990.2.3.3.oxt *

Could be included in the package until the problem isn't fixed.

Loading...