# Problem when exiting anki

**URL:** <https://forums.ankiweb.net/t/problem-when-exiting-anki/6087>\
**Category:** Help\
**Created:** [December 28, 2020, 10:19pm UTC](https://forums.ankiweb.net/t/problem-when-exiting-anki/6087 "2020-12-28T22:19:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaronaldo1301](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@aaronaldo1301](https://forums.ankiweb.net/u/aaronaldo1301)\
**Post date:** [December 28, 2020, 10:19pm UTC](https://forums.ankiweb.net/t/problem-when-exiting-anki/6087/1 "2020-12-28T22:19:18Z")

</div>

This keeps on coming up when i try and exit anki

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.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2  
Platform: Windows 10  
Flags: frz=True ao=False sv=1  
Add-ons, last update check: 2020-12-28 20:17:18

Caught exception:  
Traceback (most recent call last):  
File “aqt\main.py”, line 1016, in closeEvent  
File “aqt\main.py”, line 462, in unloadProfileAndExit  
File “aqt\main.py”, line 439, in unloadProfile  
File “aqt\main.py”, line 548, in unloadCollection  
File “aqt\main.py”, line 812, in closeAllWindows  
File “aqt\__init_\_.py”, line 137, in closeAll  
File “aqt\browser.py”, line 724, in closeWithCallback  
File “aqt\editor.py”, line 482, in saveNow  
File “aqt\editor.py”, line 589, in saveTags  
File “anki\notes.py”, line 68, in flush  
File “anki\rsbackend\_gen.py”, line 344, in update\_note  
File “anki\rsbackend.py”, line 267, in \_run\_command  
anki.rsbackend.NotFoundError

---

<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:** [December 28, 2020, 11:55pm UTC](https://forums.ankiweb.net/t/problem-when-exiting-anki/6087/2 "2020-12-28T23:55:53Z")

</div>

Did you try using the **Tools \> Check Database** menu item as suggested?

---

<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 29, 2020, 9:22am UTC](https://forums.ankiweb.net/t/problem-when-exiting-anki/6087/3 "2020-12-29T09:22:20Z")

</div>

If you did, please force Anki closed then see if the issue reoccurs. [When problems occur - Frequently Asked Questions](https://faqs.ankiweb.net/when-problems-occur.html)

---

<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, 5:19am UTC](https://forums.ankiweb.net/t/problem-when-exiting-anki/6087/4 "2023-05-01T05:19:14Z")

</div>


