discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failed to get spell checker


From: Wolfgang Lux
Subject: Re: Failed to get spell checker
Date: Wed, 18 Mar 2020 15:10:08 +0100

> Am 18.03.2020 um 00:37 schrieb Riccardo Mottola via Discussion list for the 
> GNUstep programming environment <discuss-gnustep@gnu.org>:
> 
> Hi steppers!
> 
> I notice many of these errors:
> 
> 2020-03-18 00:22:39.070 GNUMail[6471:6471] Failed to get the spellserver
> 2020-03-18 00:22:41.078 GNUMail[6471:6471] Language: BritainEnglish
> 2020-03-18 00:22:41.080 GNUMail[6471:6471] Service to start: (null)
> 2020-03-18 00:22:41.082 GNUMail[6471:6471] Port: (null)
> 2020-03-18 00:22:41.083 GNUMail[6471:6471] Failed to contact spell checker 
> for language 'BritainEnglish'
> 2020-03-18 00:22:41.085 GNUMail[6471:6471] Failed to get the spellserver
> 
> 
> So, fun, I thought, no dictionaries installed?
> 
> GNUstep uses aspell, right?
> 
> A quick check with "aspell dict" says I have plenty:
> $ aspell dicts
> en
> en-variant_0
> en-variant_1
> en-variant_2
> en-w_accents
> en-wo_accents
> en_AU
> en_AU-variant_0
> en_AU-variant_1
> en_AU-w_accents
> en_AU-wo_accents
> en_CA
> en_CA-variant_0
> en_CA-variant_1
> en_CA-w_accents
> en_CA-wo_accents
> en_GB
> en_GB-ise
> en_GB-ise-w_accents
> en_GB-ise-wo_accents
> en_GB-ize
> en_GB-ize-w_accents
> en_GB-ize-wo_accents
> en_GB-variant_0
> en_GB-variant_1
> en_GB-w_accents
> en_GB-wo_accents
> en_US
> en_US-variant_0
> en_US-variant_1
> en_US-w_accents
> en_US-wo_accents
> 
> 
> at least most english variants I know and also those I didn't know their 
> existence of.
> 
> So what's going wrong?

I think you are facing a bit of a hen and egg problem. To determine the 
supported languages, the spell checking code has to ask the spell checking 
service. But the spell checking code can start the service only from a 
supported language. By default the only known supported language is 
'AmericanEnglish'. So, either switch to locale en_US (or C for that matter), 
open the spell checker once to get the service going and then return to locale 
en_GB (which appears to be what you are using). Or start the GSSpell service 
manually in your startup script.

Wolfgang




reply via email to

[Prev in Thread] Current Thread [Next in Thread]