Errors after clicking Edit HTML

I get 2 different errors

1st error, when I click edit HTML

2nd error, after the 1st one appears, and I close browser card window

I tried everything, (check database, disabling addons, uninstalling anki + deleting anki2 folder)

but the errors persist.

any ideas? thnx

1)-----------------------------------------------------------------
Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.42 (8eebfe18) Python 3.8.1 Qt 5.15.1 PyQt 5.15.1
Platform: Linux
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2021-04-02 13:10:04

Caught exception:
Traceback (most recent call last):
File “aqt/webview.py”, line 526, in handler
File “aqt/editor.py”, line 534, in
File “aqt/editor.py”, line 581, in
File “aqt/editor.py”, line 595, in _onHtmlEdit
TypeError: list indices must be integers or slices, not NoneType

2)-------------------------------------------------------------------------

Debug info:
Anki 2.1.42 (8eebfe18) Python 3.8.1 Qt 5.15.1 PyQt 5.15.1
Platform: Linux
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-04-02 13:10:04

Caught exception:
Traceback (most recent call last):
File “aqt/progress.py”, line 53, in handler
File “aqt/utils.py”, line 580, in
File “aqt/utils.py”, line 577, in ensureWidgetInScreenBoundaries
RuntimeError: wrapped C/C++ object of type QDialog has been deleted

You can fix this by clicking on a field first, or updating to the latest Anki version.

1 Like

wow, that was easy! thnx!