RosettaTechnologies / AnkiBrain

147 stars 20 forks source link

browse dialog error #8

Open amsaravi opened 5 months ago

amsaravi commented 5 months ago

after adding cards by ankibrain when i open browse dialog this error happens:

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 to the add-on author. Debug info: Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.4.3 PyQt 6.4.0 Platform: Windows-10-10.0.19045 Flags: frz=True ao=True sv=2 Add-ons, last update check: 2024-04-15 06:07:43

Caught exception: Traceback (most recent call last): File "C:\Users\mahdi\AppData\Roaming\Anki2\addons21\1915225457\AnkiBrain.py", line 49, in reset_ui mw.reset() File "aqt.main", line 822, in reset File "aqt.main", line 774, in _synthesize_op_did_execute_from_reset File "_aqt.hooks", line 3620, in call File "aqt.main", line 784, in on_operation_did_execute File "aqt.overview", line 82, in op_executed File "aqt.overview", line 73, in refresh_if_needed File "aqt.overview", line 65, in refresh File "anki.collection", line 555, in reset File "anki.collection", line 267, in autosave File "anki.collection", line 254, in save File "anki.dbproxy", line 36, in begin File "anki._backend", line 100, in db_begin File "anki._backend", line 116, in _db_command anki.errors.DBError: DbError { info: "SqliteFailure(Error { code: Unknown, extended_code: 1 }, Some(\"cannot start a transaction within a transaction\"))", kind: Other }

Caught exception: Traceback (most recent call last): File "C:\Users\mahdi\AppData\Roaming\Anki2\addons21\1915225457\AnkiBrain.py", line 49, in reset_ui mw.reset() File "aqt.main", line 822, in reset File "aqt.main", line 774, in _synthesize_op_did_execute_from_reset File "_aqt.hooks", line 3620, in call File "aqt.browser.browser", line 172, in on_operation_did_execute AttributeError: 'Browser' object has no attribute 'editor'