ccz-2 / Anki-Zoom

Zoom addon for Anki | Forked from https://github.com/krassowski/Anki-Zoom
https://ankiweb.net/shared/info/538879081
GNU General Public License v3.0
6 stars 5 forks source link

Working with no distraction full-screen add-on, but produces annoying error messages #27

Open MedBooster opened 5 months ago

MedBooster commented 5 months ago

Is there a way to disable these error messages? The zooming works well, it's just annoying that I get the error message after zooming a few times in full screen.

An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed. If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem. When you've discovered the add-on that is causing the problem, please report the issue to the add-on author. Debug info: Anki 2.1.61 (0c1eaf4c) Python 3.9.15 Qt 6.4.2 PyQt 6.4.0 Platform: Windows-10-10.0.19045 Flags: frz=True ao=True sv=3 Add-ons, last update check: 2024-04-07 19:33:27

Caught exception: Traceback (most recent call last): File "C:\Users\AppData\Roaming\Anki2\addons21\538879081__init.py", line 26, in zoom_out change_zoom_by(1 / step) File "C:\Users\AppData\Roaming\Anki2\addons21\538879081__init.py", line 42, in change_zoom_by showZoomLvl() File "C:\Users\AppData\Roaming\Anki2\addons21\538879081\init__.py", line 68, in showZoomLvl replaceTooltipTxt(aqt.utils._tooltipLabel) File "C:\Users\AppData\Roaming\Anki2\addons21\538879081\init__.py", line 52, in replaceTooltipTxt txt = label.text() RuntimeError: wrapped C/C++ object of type CustomLabel has been deleted