kelciour / awesometts-anki-addon

AwesomeTTS text-to-speech add-on for Anki
GNU General Public License v3.0
31 stars 2 forks source link

Dando a seguinte saida aqui: OS: POP_os 22.04 #63

Open GersonDantas opened 1 year ago

GersonDantas commented 1 year ago

Debug info: Anki 2.1.54 (b6a7760c) Python 3.9.10 Qt 6.3.1 PyQt 6.3.1 Platform: Linux Flags: frz=True ao=True sv=2 Add-ons, last update check: 2022-10-11 20:45:24 Add-ons possibly involved: ⁨AwesomeTTS Google Cloud Text-to-Speech Microsoft Azure TTS unofficial⁩

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 "/home/gordim/.local/share/Anki2/addons21/814349176/awesometts/gui/common.py", line 121, in _show self._instance = self._target.constructor( File "/home/gordim/.local/share/Anki2/addons21/814349176/awesometts/gui/generator.py", line 670, in init super(EditorGenerator, self).init( File "/home/gordim/.local/share/Anki2/addons21/814349176/awesometts/gui/base.py", line 243, in init super(ServiceDialog, self).init(*args, **kwargs) File "/home/gordim/.local/share/Anki2/addons21/814349176/awesometts/gui/base.py", line 80, in init self.setLayout(self._ui()) File "/home/gordim/.local/share/Anki2/addons21/814349176/awesometts/gui/base.py", line 255, in _ui hor.addLayout(self._ui_services()) File "/home/gordim/.local/share/Anki2/addons21/814349176/awesometts/gui/base.py", line 313, in _ui_services layout.addLayout(self._ui_services_presets()) File "/home/gordim/.local/share/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'