# An error occurred. Tried doing the Tools\>Check database but didn't get solved

**URL:** <https://forums.ankiweb.net/t/an-error-occurred-tried-doing-the-tools-check-database-but-didnt-get-solved/25461>\
**Category:** Help\
**Created:** [December 18, 2022, 4:31am UTC](https://forums.ankiweb.net/t/an-error-occurred-tried-doing-the-tools-check-database-but-didnt-get-solved/25461 "2022-12-18T04:31:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandystraw](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@Sandystraw](https://forums.ankiweb.net/u/Sandystraw)\
**Post date:** [December 18, 2022, 4:31am UTC](https://forums.ankiweb.net/t/an-error-occurred-tried-doing-the-tools-check-database-but-didnt-get-solved/25461/1 "2022-12-18T04:31:42Z")

</div>

Here’s the info it gave:  
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.54 (b6a7760c) Python 3.9.7 Qt 5.15.2 PyQt 5.15.5  
Platform: Windows 10  
Flags: frz=True ao=False sv=2  
Add-ons, last update check: 2022-12-18 09:52:52

Caught exception:  
Traceback (most recent call last):  
File “aqt.taskman”, line 122, in \_on\_closures\_pending  
File “aqt.taskman”, line 71, in   
File “aqt.taskman”, line 90, in wrapped\_done  
File “aqt.sync”, line 117, in on\_future\_done  
File “aqt.main”, line 970, in on\_collection\_sync\_finished  
File “aqt.main”, line 956, in \_refresh\_after\_sync  
AttributeError: ‘AnkiQt’ object has no attribute ‘flags’

---

<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 19, 2022, 3:25am UTC](https://forums.ankiweb.net/t/an-error-occurred-tried-doing-the-tools-check-database-but-didnt-get-solved/25461/2 "2022-12-19T03:25:56Z")

</div>

Can you reproduce the issue with the latest Anki release?

---

<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:** [January 18, 2023, 3:26am UTC](https://forums.ankiweb.net/t/an-error-occurred-tried-doing-the-tools-check-database-but-didnt-get-solved/25461/3 "2023-01-18T03:26:49Z")

</div>

Closed on January 18, 2023, 3:26am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
