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: 127
Popularity: 8.46
First Submitted: 2021-10-21 08:27 (UTC)
Last Updated: 2024-11-30 12:00 (UTC)

Latest Comments

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

escape0707 commented on 2023-04-19 02:38 (UTC) (edited on 2023-04-19 02:40 (UTC) by escape0707)

@dd86 Interesting. I've only saw one post on the internet with the same symptom as yours, and it seems I can't reproduce it on my machine. Could you please tell me the packages you've installed and the version of them? Maybe with pacman -Qs 'qt|anki'.

dd86 commented on 2023-04-18 18:27 (UTC) (edited on 2023-04-18 18:53 (UTC) by dd86)

After some recent updates (to the Qt libraries I guess) Anki doesn't start anymore:

Traceback (most recent call last):
  File "/usr/bin/anki", line 17, in <module>
    import aqt
  File "/usr/lib/python3.10/site-packages/aqt/__init__.py", line 46, in <module>
    from aqt import gui_hooks
  File "/usr/lib/python3.10/site-packages/aqt/gui_hooks.py", line 11, in <module>
    from _aqt.hooks import *
  File "/usr/lib/python3.10/site-packages/_aqt/hooks.py", line 18, in <module>
    from aqt.qt import QDialog, QEvent, QMenu, QModelIndex, QWidget, QMimeData
  File "/usr/lib/python3.10/site-packages/aqt/qt/__init__.py", line 20, in <module>
    from . import qt5_compat  # needs to be imported first
  File "/usr/lib/python3.10/site-packages/aqt/qt/qt5_compat.py", line 18, in <module>
    import PyQt6.QtNetwork
ImportError: /usr/lib/python3.10/site-packages/PyQt6/QtNetwork.abi3.so: undefined symbol: _ZN16QNetworkDatagram7destroyEP23QNetworkDatagramPrivate, version Qt_6

escape0707 commented on 2023-02-09 01:04 (UTC) (edited on 2023-02-09 01:06 (UTC) by escape0707)

@adelq @cold26 Updated the dependencies to address the problem. I didn't bump package subversion, so if you don't have qt6-svg installed already, please update / reinstall anki-bin.

My bad, this issue has already been discussed here https://aur.archlinux.org/packages/anki#comment-899603

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.