Comment 8 for bug 1278599

Revision history for this message
Lee Hyde (anubeon) wrote :

> FYI, if you run ./checkmodels without parameters it should find the models currently used by Onboard and print some more information

   $ ./checkmodels

   (checkmodels:24337): Gtk-WARNING **: Unknown key gtk-decoration-layout in /usr/share/themes/elementary/gtk-3.0/settings.ini
   checking '/home/ch2lah/.local/share/onboard/models/user.lm'
   File size 50981; Number of lines 1809
   Number of 1-grams: declared 543, found 543, OK
   Number of 2-grams: declared 669, found 669, OK
   Number of 3-grams: declared 584, found 584, OK
   No errors.

All looks well, I presume?

> I'm still stuck now, I have no good idea how Onboard could possibly save an empty file.
> Perhaps there was something from the outside, full disk, unclean shutdown, filesystem bug (ext4?)?

My home partition has ample space (as do root and storage partitions), although I did have some trouble with Thunderbird filling up my home partition several months ago. Perhaps the file was saved then? I've experienced a few unclean shutdowns over the months, so that's a possibility. Also, my home and root partitions *are* formatted ext4.

> In any case, I think the loading error should maybe not stay silent and there should perhaps be an offer to revert to the backup language model, same thing we did manually before

Agreed!

Thank you for all your work on this, It's much appreciated. :-)