[Libreoffice-bugs] [Bug 118423] Crash on opening writing aids options
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Jun 28 17:39:01 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=118423
--- Comment #9 from Julien Nabet <serval2412 at yahoo.fr> ---
Band-aid fix:
In instdir/share/extensions/dict-pt-BR/Lightproof.py add this line before the
return on line 153:
import lightproof_impl_pt_BR
So you've got:
151 # XServiceDisplayName
152 def getServiceDisplayName(self, aLocale):
153 import lightproof_impl_pt_BR
154 return lightproof_impl_pt_BR.name
Again, it's just a band-aid, I don't think it's the right fix.
The pb is Writing aids lists "language modules" which include
"Lightproof grammar checker (Portuguese Brazilian)"
So if the module isn't imported at this moment, "lightproof_impl_pt_BR" var is
unknown from Python and so it crashes.
Of course, with the band-aid, a delay appears when clicking on "Writing aids"
since it loads some info.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180628/d5d1c1bc/attachment.html>
More information about the Libreoffice-bugs
mailing list