Bug 884212

Summary: Spell-checking does not work because of missing libhunspell
Product: [Fedora] Fedora Reporter: Vadim Druzhin <cdslow>
Component: OmegaTAssignee: Ismael Olea <ismael>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: ismael, mtasaka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-19 08:26:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
OmegaT log with error message none

Description Vadim Druzhin 2012-12-05 17:01:00 UTC
Created attachment 658298 [details]
OmegaT log with error message

Description of problem: Spell-checking does not work

Version-Release number of selected component (if applicable): OmegaT-2.3.0_3 on Fedora 17 x86_64

How reproducible: Always

Steps to Reproduce:
1. Run OmegaT
2. Create new project
3. Import some source file
3. Enable "Options->Spell Checking...->Automatically check the spelling of text"
4. Enter some text with errors
  
Actual results: Errors in text are ignored

Expected results: Errors must be highlighted

Additional info: OmegaT dynamically loads /usr/lib/libhunspell-1.2.so.0, while system repository provides /usr/lib64/libhunspell-1.3.so.0 from hunspell-1.3.2-8.fc17.x86_64 and /usr/lib/libhunspell-1.3.so.0 from hunspell-1.3.2-8.fc17.i686

Perhaps OmegaT must be build against correct version of hunspell, or libhunspell-compat-1.2.i686 must be provided in repository.

Comment 1 Fedora Update System 2012-12-06 00:22:32 UTC
OmegaT-2.3.0_06-4.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/OmegaT-2.3.0_06-4.fc17

Comment 2 Fedora Update System 2012-12-06 00:51:44 UTC
OmegaT-2.3.0_06-5.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/OmegaT-2.3.0_06-5.fc18

Comment 3 Fedora Update System 2012-12-06 00:58:43 UTC
OmegaT-2.3.0_06-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/OmegaT-2.3.0_06-2.fc16

Comment 4 Vadim Druzhin 2012-12-06 17:18:55 UTC
Version OmegaT-2.3.0_06-4.fc17 still does not work by default on x86_64.

It uses correct library version, but incorrect library path. Library is requested as /usr/lib/libhunspell-1.3.so.0, while real path is /usr/lib64/libhunspell-1.3.so.0.

After creating symlink with command "ln -s ../lib64/libhunspell-1.3.so.0 /usr/lib/libhunspell-1.3.so.0" it started to work.

It seems, that OmegaT package must be tagged as architecture dependent, instead of noarch. Or at least spell-checking part must be separated and provided as architecture dependent. Or, may be, correct library path must be detected at run time.

Comment 5 Fedora Update System 2012-12-06 20:09:08 UTC
Package OmegaT-2.3.0_06-5.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing OmegaT-2.3.0_06-5.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-19858/OmegaT-2.3.0_06-5.fc18
then log in and leave karma (feedback).

Comment 6 Ismael Olea 2012-12-09 18:09:59 UTC
(In reply to comment #4)
> Version OmegaT-2.3.0_06-4.fc17 still does not work by default on x86_64.
> 
> It uses correct library version, but incorrect library path. Library is
> requested as /usr/lib/libhunspell-1.3.so.0, while real path is
> /usr/lib64/libhunspell-1.3.so.0.

I'll try a new hack. Stay tuned.

Comment 7 Ismael Olea 2012-12-09 19:23:20 UTC
Vadim: could you try this one? http://kojipkgs.fedoraproject.org//work/tasks/1201/4771201/OmegaT-2.3.0_06-3.fc17.x86_64.rpm

Comment 8 Vadim Druzhin 2012-12-10 15:51:40 UTC
(In reply to comment #7)
> Vadim: could you try this one?
> http://kojipkgs.fedoraproject.org//work/tasks/1201/4771201/OmegaT-2.3.0_06-3.
> fc17.x86_64.rpm

Yes, this version works fine.

Comment 9 Ismael Olea 2012-12-10 17:30:00 UTC
Thanks a lot for the feedback!

Comment 10 Fedora Update System 2012-12-10 17:36:00 UTC
OmegaT-2.3.0_06-3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/OmegaT-2.3.0_06-3.fc16

Comment 11 Fedora Update System 2012-12-10 17:36:14 UTC
OmegaT-2.3.0_06-5.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/OmegaT-2.3.0_06-5.fc17

Comment 12 Fedora Update System 2012-12-10 17:36:25 UTC
OmegaT-2.3.0_06-6.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/OmegaT-2.3.0_06-6.fc18

Comment 13 Fedora Update System 2012-12-11 01:31:29 UTC
Package OmegaT-2.3.0_06-5.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing OmegaT-2.3.0_06-5.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-20107/OmegaT-2.3.0_06-5.fc17
then log in and leave karma (feedback).

Comment 14 Fedora Update System 2012-12-19 08:26:37 UTC
OmegaT-2.3.0_06-3.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2012-12-19 08:42:26 UTC
OmegaT-2.3.0_06-5.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2013-01-11 23:54:13 UTC
OmegaT-2.3.0_06-6.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.