# An error occurred. Please use Tools \> Check Database to see if that fixes the problem

**URL:** <https://forums.ankiweb.net/t/an-error-occurred-please-use-tools-check-database-to-see-if-that-fixes-the-problem/15189>\
**Category:** Help\
**Created:** [November 22, 2021, 10:40pm UTC](https://forums.ankiweb.net/t/an-error-occurred-please-use-tools-check-database-to-see-if-that-fixes-the-problem/15189 "2021-11-22T22:40:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gregorio](https://avatars.discourse-cdn.com/v4/letter/g/fbc32d/32.png) [@Gregorio](https://forums.ankiweb.net/u/Gregorio)\
**Post date:** [November 22, 2021, 10:40pm UTC](https://forums.ankiweb.net/t/an-error-occurred-please-use-tools-check-database-to-see-if-that-fixes-the-problem/15189/1 "2021-11-22T22:40:12Z")

</div>

Not able to fix this with Check database on PC

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.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: 2021-11-22 19:36:08

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

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

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

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

---

<div class="post-metadata">

**Author:** ![NameLessGO](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/namelessgo/32/34298_2.png) [@NameLessGO](https://forums.ankiweb.net/u/NameLessGO)\
**Post date:** [November 22, 2021, 10:53pm UTC](https://forums.ankiweb.net/t/an-error-occurred-please-use-tools-check-database-to-see-if-that-fixes-the-problem/15189/2 "2021-11-22T22:53:40Z")

</div>

You have downloaded a deck that contains new flags, but because you are in 2.1.44 the flags were not available, to solve you would need to download version 2.1.45 or beyond (would recommend the latest, 2.1.49)

---

<div class="post-metadata">

**Author:** ![Gregorio](https://avatars.discourse-cdn.com/v4/letter/g/fbc32d/32.png) [@Gregorio](https://forums.ankiweb.net/u/Gregorio)\
**Post date:** [November 23, 2021, 1:48am UTC](https://forums.ankiweb.net/t/an-error-occurred-please-use-tools-check-database-to-see-if-that-fixes-the-problem/15189/3 "2021-11-23T01:48:47Z")

</div>

That fixed it. Thanks so very much!

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [December 4, 2022, 1:40am UTC](https://forums.ankiweb.net/t/an-error-occurred-please-use-tools-check-database-to-see-if-that-fixes-the-problem/15189/5 "2022-12-04T01:40:43Z")

</div>

3 posts were split to a new topic: [An operation was attempted on something that is not a socket](https://forums.ankiweb.net/t/an-operation-was-attempted-on-something-that-is-not-a-socket/25121)

---

<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, 3:59am UTC](https://forums.ankiweb.net/t/an-error-occurred-please-use-tools-check-database-to-see-if-that-fixes-the-problem/15189/6 "2023-05-01T03:59:34Z")

</div>


