New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NVDA crash randomly when executing onInstall function in installTasks #4496
Comments
Attachment installTasks.py added by norrumar on 2014-09-28 08:00 |
Attachment nvda-old.log added by norrumar on 2014-09-28 08:01 |
Comment 1 by jteh on 2014-09-28 09:11 I suspect this is due to the circular import between speechDictHandler and synthDriverHandler. It looks like synthDriverHandler doesn't need to be imported in speechDictHandler any more, so it can be removed. @norrumar, I assume you can run from source? If so, can you please try removing this line from speechDictHandler:
Does that fix the problem? |
Comment 2 by norrumar (in reply to comment 1) on 2014-09-28 10:29
Yes, the problem is fixed removing this line. But then another issue appears, about keyboardHandler. It's shown in the new attached log file. |
Attachment nvda.log added by norrumar on 2014-09-28 10:33 |
Comment 3 by jteh on 2014-09-28 11:00 You can work around this by importing gui in onInstall instead of at module level. However, it'd obviously still be better if doing what you're doing didn't break NVDA. |
Comment 4 by norrumar (in reply to comment 3) on 2014-09-28 11:26
Yes, it seems you are right: if I import gui in onInstall the problem don't appear executing NVDA from source, if I remove import synthHandler from speechDictHandler. |
Comment 5 by jteh on 2014-11-20 08:05 |
Comment 6 by norrumar on 2014-11-20 08:17 |
Comment 8 by James Teh <jamie@... on 2015-01-16 06:05
|
Comment 9 by James Teh <jamie@... on 2015-01-16 06:05
Changes:
|
Comment 11 by James Teh <jamie@... on 2015-01-30 05:25
Changes:
|
…add-on which imports speechDictHandler in its installTasks module. This was due to a circular import between speechDictHandler and synthDriverHandler. speechDictHandler no longer requires synthDriverHandler, so that import was simply removed. Fixes #4496.
Reported by norrumar on 2014-09-28 07:58
NVDA crashes randomly when installing Emoticons add-on using onInstall function of installTasks.
It could be related to import speechDictHandler.
The text was updated successfully, but these errors were encountered: