Closed Simplenuity closed 6 months ago
update: since I opened the issue it didn't happen again - without me changing any settings or versions...
update2: problem solved!
the default spell checker plugin's preferences are saved in ~/.config/zim/preferences.conf
, i.e. are applied to the user's Zim instance in general and therefore all notebooks with a one time configuration
the zim-multilingual-spellchecker plugin's preferences are saved innotebook.zim
of each notebook, i.e. need to be configured for each notebook separately
Note, the error message (see below) only gets triggered by a missing configuration if the menu option >Tools >Check spelling
is activated.
Suggestion: Add a comment to README.md
to let users know that they need to configure the languages for each notebook - something that is actually a nice feature of flexibility :)
error message:
AttributeError: 'NoneType' object has no attribute'... This could mean you don't have the proper dictionaries installed
Sorry I didn't get back to you days ago and thanks for debugging it for me!
Yes 'languages' is a notebook property. Checking for multiple languages incurs significant performance penalty and the long list of (mostly irrelevant) suggestions could be annoying, so the user should only set the relevant languages for each notebook, for example I've got a technical notebook where I only write in English and a personal one where I use all languages I know. I'll add a note about that later.
@Crissium, the following is more a heads-up than a bug report as I'm still not able to reproduce it. When starting Zim and opening one of my notebooks I encountered on several occasions that the field for the language codes (two languages in my case) got cleared and consequentially the plugin is throwing an error message.