Package Details: anki 25.09.2-1

Git Clone URL: https://aur.archlinux.org/anki.git (read-only, click to copy)
Package Base: anki
Description: Helps you remember facts (like words/phrases in a foreign language) efficiently
Upstream URL: https://apps.ankiweb.net/
Keywords: anki languages learning vocabulary
Licenses: AGPL3
Conflicts: anki-bin, anki-git, anki-qt5
Submitter: demize
Maintainer: AlexBocken
Last Packager: AlexBocken
Votes: 224
Popularity: 7.69
First Submitted: 2021-09-17 22:31 (UTC)
Last Updated: 2025-09-19 17:32 (UTC)

Required by (2)

Sources (7)

Latest Comments

1 2 3 4 5 6 .. 36 Next › Last »

johnsmythe commented on 2025-09-14 03:05 (UTC) (edited on 2025-09-14 03:12 (UTC) by johnsmythe)

@AlexBocken The following output is displayed before crash. The addon itself does not crash Anki on startup. It's only when a controller is connected, that the crash happens.

Starting Anki 25.09... 2025-09-14 08:01:01,285:INFO:aqt.mediasrv: Serving on http://127.0.0.1:36183 [] [] [] Starting main loop... pci id for fd 88: 10de:1b06, driver (null) pci id for fd 90: 10de:1b06, driver (null) libEGL warning: pci id for fd 88: 10de:1b06, driver (null)

pci id for fd 90: 10de:1b06, driver (null) pci id for fd 91: 10de:1b06, driver (null) libEGL warning: egl: failed to create dri2 screen pci id for fd 90: 10de:1b06, driver (null) pci id for fd 91: 10de:1b06, driver (null) libEGL warning: egl: failed to create dri2 screen JS error :1 Uncaught ReferenceError: get_controller_info is not defined /usr/include/c++/15.2.1/bits/stl_bvector.h:1158: constexpr std::vector<bool, _Alloc>::reference std::vector<bool, _Alloc>::operator [with _Alloc = std::allocator<bool>; reference = std::vector<bool>::reference; size_type = long unsigned int]: Assertion '__n < this->size()' failed. fish: Job 1, 'anki' terminated by signal SIGABRT (Abort)

AlexBocken commented on 2025-09-13 19:21 (UTC)

@johnsmythe I require more information to triage this. Any console output before anki crashes? I installed the add-on and didn't have any issues on my side, but i could not get a controller working.

johnsmythe commented on 2025-09-13 19:13 (UTC)

Utilizing Contanki with this build causes Anki to crash while it works fine with the official installer. What could the issue be?

bruno.unna commented on 2025-09-03 09:21 (UTC)

@avantbored

Where (which directory) is the anki repository in your local machine (in which directory is the PKGBUILD file)?

Where (which directory) did you put @jadedpasta patch in?

What's your current directory when you ran the patch command?

Your answer to there three questions will determine what's the correct value for the -p parameter of patch.

avantbored commented on 2025-08-29 13:59 (UTC)

Thank you for your reply!

In the middle of applying the patch, I was presented with this output:

patching file b/Move-Unicode-text-direction-allow-to-crate-root.patch
can't find file to patch at input line 61
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/PKGBUILD b/PKGBUILD
|index 226430c..6e7750d 100644
|--- a/PKGBUILD
|+++ b/PKGBUILD
--------------------------
File to patch: 

bruno.unna commented on 2025-08-28 16:04 (UTC)

@avantbored

You need to: 1. clone the repository (git clone https://aur.archlinux.org/anki.git) 2. copy/paste @jadepasta's patch into a local file (for example text-direction-fix.patch) 3. apply his patch: patch -p0 < text-direction-fix.patch (you might need to make adjustments to the -p parameter, depending on where you saved it with respect to the repository from step 1) 4. go to the directory created from step 1 5. build/install the fixed package: makepkg -si should work for you.

avantbored commented on 2025-08-28 15:27 (UTC)

Hello. Trying to rebuild anki as a previous error I've messaged about here has reappeared.

I am receiving the same error reported by @dadino06.

Where might I apply this patch provided? Thank you.

bruno.unna commented on 2025-08-28 11:52 (UTC)

The patch works for me as well, thank you very much, @jadepasta.

May I just suggest to increase the pkgrel value in file PKGBUILD to 2?