Hi,
When I use the AwesomeTTS extension (Google Cloud Text-to-Speech & Microsoft Azure TTS) [unofficial], I get the error as below.
Can U help us ?
=============== Error Message =================
Informações de Depuração:
Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-12-24 12:14:27
Caught exception:
Traceback (most recent call last):
File “aqt.webview”, line 42, in cmd
File “aqt.webview”, line 149, in _onCmd
File “aqt.webview”, line 624, in _onBridgeCmd
File “aqt.editor”, line 467, in onBridgeCmd
File “C:\Users\adria\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\common.py”, line 121, in _show
self._instance = self._target.constructor(
File “C:\Users\adria\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\generator.py”, line 670, in init
super(EditorGenerator, self).init(
File “C:\Users\adria\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py”, line 243, in init
super(ServiceDialog, self).init(*args, **kwargs)
File “C:\Users\adria\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py”, line 80, in init
self.setLayout(self._ui())
File “C:\Users\adria\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py”, line 255, in _ui
hor.addLayout(self._ui_services())
File “C:\Users\adria\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py”, line 313, in _ui_services
layout.addLayout(self._ui_services_presets())
File “C:\Users\adria\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py”, line 340, in _ui_services_presets
save.setFixedWidth(save.fontMetrics().width(save.text()) + 20)
AttributeError: ‘QFontMetrics’ object has no attribute ‘width’