Skip to content

Runtime Error related to Garbage Collection? #186

@V7MoVknqxavTR

Description

@V7MoVknqxavTR

Anki 25.02.7 (1b882285) (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.26100

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

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "%appdata%\Anki2\addons21\2040501954\browser_replacer.py", line 38, in on_return_pressed
search_box = self.get_search_box()
SystemError: _PyEval_EvalFrameDefault returned a result with an error set


AI says "The error wrapped C/C++ object of type QComboBox has been deleted means the QComboBox widget was removed from memory, but your code is still trying to interact with it.

The SystemError: _PyEval_EvalFrameDefault returned a result with an error set is a follow-up error triggered by the failed interaction."

--- Notes

This computer has been put into hibernation mode and awoken with Anki browser windows active before and after.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions