Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 91667

Summary: app-office/lyx - Portuguese language misspelled in Lyx document settings causing spellchecker to fail
Product: Gentoo Linux Reporter: NR <l3cc>
Component: Current packagesAssignee: TeX project <tex>
Status: RESOLVED FIXED    
Severity: trivial CC: ps
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugzilla.lyx.org/show_bug.cgi?id=1627
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 168799    
Bug Blocks:    

Description NR 2005-05-06 02:20:36 UTC
Portuguese language is spelled 'Portugese' in Lyx definitions. This causes all calls to spellchecker (aspell, ispell, hspell) to fail to recognize the language.

Reproducible: Always
Steps to Reproduce:
1.Open document settings
2.Choose language
3.Choose 'Portugese'
4. Press F7 to call the spellchecker

Actual Results:  
Alert pop-up says:
'The spell-checker has failled.
 The file /usr/lib/aspell/portuges can not be opened for reading.'

Expected Results:  
Run the spell-checker file /usr/lib/aspell/portugues (or the corresponding
ispell, hspell files, depending on dictionary definitions).
Comment 1 Rui Vilela 2005-07-04 02:47:18 UTC
This is due to old compactibility issues with string length used on Babel. The
correct form should be portuguese. I don't know solution, just clue
Comment 2 Martin Ehmsen (RETIRED) gentoo-dev 2006-05-20 14:43:04 UTC
There is a open bug upstream about this.
There is also described a work-around.
Comment 3 NR 2006-05-20 15:41:47 UTC
There is a simple but lazy workaround I've used with aspell:
I've created the file '/usr/lib/aspell/portuges.alias' by copying one of the already existing aliases for the language.
This way the spellchecker finds what it needs.
Is not a solution, is not pretty, but it works while this thing is not fixed in Lyx itself.
Comment 4 pavel sanda 2007-05-06 23:13:23 UTC
This problem should be fixed in 1.5.0.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-10-14 08:10:45 UTC
1.5.1 in the tree -> FIXED.