# Help with Anki Error?

**URL:** <https://forums.ankiweb.net/t/help-with-anki-error/27740>\
**Category:** Help\
**Created:** [February 22, 2023, 1:14am UTC](https://forums.ankiweb.net/t/help-with-anki-error/27740 "2023-02-22T01:14:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicole2](https://avatars.discourse-cdn.com/v4/letter/n/b5ac83/32.png) [@Nicole2](https://forums.ankiweb.net/u/Nicole2)\
**Post date:** [February 22, 2023, 1:14am UTC](https://forums.ankiweb.net/t/help-with-anki-error/27740/1 "2023-02-22T01:14:26Z")

</div>

Hello! Lately I’ve been getting a lot of error messages when I have Anki open, mostly when I am adding new cards to my deck. I downloaded an OCR (manga\_ocr) and used ShareX, and for whatever reason error messages started popping up (I disabled both my add-ons, but it still happens). I have tried the “Check Database” feature, but it only results in the error message (copy pasted below) right after it says “Database rebuilt and optimized”. I have tried closing and re-opening Anki, but it only seems to be a temporary fix.

It’s worth noting that I’ve also had multiple error messages occur before downloading ShareX and the OCR, though I solved that by disabling both my add-ons. Unfortunately, I never saved the error message that occurred during those times, but I can say that it looked similar to the below (with waitress.(insert something here) and something about OSErrors and sockets and stuff… as you can tell I’m not a coder lol).

Anki 2.1.57 (6b7d372c) Python 3.9.15 Qt 6.4.2 PyQt 6.4.0  
Platform: Windows-10-10.0.22621  
Flags: frz=True ao=False sv=2  
Add-ons, last update check: 2023-02-21 17:54:23

Exception when servicing \<waitress.channel.HTTPChannel connected 127.0.0.1:63434 at 0x23257a4ddf0\>  
Traceback (most recent call last):  
File “waitress.task”, line 84, in handler\_thread  
File “waitress.channel”, line 510, in service  
File “waitress.server”, line 331, in pull\_trigger  
File “waitress.trigger”, line 96, in pull\_trigger  
File “waitress.trigger”, line 200, in \_physical\_pull  
OSError: [WinError 10038] An operation was attempted on something that is not a socket  
Exception when servicing \<waitress.channel.HTTPChannel connected 127.0.0.1:63435 at 0x23257a4deb0\>  
Traceback (most recent call last):  
File “waitress.task”, line 84, in handler\_thread  
File “waitress.channel”, line 510, in service  
File “waitress.server”, line 331, in pull\_trigger  
File “waitress.trigger”, line 96, in pull\_trigger  
File “waitress.trigger”, line 200, in \_physical\_pull  
OSError: [WinError 10038] An operation was attempted on something that is not a socket

Any help would be appreciated! Thanks so much!

EDIT: If it helps, copy pasting a new photo into any field when adding a card also results in this error (the photo still gets pasted, an error message just pops up alongside it):

Anki 2.1.57 (6b7d372c) Python 3.9.15 Qt 6.4.2 PyQt 6.4.0  
Platform: Windows-10-10.0.22621  
Flags: frz=True ao=False sv=2  
Add-ons, last update check: 2023-02-21 17:54:23

Exception when servicing \<waitress.channel.HTTPChannel connected 127.0.0.1:57788 at 0x232020d1160\>  
Traceback (most recent call last):  
File “waitress.task”, line 84, in handler\_thread  
File “waitress.channel”, line 510, in service  
File “waitress.server”, line 331, in pull\_trigger  
File “waitress.trigger”, line 96, in pull\_trigger  
File “waitress.trigger”, line 200, in \_physical\_pull  
OSError: [WinError 10038] An operation was attempted on something that is not a socket

---

<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:** [February 22, 2023, 1:16pm UTC](https://forums.ankiweb.net/t/help-with-anki-error/27740/2 "2023-02-22T13:16:48Z")

</div>

> [@Nicole2](#):
>
> Anki 2.1.57

Could you update to the [latest version](https://github.com/ankitects/anki/releases) (2.1.60)? The 2.1.57 had a bug in it

> This release fixes an issue in 2.1.57 that caused cards and deck presets  
> to be reset to the default ease, if you exported a .colpkg with compatibility  
> with older clients enabled, or used the downgrade and quit option, then opened  
> the collection again. For the former issue, this occurred to the collection you  
> were exporting from, and not just the .colpkg file. If you were affected by this,  
> running the following in the debug console after updating should restore your  
> cards to the ease they were at when you last reviewed them, if they were not  
> reviewed after the problem occurred. Please make a backup before proceeding.  
> **2.1.58 changelogs**

this issue seems likely:

> [@\[Bug\]\[Qt6\] Waitress Error Messages](https://forums.ankiweb.net/t/bug-qt6-waitress-error-messages/21163):
>
> Hello, I have been experiencing a bug that stacks a lot of pop-up errors on the Desktop version of Anki every time I use it. I believe this issue has been happening to me for years, and it happens on both Windows 10 and Windows 11, which are running on different computers. I’m not aware of any specific action that would cause the error to appear. They even stack up when I have only opened and left Anki running without doing anything. It has happened with Qt6 as well as older versions. I do not h…

---

<div class="post-metadata">

**Author:** ![Nicole2](https://avatars.discourse-cdn.com/v4/letter/n/b5ac83/32.png) [@Nicole2](https://forums.ankiweb.net/u/Nicole2)\
**Post date:** [February 24, 2023, 12:08am UTC](https://forums.ankiweb.net/t/help-with-anki-error/27740/3 "2023-02-24T00:08:32Z")

</div>

Hmm, updating didn’t seem to work. I will say that it didn’t make any error messages until I started using my OCR again, so maybe that’s the cause of it…? I’ll look at the link you’ve given and see if that helps!

---

<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:** [March 26, 2023, 12:08am UTC](https://forums.ankiweb.net/t/help-with-anki-error/27740/4 "2023-03-26T00:08:45Z")

</div>

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