I tried to open up the settings menu of my deck in anki by clicking on the gear icon, but it wouldn’t allow me to. After checking the database in the tools menu, it still doesn’t work. Here is the error message:
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.15 (442df9d6) Python 3.11.2 Qt 5.15.8 PyQt 5.15.9
Platform: Linux
Flags: frz=False ao=False sv=2
Caught exception:
File “/usr/share/anki/aqt/deckbrowser.py”, line 213, in
a.triggered.connect(lambda b, did=did: self._options(did))
^^^^^^^^^^^^^^^^^^
File “/usr/share/anki/aqt/deckbrowser.py”, line 242, in _options
self.mw.onDeckConf()
File “/usr/share/anki/aqt/main.py”, line 869, in onDeckConf
aqt.deckconf.DeckConf(self, deck)
File “/usr/share/anki/aqt/deckconf.py”, line 25, in init
self.setupConfs()
File “/usr/share/anki/aqt/deckconf.py”, line 49, in setupConfs
self.loadConfs()
File “/usr/share/anki/aqt/deckconf.py”, line 66, in loadConfs
self.onConfChange(startOn)
File “/usr/share/anki/aqt/deckconf.py”, line 89, in onConfChange
self.loadConf()
File “/usr/share/anki/aqt/deckconf.py”, line 175, in loadConf
f.lrnFactor.setValue(c[‘initialFactor’]/10.0)
<class ‘TypeError’>: setValue(self, val: int): argument 1 has unexpected type ‘float’
Please update this very old Anki version using a download from the Anki website. It is a known issue with this outdated version (likely distributed through package managers), that does not occur in recent versions.
I tried downloading the newer version of Anki, but I got the error:
-bash: /usr/local/bin/anki: cannot execute binary file: Exec format error
I have a ARM CPU. This means that I can’t update to a newer version. Is the version that I have the newest I can get with ARM? I followed the 2021 reddit guide on how to install anki with ARM and it said that I could only do the first step. I did the first step and I got this:
~$ sudo apt-get update && sudo apt-get install anki
I keep trying to download it and when I replace the file name with my file’s name, it says the file is not found even though I entered my file’s name correctly. I have tried this multiple times. Below is what I entered into linux as per the instructions and the pictures of the file name in my linux file folder:
Do you know how I could do that? The anki guide didn’t say anything on how to do that and when I looked it up online it only gave me results on how to zip and unzip files. Thank you so much for your help
If you are on a different architecture, or a barebones Linux distro, you will not be able to use the packaged version, but you may be able to use the Python wheels instead.
I ran the first command on that page of sudo apt install python3-pyqt5.{qtwebengine,qtmultimedia} successfully, but the next one wasn’t working no matter what I tried. I input the code, and it then said to run something else, which I did, but it still wasn’t working. I have attached a picture of it below. The second line of code I ran in the picture was the one instructed to be run in the anki instructions. I appreciate your assistance.
Ok, so I tried what you said twice and it just said “Error: Command ‘[’/home/pyenv/bin/python3.11’, ‘-m’, ‘ensurepip’, ‘–upgrade’, ‘–default-pip’]’ returned non-zero exit status 1.” See attached picture.
Ok, I tried removing the pyenv file from my computer found in files that was titled “pyenv” and then I tried again. The only problem is when I try running the command it just gives me nothing. My linux is being unresponsive. Any pointers on how to fix?
Ok, I tried following the commands coming afterward in the website like you said. The instructions said to run some commands next, which I did. But it still didn’t get installed. I have attached the screenshot of my attempts.
Ok, I tried installing python and pip but it said that I already had the newest version installed. I then tried running the command on the doc again but the same thing happened.