Package Details: anki-bin 24.11-1

Git Clone URL: https://aur.archlinux.org/anki-bin.git (read-only, click to copy)
Package Base: anki-bin
Description: Helps you remember facts (like words/phrases in a foreign language) efficiently. Installed with wheel.
Upstream URL: https://apps.ankiweb.net/
Keywords: anki anki-bin
Licenses: AGPL3
Conflicts: anki
Provides: anki
Submitter: Grafcube
Maintainer: escape0707 (Flammkuchen)
Last Packager: Flammkuchen
Votes: 128
Popularity: 8.11
First Submitted: 2021-10-21 08:27 (UTC)
Last Updated: 2024-11-30 12:00 (UTC)

Latest Comments

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

leuko commented on 2025-01-04 12:58 (UTC)

I use HyperTTS add-on and get the error in this issue.

Can someone confirm this?

As far I understand, anki uses Python 3.9. The add-on seems to have access to the system-wide Python.

gravix commented on 2025-01-03 11:23 (UTC) (edited on 2025-01-08 08:17 (UTC) by gravix)

@escape0707 Thanks for your quick response! Indeed, the suggested option fixed the error:

$ paru --rebuild anki-bin

escape0707 commented on 2025-01-03 11:00 (UTC) (edited on 2025-01-03 11:03 (UTC) by escape0707)

@gravix This will reinstall with the old package you've built for python 3.12. Please search for --rebuild option in paru's man page.

gravix commented on 2025-01-03 08:34 (UTC) (edited on 2025-01-08 08:17 (UTC) by gravix)

Getting following error:

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

Tried to re-install:

$ paru -Rns anki-bin
$ paru
$ paru anki-bin

Still getting the same error.

rossvor commented on 2024-12-16 10:54 (UTC)

I think python-pip-system-certs needs to be added to dependencies -- it fails to launch without it. Error is: "Python module pip_system_certs is not installed. System certificate store and custom SSL certificates may not work. See: https://github.com/ankitects/anki/issues/3016"

escape0707 commented on 2024-12-04 09:02 (UTC)

@derivativeoflog7 Then it's a distro specific problem. I'm sorry that I'm being quite occupied recently and can't help you (I'm using Gnome and it would be a problem, too.). i suggest you look up Qt's runtime debug flag environment variable and use them to check the debug log during your Ctrl+Enter.

derivativeoflog7 commented on 2024-12-03 22:02 (UTC) (edited on 2024-12-04 08:59 (UTC) by derivativeoflog7)

@escape0707 Using PyPi's PyQt6 package (on 6.7.3) instead of the system-wide package from the Arch repos (on 6.8.0-dev builds) seems to fix the issue; so it seems that the issue could be fixed by having the venv not inherit system-wide packages and installing PyQt6 and all the rest from PyPi (installing PyQt6-WebEngine seems to pull all the needed dependencies). https://forums.ankiweb.net/t/ctrl-enter-doesnt-work-on-kde-plasma-if-anki-is-ran-through-pip-aqt/52206/4

derivativeoflog7 commented on 2024-11-21 17:56 (UTC)

@kageyama what I discovered is that the official Anki builds from GitHub and these AUR packages install Anki in a fundamentally different way: if I understand correcly the official builds copy a binary to PATH, while these two packages create a python venv and install Anki as a python module (aqt); and evidently, based on the issue you're encountering and the different one I'm encountering, these two aren't exactly equivalent

escape0707 commented on 2024-11-21 17:54 (UTC) (edited on 2024-11-21 17:58 (UTC) by escape0707)

@derivativeoflog7 If you can reproduce your problem with a pip installation, then it's definitely fine to directly report your problem to the upstream (Anki). dae (the author) should be able to troubleshoot your issue with you. No matter if it's an Anki issue or KDE/Qt issue.

derivativeoflog7 commented on 2024-11-21 17:51 (UTC)

@escape0707 the issue seems to be with aqt; if I follow the official instructions to install Anki as a Python module (with venv and all), Ctrl+Enter doesn't work there either.... I have no idea where to go from now though, or where to report the issue