I am using Anki on Linux with Wayland (sway)
The app had been terminated by a SEGFAULT.
Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.65 (141bc18b) Python 3.11.5 Qt 6.6.0 PyQt 6.5.3
Platform: Linux-6.5.6-arch2-1-x86_64-with-glibc2.38
Flags: frz=False ao=False sv=2
Add-ons, last update check: 2023-10-26 11:56:37
Caught exception:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/aqt/taskman.py", line 122, in _on_closures_pending
closure()
File "/usr/lib/python3.11/site-packages/aqt/taskman.py", line 71, in <lambda>
lambda future: self.run_on_main(lambda: on_done(future))
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/aqt/taskman.py", line 90, in wrapped_done
on_done(fut)
File "/usr/lib/python3.11/site-packages/aqt/sync.py", line 117, in on_future_done
return on_done()
^^^^^^^^^
File "/usr/lib/python3.11/site-packages/aqt/main.py", line 1028, in on_collection_sync_finished
self.reset()
File "/usr/lib/python3.11/site-packages/aqt/main.py", line 822, in reset
self._synthesize_op_did_execute_from_reset()
File "/usr/lib/python3.11/site-packages/aqt/main.py", line 774, in _synthesize_op_did_execute_from_reset
gui_hooks.operation_did_execute(op, None)
File "/usr/lib/python3.11/site-packages/_aqt/hooks.py", line 2954, in __call__
hook(changes, handler)
File "/usr/lib/python3.11/site-packages/aqt/main.py", line 794, in on_operation_did_execute
self.toolbar.update_sync_status()
File "/usr/lib/python3.11/site-packages/aqt/toolbar.py", line 404, in update_sync_status
get_sync_status(self.mw, self.mw.toolbar.set_sync_status)
File "/usr/lib/python3.11/site-packages/aqt/sync.py", line 58, in get_sync_status
mw.taskman.run_in_background(lambda: mw.col.sync_status(auth), on_future_done)
File "/usr/lib/python3.11/site-packages/aqt/taskman.py", line 62, in run_in_background
self._on_closures_pending()
File "/usr/lib/python3.11/site-packages/aqt/taskman.py", line 122, in _on_closures_pending
closure()
File "/usr/lib/python3.11/site-packages/aqt/taskman.py", line 71, in <lambda>
lambda future: self.run_on_main(lambda: on_done(future))
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/aqt/taskman.py", line 90, in wrapped_done
on_done(fut)
File "/usr/lib/python3.11/site-packages/aqt/sync.py", line 100, in on_future_done
mw.col.db.begin()
File "/usr/lib/python3.11/site-packages/anki/dbproxy.py", line 36, in begin
self._backend.db_begin()
File "/usr/lib/python3.11/site-packages/anki/_backend.py", line 100, in db_begin
return self._db_command(dict(kind="begin"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/anki/_backend.py", line 116, in _db_command
raise backend_exception_to_pylib(err)
anki.errors.DBError: DbError { info: "SqliteFailure(Error { code: Unknown, extended_code: 1 }, Some(\"cannot start a transaction within a transaction\"))", kind: Other }
Thank your work, I love what you do !