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: 173
Popularity: 5.88
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 .. 14 15 16 17 18 19 20 21 22 23 24 .. 30 Next › Last »

AlexBocken commented on 2022-05-26 08:45 (UTC)

@yakoyakoyokuyoku Thanks for the recommendations, I implemented them.

With 2.1.52 Qt6 seems stable enough to consider updating to it. Addon-compatibility seems to be ensured via Qt5 shims that can optionally be disabled.

If you feel like it please check out the anki-qt6 package. If no errors are reported to me Ill merge soon.

yakoyakoyokuyoku commented on 2022-05-24 21:34 (UTC) (edited on 2022-05-26 21:20 (UTC) by yakoyakoyokuyoku)

Taking in consideration what @Lukas1818 said, the package build needs to make sure that the bazel server is killed before continuing or exiting on failure. I'd suggest to call the following function in build() instead of running bazel build directly.

_bazel_build() {
    bazel build -c opt wheels
    _status=$?
    bazel shutdown
    if [[ $_status -ne 0 ]]; then
        exit $_status # or call false
    fi
    # test $_status -eq 0 # is another option
}

Also python-stringcase can be dropped as it's already been vendored.

LuckyTurtleDev commented on 2022-05-16 20:56 (UTC)

hi, bazel is still running after building this package and consume a lot of ram.

Munzu commented on 2022-04-29 12:31 (UTC)

@AlexBocken I've narrowed it down. For some reason, the issue goes away when I disable my "Migaku Kanji GOD" add-on. I'll report it to them. Sorry about that!

AlexBocken commented on 2022-04-29 11:45 (UTC)

@Munzu... That's weird, addons work for me. When does this "No updates available" pop up? After clicking on Tools->Add-ons? This "No Updates availabe" should obviously only appear when clicking on "Check for Updates" in the Add-on window.

Munzu commented on 2022-04-29 11:11 (UTC)

@AlexBocken Thank you! It works, Anki is now using Qt5. The issue I mentioned on the Anki forums has been resolved as well.

I've been having another issue with installing add-ons (Anki just says "No updates available" whenever I try to install any add-on). I was hoping it would be resolved by switching back to Qt5 but unfortunately it doesn't seem like it did. Since I've had this issue with other packages like anki-bin, and anki-qt6 as well, it might be a bug in Anki itself. I'll report it in the Anki forums.

AlexBocken commented on 2022-04-29 10:07 (UTC) (edited on 2022-05-13 16:54 (UTC) by AlexBocken)

This is a build of anki which uses Qt6. The Qt6 build seems to still have some issues compared to the Qt5 build, that's why the main package anki is staying on Qt5 for now. Later, if Qt6 becomes more reliable the two packages will merge.

As of 2.1.52:

The errors listed below seem to have been fixed. If you come across other bugs that you do not have with the Qt5 package anki please let me know with a comment here.

Known issues with Qt6 as of 2.1.51:
  • Scrollbar on buttons in review mode
  • Lag in displaying cards every fourth card or so

AlexBocken commented on 2022-04-29 09:27 (UTC) (edited on 2022-04-29 10:07 (UTC) by AlexBocken)

@Munzu Currently I'm only providing Qt5 dependencies. anki out of the box prefers Qt6 so switches to that if possible. Another package you installed probably pulled python-pyqt6-webengine.

Edit: this version is now forced to use Qt5. Let me know if errors persist.