Re: Fix for Audio Themes and latest alphas


Brian's Mail list account
 

When I did the mod you suggested instead of.
ERROR - globalPluginHandler.listPlugins (17:05:41.616) - MainThread (2480):
Error importing global plugin audiothemes
Traceback (most recent call last):
File "globalPluginHandler.pyc", line 23, in listPlugins
File "importlib\__init__.pyc", line 127, in import_module
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "C:\nvda extra\userConfig\addons\audiothemes\globalPlugins\audiothemes\__init__.py", line 31, in <module>
from .handler import AudioThemesHandler, SpecialProps
File "C:\nvda extra\userConfig\addons\audiothemes\globalPlugins\audiothemes\handler.py", line 20, in <module>
from .unspoken import UnspokenPlayer, libaudioverse, dll_hack
File "C:\nvda extra\userConfig\addons\audiothemes\globalPlugins\audiothemes\unspoken\__init__.py", line 42, in <module>
@dataclasses.dataclass
File "C:\nvda extra\userConfig\addons\audiothemes\globalPlugins\audiothemes\unspoken\__init__.py", line 87, in UnspokenPlayer
self, reason=NVDAObjects.controlTypes.REASON_QUERY, *args, **kwargs
AttributeError: module 'controlTypes' has no attribute 'REASON_QUERY'
DEBUG - core.main (17:05:41.676) - MainThread (2480):
Initializing core pump
DEBUG - core.main (17:05:41.677) - MainThread (2480):


I got the first errors the same but the part lower dow came up as a syntax error.
Brian

bglists@blueyonder.co.uk
Sent via blueyonder.
Please address personal E-mail to:-
briang1@blueyonder.co.uk, putting 'Brian Gaff'
in the display name field.
Newsgroup monitored: alt.comp.blind-users

----- Original Message -----
From: "Alberto Buffolino" <a.buffolino@gmail.com>
To: <nvda-addons@nvda-addons.groups.io>
Sent: Sunday, February 21, 2021 3:01 PM
Subject: Re: [nvda-addons] Fix for Audio Themes and latest alphas


Brian's Mail list account via groups.io, il 21/02/2021 10.13, ha > Its quite a convoluted bit of code..Alberto:
Hi all,
I just did a pr (my first pr!) some minutes ago.
I hope the author release a new version as soon as ppossible.
Alberto




Join nvda-addons@nvda-addons.groups.io to automatically receive all group messages.