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
> $ echo "hola" | enchant -l -d british
> Illegal format hash table /usr/lib/ispell/british.hash - expected magic2 0x9602, got 0x0
> 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,
enchant is currently orphaned. I may make at some time a QA upload including