Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message when searching in browser #18

Open
lro77 opened this issue Jul 7, 2020 · 4 comments
Open

Error message when searching in browser #18

lro77 opened this issue Jul 7, 2020 · 4 comments

Comments

@lro77
Copy link

lro77 commented Jul 7, 2020

When I'm doing a text search in the browser, I get the following error message whenever I input any character. Do you have an ideas for how to go about fixing this?

Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.22 (0ecc189a) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2020-07-07 08:10:47

Caught exception:
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 "C:\Users\eller\AppData\Roaming\Anki2\addons21\2040501954\browser_replacer.py", line 46, in on_text_edited
self._check_for_replacement(current_text, False)
File "C:\Users\eller\AppData\Roaming\Anki2\addons21\2040501954\browser_replacer.py", line 63, in _check_for_replacement
search_box = self.get_search_box()
SystemError: PyEval_EvalFrameEx returned a result with an error set

@thiswillbeyourgithub
Copy link

thiswillbeyourgithub commented Jul 8, 2020

Do you happen to use the addon "openning the same window multiple times"?

Does this happen always or only sometimes?

@lro77
Copy link
Author

lro77 commented Jul 8, 2020

I do also have that addon. This doesn't seem to happen all the time, only sometimes, and I'm not sure what I'm doing differently that is responsible for why.

@thiswillbeyourgithub
Copy link

(I'm not related to the creator of the addon btw)

This seems to be the same as #9

To reproduce : open 2 browser windows, close one of them, try to search using the one that's still open. Apparently that causes this issue.

The only workaround I know of is to stop using several browsers or not close them.

@coco1602
Copy link

Yes, same issue. Sad there isn't any walkaround

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants