Package Details: anki-bin 24.04.1-2

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: escape0707
Votes: 108
Popularity: 8.05
First Submitted: 2021-10-21 08:27 (UTC)
Last Updated: 2024-04-28 08:22 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 Next › Last »

adelq commented on 2023-02-07 20:50 (UTC)

@cold26 @escape0707 I had the same issue with checkboxes not showing and various missing icons in the UI in anki-bin 2.1.57. The issue is that there is a missing dependency for qt6-svg for the package to render icons and checkboxes. Could you please add this dependency?

escape0707 commented on 2023-01-30 10:36 (UTC) (edited on 2023-01-30 10:37 (UTC) by escape0707)

@cold26 Maybe launch the app in a terminal and see the error report? Or you can try to install aqt[qt6] manually in a python venv to verify if it's your PC's python environment or qt setup that is faulted.

escape0707 commented on 2023-01-30 10:34 (UTC) (edited on 2023-01-30 10:52 (UTC) by escape0707)

@Vitrum-cnkj34kr8 Sorry, but could you please show me some evidence that handling these mime things by distro packager is the best practice? I've look up some more important packages like Firefox, and is seems to be the programmer's duty to handle their app's file associations.

Plus, modern file managers / DE allow you to pick an app to open the file and will remember your choice. I don't see the necessity to add a patch to address it, currently.

Edit: Never mind, I've found anki's official MIME XML file here: https://github.com/ankitects/anki/blob/2.1.57/qt/bundle/lin/anki.xml I'll add it to current PKGBUILD.

cold26 commented on 2023-01-20 13:11 (UTC)

currently installed anki-bin 2.1.56-1. now I have the problem that unfortunately under the settings all clickable boxes visually do not respond to click. i have already tried to deactivate all addons as well as to start anki-bin via shift. nothing helped. does anyone have the same problem, a solution to the problem or suggestions?

Vitrum-cnkj34kr8 commented on 2023-01-20 10:52 (UTC) (edited on 2023-01-20 11:39 (UTC) by Vitrum-cnkj34kr8)

Is it possible to associate Anki with "apkg" files? So, downloading a deck, like this one, it will be open in Anki. Now, it's identified as a zip file in KDE.

Following this guide, one need to create a file anki-apkg.xml, save it to /usr/share/mime/packages/, and run update-mime-database /usr/share/mime:

<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
    <mime-type type="application/x-apkg">
        <comment>Anki flashcard deck file</comment>
        <icon name="anki"/>
        <glob-deleteall/>
        <glob pattern="*.apkg"/>
    </mime-type>
</mime-info>

add to PKGBUILD

post_install() {
  update-mime-database usr/share/mime
}

That's enough, the .desktop file is already associated with application/x-apkg.

P.S. Probably, post_install is not needed anymore, pacman will call update automatically.

<deleted-account> commented on 2023-01-15 10:50 (UTC)

2.1.56 was released.

https://github.com/ankitects/anki/releases/tag/2.1.56

escape0707 commented on 2022-12-19 10:15 (UTC) (edited on 2022-12-19 10:17 (UTC) by escape0707)

@tocic It seems that upstream used python-requests in a wrong way. I suggest manually installing python-certifi if you don't want to apply any patch while we wait for upstream's response.

escape0707 commented on 2022-12-19 05:10 (UTC) (edited on 2022-12-19 05:11 (UTC) by escape0707)

@tocic That dependency is indeed missing in the wheel. I'll ask the upstream for an update.

tocic commented on 2022-12-19 04:53 (UTC)

I have the same issue with this package:

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'

Consider adding this to the dependencies list and(or) filing the issue to the upstream if it's not listed there.

lolilolicon commented on 2022-07-11 02:55 (UTC) (edited on 2022-07-11 02:55 (UTC) by lolilolicon)

I think the license should read AGPL3, like in other anki packages.

I'd like to report that for me this package works flawlessly. The size, at 442.82 MiB installed (2.1.54), is big (10x that of anki built from source, not including the deps it would pull in), but totally worth it: this is the most reliable and hassle-free way to install anki now. (The package anki is often troublesome to build; anki-bin may have dependency compatibility issues.)

Until the day we can do pacman -Sy anki again, my vote is to this package.