<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Crash on opening writing aids options"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=118423#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Crash on opening writing aids options"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=118423">bug 118423</a>
from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>