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

Bug#640788: ibritish: pidgin says: Illegal format hash table /usr/lib/ispell/british.hash



On Wed, Sep 07, 2011 at 06:59:32PM +0200, Agustin Martin wrote:
> On Wed, Sep 07, 2011 at 08:54:53PM +1000, Russell Coker wrote:
> > Illegal format hash table /usr/lib/ispell/british.hash - expected magic2 0x9602, got 0x0
> > 
> > When I run pidgin I get the above message.  I don't know if it's pidgin or
> > ibritish at fault.  Sorry if I filed the bug against the wrong one.
> > 
> > The error message occurs repeatedly, it occurs on startup and also occurs when
> > opening a chat window.
> 
> This seems to be caused by enchant ( pidgin -> libgtkspell0 -> libenchant1c2a )
> not being updated for new ispell format, with no alternative spellchecker
> specified for that language. e.g., I reproduced this with
> 
> ~/.enchant/enchant.ordering:
> en_GB:ispell
> 
> $ echo "hola" | enchant -l -d british
> Illegal format hash table /usr/lib/ispell/british.hash - expected magic2 0x9602, got 0x0
> hola
> 
> Attached patch (with some changes borrowed from new ispell config.X) seems
> to work. Not sure if something else is needed. New package should also have a
> Breaks field in its control file against old ispell dictionaries, in a way
> similar to new ispell.

For the records, I committed this change to enchant collab-maint git repo,

http://http://anonscm.debian.org/gitweb/?p=collab-maint/enchant.git;a=commit;h=515207f8e5285e79be21c77c30fd041247eb9086

enchant is currently orphaned. I may make at some time a QA upload including
this change.

Regards,

-- 
Agustin



Reply to: