# Encounter a serious error in Anki Desktop

**URL:** <https://forums.ankiweb.net/t/encounter-a-serious-error-in-anki-desktop/6881>\
**Category:** Help\
**Created:** [January 26, 2021, 5:38pm UTC](https://forums.ankiweb.net/t/encounter-a-serious-error-in-anki-desktop/6881 "2021-01-26T17:38:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yanyi](https://avatars.discourse-cdn.com/v4/letter/y/94ad74/32.png) [@yanyi](https://forums.ankiweb.net/u/yanyi)\
**Post date:** [January 26, 2021, 5:38pm UTC](https://forums.ankiweb.net/t/encounter-a-serious-error-in-anki-desktop/6881/1 "2021-01-26T17:38:02Z")

</div>

When I open the software, the setting icons disappear, and everything in the page keeps flashing. After opening a deck, nothing display normally.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/4/40bc15ad4af2006bfe2270344f025c3e20f9f8e1.png)

I tried to uninstall and reinstall Anki for several times, and sometimes it shows that there’s error with my graphic driver:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/0/083611cd1743064c3fe26ec2081b7dc8a935f293.png)

So I uninstalled and reinstalled my graphic driver yesterday, which did not work until today.

After using the app normally for several hours this morning, I moved to another place and hibernated my laptop. Once I turned on my laptop, all the same errors occurred again.

I changed the video driver form OpenGL to ANGLE form the preferences menu, and also clicked “check database” and “check media file”.

When I clicked “check media file” another error message shows up.

I copied the error message here:

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](https://help.ankiweb.net). Please copy and paste the information below into your report.

Anki 2.1.38 (355e4cd5) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2

Platform: Windows 10

Flags: frz=True ao=False sv=1

Add-ons, last update check: 2021-01-27 01:23:27

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\mediacheck.py”, line 74, in \_on\_finished

File “aqt\progress.py”, line 144, in finish

File “aqt\progress.py”, line 180, in \_closeWin

AttributeError: ‘NoneType’ object has no attribute ‘cancel’

I clicked check data base button again as directed but nothing happens.

I tried to open Anki using Anki console and failed as before.  
Here’re the responding messages:

cd \program files\anki & anki-console  
[24960] PyInstaller Bootloader 3.x  
[24960] LOADER: executable is C:\Program Files\Anki\anki-console.exe  
[24960] LOADER: homepath is C:\Program Files\Anki  
[24960] LOADER: \_MEIPASS2 is NULL  
[24960] LOADER: archivename is C:\Program Files\Anki\anki-console.exe  
[24960] LOADER: C:\Program Files\Anki\anki-console.exe contains a digital signature  
[24960] LOADER: No need to extract files to run; setting extractionpath to homepath  
[24960] LOADER: SetDllDirectory(C:\Program Files\Anki)  
[24960] LOADER: Already in the child - running user’s code.  
[24960] LOADER: Python library: C:\Program Files\Anki\python38.dll  
[24960] LOADER: Loaded functions from Python library.  
[24960] LOADER: Manipulating environment (sys.path, sys.prefix)  
[24960] LOADER: sys.prefix is C:\Program Files\Anki  
[24960] LOADER: Pre-init sys.path is C:\Program Files\Anki\base\_library.zip;C:\Program Files\Anki  
[24960] LOADER: Setting runtime options  
[24960] LOADER: Initializing python  
[24960] LOADER: Overriding Python’s sys.path  
[24960] LOADER: Post-init sys.path is C:\Program Files\Anki\base\_library.zip;C:\Program Files\Anki  
[24960] LOADER: Setting sys.argv  
[24960] LOADER: setting sys.\_MEIPASS  
[24960] LOADER: importing modules from CArchive  
[24960] LOADER: extracted struct  
[24960] LOADER: callfunction returned…  
[24960] LOADER: extracted pyimod01\_os\_path  
[24960] LOADER: callfunction returned…  
[24960] LOADER: extracted pyimod02\_archive  
[24960] LOADER: callfunction returned…  
[24960] LOADER: extracted pyimod03\_importers  
[24960] LOADER: callfunction returned…  
[24960] LOADER: Installing PYZ archive with Python modules.  
[24960] LOADER: PYZ archive: PYZ-00.pyz  
[24960] LOADER: Running pyiboot01\_bootstrap.py  
[24960] LOADER: Running pyi\_rth\_win32comgenpy.py  
[24960] LOADER: Running pyi\_rth\_multiprocessing.py  
[24960] LOADER: Running pyi\_rth\_certifi.py  
[24960] LOADER: Running pyi\_rth\_pyqt5.py  
[24960] LOADER: Running pyi\_rth\_pkgres.py  
[24960] LOADER: Running pyi\_rth\_pyqt5webengine.py  
[24960] LOADER: Running runanki.py  
mpv too old for key rebinding  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: updateSyncColor is not defined JS error :1 Uncaught ReferenceError: is not defined  
JS error :1 Uncaught ReferenceError: is not defined JS error :1 Uncaught ReferenceError: is not defined  
[24960] LOADER: OK.  
[24960] LOADER: Manually flushing stdout and stderr  
[24960] LOADER: Cleaning up Python interpreter.

Can anybody help me with this error?

---

<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:** [January 27, 2021, 12:12pm UTC](https://forums.ankiweb.net/t/encounter-a-serious-error-in-anki-desktop/6881/2 "2021-01-27T12:12:40Z")

</div>

Do you use antivirus or firewall software on your machine? It may be blocking Anki from talking to itself.

---

<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:15am UTC](https://forums.ankiweb.net/t/encounter-a-serious-error-in-anki-desktop/6881/3 "2023-05-01T05:15:58Z")

</div>


