RuntimeError: wrapped C/C++ object of type AnkiWebView has been deleted

Sometimes when searching for duplicates among 40k cards, this error pop ups:

Anki 2.1.60 (76d88073) Python 3.9.15 Qt 6.3.2 PyQt 6.3.1
Platform: macOS-13.2.1-x86_64-i386-64bit
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-03-19 01:20:53

Caught exception:
Traceback (most recent call last):
  File "aqt.taskman", line 122, in _on_closures_pending
  File "aqt.taskman", line 71, in <lambda>
  File "aqt.operations", line 257, in wrapped_done
  File "decorator", line 232, in fun
  File "anki.hooks", line 89, in decorator_wrapper
  File "anki.hooks", line 80, in repl
  File "aqt.browser.find_duplicates", line 109, in show_duplicates_report
  File "aqt.webview", line 570, in stdHtml
  File "aqt.webview", line 386, in setHtml
RuntimeError: wrapped C/C++ object of type AnkiWebView has been deleted

I’ve logged this on Intermittent failure when showing duplicates · Issue #2451 · ankitects/anki · GitHub

1 Like

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