Closed Tofuu214 closed 1 month ago
Hi, can you share me a deck with that card type so that I can reproduce this error?
Hi, Im not sure how I can upload it here. Could I send it via email?
You can send it per mail, my email is in my profile.
Hi, I sent you my deck with the card type to your email a week and a few days ago. Just messaging here to let you know. Thanks for any help you can give :).
Sorry for the slow response, I am quite busy with work and will move this week, will have a look soon.
@Tofuu214 I updated the addon, please check whether that solves your issue.
Yes, this is great you have fixed the issue. Thank you for your help.
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
If possible, attach a minimal file that triggers the error. IDK what that is??
Expected behavior A clear and concise description of what you expected to happen. For me to be able to go into the config when I press the "Maobi button"
Error message If applicable, add the error message to help explain your problem. "Anki encountered a problem. Please follow the troubleshooting steps.
Add-ons possibly involved: maobi - Chinese Hanzi Writing Quizzes in Anki v0 5 2"
Please complete the following information:
Additional context Add any other context about the problem here.
For this "Ho Edition" note type I have made a lot of tweaks to the HDML code. Although im pretty sure that I had this error using the example deck provided before I had made any changes.
I am also using other addons such as "AwesomeTTS" it gives me an error message upon opening the Template section but it does not seem related to the error I want to attend to which is pressing the Maobi config button at the bottom.
Debug file if helpful:
Anki 23.12.1 (1a1d4d54) (ao) Python 3.9.15 Qt 6.6.1 PyQt 6.6.1 Platform: Windows-10-10.0.22631
Traceback (most recent call last): File "C:\Users\gamer\AppData\Roaming\Anki2\addons21\931477147\config.py", line 311, in
maobi_button.clicked.connect(lambda: MaobiConfigDialog(cardlayout))
File "C:\Users\gamer\AppData\Roaming\Anki2\addons21\931477147\config.py", line 149, in init
self._leniency = self._build_leniency_slider()
File "C:\Users\gamer\AppData\Roaming\Anki2\addons21\931477147\config.py", line 206, in _build_leniency_slider
slider = QSlider(Qt.Horizontal)
AttributeError: type object 'Qt' has no attribute 'Horizontal'
===Add-ons (active)=== (add-on provided name [Add-on folder, installed at, version, is config changed]) AwesomeTTS - Add speech to your flashcards ['1436550454', 2024-06-01T15:05, 'None', ''] Image Occlusion Enhanced ['1374772155', 2022-04-09T08:15, 'None', ''] Remove Cloze Button and Hotkey ['1966460736', 2022-05-21T11:29, 'None', ''] Review Heatmap ['1771074083', 2022-06-30T02:43, 'None', ''] Speed Focus Mode auto-alert auto-reveal auto-answer ['1046608507', 2022-12-16T11:24, 'None', ''] Straight Reward ['957961234', 2023-11-01T14:11, 'None', ''] maobi - Chinese Hanzi Writing Quizzes in Anki v0 5 2 ['931477147', 2021-02-21T17:14, 'None', mod]
===IDs of active AnkiWeb add-ons=== 1046608507 1374772155 1436550454 1771074083 1966460736 931477147 957961234
===Add-ons (inactive)=== (add-on provided name [Add-on folder, installed at, version, is config changed])