Hello! I keep getting an Error 13 for lacking permissions on trying to launch Anki on Deb13. I have not gotten the app to launch successfully at all, so this has been a problem from the get-go. Anki does however keep running in the background even after the failed boot.
Exact error message below:
Error during startup: Traceback (most recent call last):
File “/home/runner/work/anki/anki/out/installer/build/anki/linux/zip/anki/app_packages/aqt/main.py”, line 198, in _init_
File “/home/runner/work/anki/anki/out/installer/build/anki/linux/zip/anki/app_packages/aqt/main.py”, line 1002, in setupAddons
File “/home/runner/work/anki/anki/out/installer/build/anki/linux/zip/anki/app_packages/aqt/addons.py”, line 211, in _init_
File “/home/runner/work/anki/anki/out/installer/build/anki/linux/zip/anki/app_packages/aqt/addons.py”, line 230, in addonsFolder
File “/home/runner/work/anki/anki/out/installer/build/anki/linux/zip/anki/app_packages/aqt/profiles.py”, line 315, in addonFolder
File “/home/runner/work/anki/anki/out/installer/build/anki/linux/zip/anki/app_packages/aqt/profiles.py”, line 353, in _ensureExists
I followed the installation guide step-by-step and ran the commands in the quoteblocks
File manager says the file perms are limited to root, which isn’t supposed to be the case I gather?
I have tried running anki simply by typing in “anki” into terminal, as well as running it from the file manager and running it from it’s shortcut.
Traceback (most recent call last):
File “/home/runner/work/anki/anki/out/installer/build/anki/linux/zip/anki/app_packages/aqt/errors.py”, line 199, in show_help
File “/home/runner/work/anki/anki/out/installer/build/anki/linux/zip/anki/app_packages/aqt/utils.py”, line 116, in openHelp
File “/home/runner/work/anki/anki/out/installer/build/anki/linux/zip/anki/app_packages/anki/_backend_generated.py”, line 1240, in help_page_link
File “/home/runner/work/anki/anki/out/installer/build/anki/linux/zip/anki/app_packages/anki/_backend.py”, line 175, in _run_command
anki.errors.InvalidInput: CollectionNotOpen
Actually, thinking about this a little bit more: maybe the issue is that the collection failed to be opened? Could you check for the database file in Anki2 and verify that the permissions had been updated properly for the files as well?