AwesomeTTS / awesometts-anki-addon

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

AwesomeTTS hangs Anki 23.12.1 on MacOS M1 #312

Open danieltomasz opened 9 months ago

danieltomasz commented 9 months ago

Error details

Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-14.2.1-arm64-arm-64bit

Traceback (most recent call last):
  File "/Users/daniel/Library/Application Support/Anki2/addons21/1436550454/awesometts/gui/configurator.py", line 282, in validate
    return aqt.qt.QValidator.Acceptable, filtered, len(filtered)
AttributeError: type object 'QValidator' has no attribute 'Acceptable'

Traceback (most recent call last):
  File "/Users/daniel/Library/Application Support/Anki2/addons21/1436550454/awesometts/gui/configurator.py", line 282, in validate
    return aqt.qt.QValidator.Acceptable, filtered, len(filtered)
AttributeError: type object 'QValidator' has no attribute 'Acceptable'
ryanlinnane commented 9 months ago

Same issue. Just tried this on a new device M2 after an upgrade.

AuroraWright commented 8 months ago

It's a Qt6 issue, not a macOS or M1 issue https://github.com/AwesomeTTS/awesometts-anki-addon/pull/308

luc-vocab commented 8 months ago

which version of AwesomeTTS ?

AuroraWright commented 8 months ago

Latest published on ankiweb

luc-vocab commented 1 month ago

@danieltomasz @ryanlinnane @AuroraWright is there anything preventing you from upgrading to HyperTTS ? HyperTTS has almost 99% unit test coverage which prevents issues like these.

AuroraWright commented 1 month ago

@danieltomasz @ryanlinnane @AuroraWright is there anything preventing you from upgrading to HyperTTS ? HyperTTS has almost 99% unit test coverage which prevents issues like these.

I upgraded a month ago or so!

luc-vocab commented 1 month ago

great to hear !