Package Details: anki 24.11-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: 178
Popularity: 6.93
First Submitted: 2021-09-17 22:31 (UTC)
Last Updated: 2024-11-30 10:33 (UTC)

Required by (2)

Sources (7)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 30 Next › Last »

AlexBocken commented on 2024-05-25 08:50 (UTC) (edited on 2024-05-25 10:46 (UTC) by AlexBocken)

@hearth, @thecheddarchees Thanks for the reports, I think I've found the issue now. Currently testing it in clean chroots/various scenarios. Will push once confirmed stable.

Edit: pushed with '-3'. (pkgrel bumped that AUR-helpers will actually catch the update, will force a rebuild for others who are not affected by this issue)

hearth commented on 2024-05-24 11:00 (UTC)

@thecheddarcheese I am having the same issue with the anki-git package. I also get these messages before that error:

warning Pattern ["string-width@^4.1.0"] is trying to unpack in the same destination "/home/hearth/.cache/yarn/v6/npm-string-width-cjs-4.2.3-269c7117d27b05ad2e536830a8ec895ef9c6d010-integrity/node_modules/string-width-cjs" as pattern ["string-width-cjs@npm:string-width@^4.2.0"]. This could result in non-deterministic behavior, skipping.
warning svelte-preprocess@5.1.3: The engine "pnpm" appears to be invalid.
[3/4] Linking dependencies...
warning " > esbuild-sass-plugin@2.16.1" has incorrect peer dependency "esbuild@^0.19.4".

thecheddarcheese commented on 2024-05-19 11:19 (UTC)

I keep getting this error:

error /home/saki/.cache/yay/anki/src/anki-24.04.1/out/node_modules/esbuild: Command failed.
Exit code: 126
Command: node install.js
Arguments: 
Directory: /home/saki/.cache/yay/anki/src/anki-24.04.1/out/node_modules/esbuild
Output:
/bin/sh: /tmp/yarn--1716117223013-0.8629753967543765/node: /bin/sh: bad interpreter: Text file busy

Might be an issue on my end, but I'm not sure what could be causing it.

Vamp898 commented on 2024-05-08 12:22 (UTC)

Just tested, works as expected.

Also, please ask in the forum, its much easier to help you there. This is really only for PKGBUILD related issues.

ylyl commented on 2024-05-08 12:20 (UTC)

ctrl+enter shortcut for add card not working, need some help plz

AlbertoAru commented on 2024-05-06 00:09 (UTC)

error: could not compile `rsbridge` (lib)

Caused by:
  process didn't exit successfully: `rustc --crate-name rsbridge --edition=2021 pylib/rsbridge/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type cdylib --emit=dep-info,link -C opt-level=3 -C lto --cfg 'feature="rustls"' -C metadata=be8ba0ff838fc137 --out-dir /home/user/.cache/yay/anki/src/anki-24.04.1/out/rust/release-lto/deps -C strip=debuginfo -L dependency=/home/user/.cache/yay/anki/src/anki-24.04.1/out/rust/release-lto/deps --extern anki=/home/user/.cache/yay/anki/src/anki-24.04.1/out/rust/release-lto/deps/libanki-2ccc2fc34cfb547d.rlib --extern pyo3=/home/user/.cache/yay/anki/src/anki-24.04.1/out/rust/release-lto/deps/libpyo3-40dd50523f202177.rlib -Cforce-frame-pointers=yes -C debuginfo=2 --remap-path-prefix=/home/user/.cache/yay/anki/src=/usr/src/debug/anki -L native=/home/user/.cache/yay/anki/src/anki-24.04.1/out/rust/release-lto/build/zstd-sys-8072f24a7c495386/out -L native=/home/user/.cache/yay/anki/src/anki-24.04.1/out/rust/release-lto/build/blake3-3a67b15edba96699/out -L native=/home/user/.cache/yay/anki/src/anki-24.04.1/out/rust/release-lto/build/blake3-3a67b15edba96699/out -L native=/home/user/.cache/yay/anki/src/anki-24.04.1/out/rust/release-lto/build/libsqlite3-sys-0d92725bc7d58897/out -L native=/home/user/.cache/yay/anki/src/anki-24.04.1/out/rust/release-lto/build/ring-62d75d0ba345d697/out` (signal: 9, SIGKILL: kill)
Failed with code Some(101): cargo build --profile release-lto --locked -p rsbridge --features rustls
ninja: build stopped: subcommand failed.

Build failed.
==> ERROR: A faillure was made in build().
    Cancelling...
 -> error compiling: anki-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
anki - exit status 4

AlexBocken commented on 2024-05-02 14:11 (UTC)

I think @Vamp898 had a different issue, that was before the release of 3.12 for arch.

I usually bump the pkgrel for all my python-dependent packages when a new major release for python 3 is published, that automatically forces a rebuild on all systems. Technically not in the AUR packaging guidelines but imo quite convenient for users.

7ate9 commented on 2024-05-02 13:41 (UTC)

@Vamp898 I think the issue will always crop up when a new significant python version is released.

the aqt module was probably in /usr/lib/python3.11/site-packages/aqt before you rebuilt it, but only python version 3.11.* will look under the /usr/lib/python3.11 directory. Since your python version is now 3.12, it won't look there and just tell you module aqt (the anki module) doesn't exist. v3.12 will only look for modules listed in $ python -c 'import sys; print(sys.path)

Anyway, just expect it to break every time the python version significantly changes.

Looks like people over at aur package anki-bin were having a similar issue.

(I'm mostly writing this for myself though, as I always forget about this when stuff breaks lol)

Vamp898 commented on 2024-04-24 16:26 (UTC)

good 'ol rebuild fixed it

Vamp898 commented on 2024-04-24 16:15 (UTC)

Since the latest update, Anki no longer starts for me (i rarely use it on the PC so i didn*t notice it until now)

It just says

Traceback (most recent call last): File "/usr/bin/anki", line 5, in <module> from aqt import run ModuleNotFoundError: No module named 'aqt'