Package Details: anki 24.06.3-2

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: 175
Popularity: 7.51
First Submitted: 2021-09-17 22:31 (UTC)
Last Updated: 2024-08-02 10:08 (UTC)

Required by (2)

Sources (7)

Latest Comments

« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 30 Next › Last »

pipep commented on 2022-12-18 19:52 (UTC)

On my machine nodejs is not installed, and I don't get any error installing Anki.

K12ish commented on 2022-12-18 16:01 (UTC)

@AlexBlocken, I installed Arch on my Laptop today, and I got this error when installing anki:

error /home/krish/.cache/paru/clone/anki/src/anki-2.1.55/node_modules/esbuild: Command failed.
Exit code: 127
Command: node install.js
Arguments:
Directory: /home/krish/.cache/paru/clone/anki/src/anki-2.1.55/node_modules/esbuild
Output:
/bin/sh: line 1: node: command not found

Installing nodejs fixed this issue for me. Could you add it to the dependencies?

I think this error hasn't been spotted yet because nodejs often already exists on user's machines. It appears that my PC had nodejs previously installed, so I didn't get this error yesterday.

jbreese4231 commented on 2022-12-18 01:53 (UTC)

I get the following error when I try to build anki. [code] error /home/john/.cache/yay/anki/src/anki-2.1.55/node_modules/dprint: Command failed. Exit code: 126 Command: node ./install.js Arguments: Directory: /home/john/.cache/yay/anki/src/anki-2.1.55/node_modules/dprint Output: /bin/sh: line 1: /tmp/yarn--1671325836963-0.7275504305075433/node: Permission denied

[18/73; 1 active; 231.652s] pyenv ninja: build stopped: subcommand failed.

Build failed. ==> ERROR: A failure occurred in build(). Aborting... -> error making: anki

AlexBocken commented on 2022-12-17 15:23 (UTC)

@K12ish oh wow what weird behavior, thanks for reporting! For some reason certifi was not listed in the wheels as a dependency. I've added python-certifi to the dependencies in -6.

K12ish commented on 2022-12-17 13:37 (UTC) (edited on 2022-12-17 13:44 (UTC) by K12ish)

@AlexBlocken Thanks for maintaining this package!

Leaving Anki running for a while leads to this error.

Anki 2.1.55 (01caec2a) Python 3.10.8 Qt 6.4.1 PyQt 6.4.0
Platform: Linux-6.0.12-arch1-1-x86_64-with-glibc2.36
Flags: frz=False ao=False sv=2
Add-ons, last update check: 2022-12-17 10:15:35

Caught exception:
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/aqt/progress.py", line 118, in handler
    func()
  File "/usr/lib/python3.10/site-packages/aqt/main.py", line 1411, in refresh_certs
    import certifi
ModuleNotFoundError: No module named 'certifi'

Could this be fixed by adding python-certifi as a dependency?

For other users, I'd like to add that this particular error can be safely ignored if you restart Anki after a couple of hours of usage.

AlexBocken commented on 2022-12-17 10:20 (UTC)

@madlabman late night fixes are never a good idea. changed rustup to cargo to be more agnostic in -5. Thank you very much for reporting!

madlabman commented on 2022-12-17 09:49 (UTC)

@AlexBocken I cannot install anki without replacing rust with rustup package.

AlexBocken commented on 2022-12-17 09:01 (UTC)

@n4r3n thanks, must have gotten lost in all the changes. Re-added in -4.

slav commented on 2022-12-17 02:16 (UTC)

Thank you AlexBocken for quick fix :)