# Error when opening card editor, which I cannot close

**URL:** <https://forums.ankiweb.net/t/error-when-opening-card-editor-which-i-cannot-close/19901>\
**Category:** Help\
**Created:** [May 11, 2022, 10:53am UTC](https://forums.ankiweb.net/t/error-when-opening-card-editor-which-i-cannot-close/19901 "2022-05-11T10:53:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![migrig](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@migrig](https://forums.ankiweb.net/u/migrig)\
**Post date:** [May 11, 2022, 10:53am UTC](https://forums.ankiweb.net/t/error-when-opening-card-editor-which-i-cannot-close/19901/1 "2022-05-11T10:53:13Z")

</div>

I tried to open the HTML editor, when this Error showed up. I already read about some problems with the editor and possible new AddOn changes. I’m not even able to go back to the main page, Anki (for Desktop) always redirects me to this error.  
I copied the code:

Anki 2.1.44 (b2b3275f) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2  
Platform: Windows 10  
Flags: frz=True ao=False sv=2  
Add-ons, last update check: 2022-05-10 20:28:01

Caught exception:  
Traceback (most recent call last):  
File “aqt\browser.py”, line 415, in paint  
AttributeError: module ‘aqt.colors’ has no attribute ‘FLAG7\_BG’

Caught exception:  
Traceback (most recent call last):  
File “aqt\browser.py”, line 415, in paint  
AttributeError: module ‘aqt.colors’ has no attribute ‘FLAG7\_BG’

Caught exception:  
Traceback (most recent call last):  
File “aqt\browser.py”, line 415, in paint  
AttributeError: module ‘aqt.colors’ has no attribute ‘FLAG7\_BG’

Caught exception:  
Traceback (most recent call last):  
File “aqt\browser.py”, line 415, in paint  
AttributeError: module ‘aqt.colors’ has no attribute ‘FLAG7\_BG’

Greetings, Michael!

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [May 11, 2022, 11:59am UTC](https://forums.ankiweb.net/t/error-when-opening-card-editor-which-i-cannot-close/19901/2 "2022-05-11T11:59:39Z")

</div>

> [@Error when searching for cards](https://forums.ankiweb.net/t/error-when-searching-for-cards/14506/2):
>
> That’s a known issue when using an outdated and a recent version concurrently, e.g. Anki Desktop 2.1.44 and the newest Ankimobile. You can solve it by updating your desktop client, or removing the new flags (5 to 7) using the the recent client.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 4:21am UTC](https://forums.ankiweb.net/t/error-when-opening-card-editor-which-i-cannot-close/19901/3 "2023-05-01T04:21:24Z")

</div>

Closed on May 1, 2023, 4:21am UTC


