Re: [lkb] cannot load grammar interactively

Francis Bond <[email protected]> Mon, 3 Aug 2009 13:57:28 +0800
Newsgroups gmane.comp.ai.lkb
Message-ID <[email protected]>
G'day,

> The file loading dialog of Load -> Complete Grammar doesn't allow me to=
 open any
> directory or file. When I open the dialog or double-click any file, I g=
et error
> messages like these:
>
> Warning: Xt:
> =A0 =A0Name: Text
> =A0 =A0Class: XmTextField
> =A0 =A0Character '\57' not supported in font. =A0Discarded.
>
> Double-clicks on directories/files or clicks on directories/files follo=
wed by
> "Ok" are ignored.
>
> This is on Ubuntu 9.04. Francis had the same problem which he could fix=
 by
> uninstalling the ttf-arphic-uming package, but that didn't help in my c=
ase. Does
> anyone know how to fix this?

It's not really a fix, more of a work around, but you can load the
grammar from lisp:
(lkb::read-script-file-aux "path/to/lkb/script")
If you use the lkb-mode, then there is a helpful shortcut 'C-c g'.

--=20
Francis Bond <http://www3.ntu.edu.sg/home/fcbond/>
Division of Linguistics and Multilingual Studies
Nanyang Technological University