# I have tried all 6 steps in the "when problems occur", still this happens

**URL:** <https://forums.ankiweb.net/t/i-have-tried-all-6-steps-in-the-when-problems-occur-still-this-happens/4755>\
**Category:** Help\
**Created:** [November 1, 2020, 9:54pm UTC](https://forums.ankiweb.net/t/i-have-tried-all-6-steps-in-the-when-problems-occur-still-this-happens/4755 "2020-11-01T21:54:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![osamaissa32](https://avatars.discourse-cdn.com/v4/letter/o/c4cdca/32.png) [@osamaissa32](https://forums.ankiweb.net/u/osamaissa32)\
**Post date:** [November 1, 2020, 9:54pm UTC](https://forums.ankiweb.net/t/i-have-tried-all-6-steps-in-the-when-problems-occur-still-this-happens/4755/1 "2020-11-01T21:54:53Z")

</div>

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-11-01 07:38:20

Caught exception:  
Traceback (most recent call last):  
File “aqt\webview.py”, line 493, in handler  
File “aqt\editor.py”, line 483, in   
File “aqt\addcards.py”, line 191, in \_addCards  
File “aqt\addcards.py”, line 178, in addNote  
File “anki\collection.py”, line 345, in add\_note  
File “anki\rsbackend\_gen.py”, line 339, in add\_note  
File “anki\rsbackend.py”, line 267, in \_run\_command  
anki.rsbackend.DBError: DBError { info: “SqliteFailure(Error { code: CannotOpen, extended\_code: 14 }, Some(“unable to open database file”))”, kind: Other }

---

<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:** [November 2, 2020, 12:00am UTC](https://forums.ankiweb.net/t/i-have-tried-all-6-steps-in-the-when-problems-occur-still-this-happens/4755/2 "2020-11-02T00:00:58Z")

</div>

What does Check Database report? Does this happen every time you add a card?

---

<div class="post-metadata">

**Author:** ![osamaissa32](https://avatars.discourse-cdn.com/v4/letter/o/c4cdca/32.png) [@osamaissa32](https://forums.ankiweb.net/u/osamaissa32)\
**Post date:** [November 2, 2020, 12:12am UTC](https://forums.ankiweb.net/t/i-have-tried-all-6-steps-in-the-when-problems-occur-still-this-happens/4755/3 "2020-11-02T00:12:18Z")

</div>

Yes, this happens when trying to add a card, say that a card was correct after viewing it, or trying to sync

---

<div class="post-metadata">

**Author:** ![osamaissa32](https://avatars.discourse-cdn.com/v4/letter/o/c4cdca/32.png) [@osamaissa32](https://forums.ankiweb.net/u/osamaissa32)\
**Post date:** [November 2, 2020, 1:20pm UTC](https://forums.ankiweb.net/t/i-have-tried-all-6-steps-in-the-when-problems-occur-still-this-happens/4755/4 "2020-11-02T13:20:32Z")

</div>

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-11-01 07:38:20

Caught exception:  
Traceback (most recent call last):  
File “aqt\taskman.py”, line 87, in \_on\_closures\_pending  
File “aqt\taskman.py”, line 59, in   
File “aqt\taskman.py”, line 76, in wrapped\_done  
File “aqt\dbcheck.py”, line 36, in on\_future\_done  
File “concurrent\futures\_base.py”, line 432, in result  
File “concurrent\futures\_base.py”, line 388, in \_\_get\_result  
File “concurrent\futures\thread.py”, line 57, in run  
File “anki\collection.py”, line 657, in fixIntegrity  
File “anki\collection.py”, line 208, in save  
File “anki\collection.py”, line 174, in \_set\_mod  
File “anki\dbproxy.py”, line 61, in all  
File “anki\dbproxy.py”, line 55, in \_query  
File “anki\rsbackend.py”, line 221, in db\_query  
File “anki\rsbackend.py”, line 244, in \_db\_command  
anki.rsbackend.DBError: DBError { info: “SqliteFailure(Error { code: CannotOpen, extended\_code: 14 }, Some(“unable to open database file”))”, kind: Other }

This is what check database report says

---

<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:** [November 3, 2020, 11:16am UTC](https://forums.ankiweb.net/t/i-have-tried-all-6-steps-in-the-when-problems-occur-still-this-happens/4755/5 "2020-11-03T11:16:08Z")

</div>

And you did try restarting your computer? There seems to be something wrong with your collection files, so I am surprised you could even open your profile after restarting your machine.

Maybe the permissions are set incorrectly? [https://faqs.ankiweb.net/windows-permission-problems.html](https://faqs.ankiweb.net/windows-permission-problems.html)

Are you able to open a backup in a new profile? [https://faqs.ankiweb.net/restoring-an-automatic-backup-recovering-from-data-loss.html](https://faqs.ankiweb.net/restoring-an-automatic-backup-recovering-from-data-loss.html)

---

<div class="post-metadata">

**Author:** ![osamaissa32](https://avatars.discourse-cdn.com/v4/letter/o/c4cdca/32.png) [@osamaissa32](https://forums.ankiweb.net/u/osamaissa32)\
**Post date:** [November 3, 2020, 12:31pm UTC](https://forums.ankiweb.net/t/i-have-tried-all-6-steps-in-the-when-problems-occur-still-this-happens/4755/6 "2020-11-03T12:31:35Z")

</div>

I opened a backup and that worked. Thank you for your help.

---

<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:24am UTC](https://forums.ankiweb.net/t/i-have-tried-all-6-steps-in-the-when-problems-occur-still-this-happens/4755/7 "2023-05-01T05:24:31Z")

</div>


