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.38
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 .. 11 Next › Last »

escape0707 commented on 2024-04-04 02:29 (UTC) (edited on 2024-04-04 10:02 (UTC) by escape0707)

@BEST8OY @SwissCat Thank you for your reply. I think let's just add this dependency for now. And I'll find a chance to ask the upstream to make this dependency optional. But in the meantime, everyone needs to build and install this new dependency. But this is still less painful than Anki's original build process, I guess.

Edit: Filed a PR that ignores missing pip_system_certs and patched in AUR. Should be good for now.

BEST8OY commented on 2024-04-03 20:06 (UTC) (edited on 2024-04-05 12:42 (UTC) by BEST8OY)

@escape0707

Honestly, this package is the most hassle-free installation of Anki.

The main point is that it doesn't populate system with all the necessary packages to build Anki and is fast to install.

If you don't update this package, I'm still going to use your PKGBUILD to update my Anki installation in future.

I hope you continue to maintain this package.

SwissCat commented on 2024-04-03 17:55 (UTC)

@escape0707 I cannot give you back passion, that his something you will have to figure out on your own, and no matter what you chose to do its gonna be fine.

But I do believe this package still has value, at least for me. The official anki packages doesn't work at all for me, It gets stuck building the whole thing and if its not that it just crashes and spits out errors. I just hate it.

This is the only package that actually worked so far.

escape0707 commented on 2024-04-03 11:24 (UTC) (edited on 2024-04-03 11:27 (UTC) by escape0707)

@BEST8OY That's right. And as that package is in AUR too, I started to doubt if there is still a reason to continue maintaining this package. Also, that package does not benefit Arch or Linux users, too. Correct me if I'm wrong here.

Someone might be able to request the upstream to patch that Pull Request to ignore the ImportError if the package is not installed on the system, but I kind of lost the passion for that...

BEST8OY commented on 2024-03-31 20:40 (UTC) (edited on 2024-03-31 20:42 (UTC) by BEST8OY)

New dependency for 24.04 release: python-pip-system-certs

debnath commented on 2024-01-16 07:05 (UTC) (edited on 2024-01-16 07:28 (UTC) by debnath)

@escape0707

Could you please share a method to reproduce that error? (I was't constantly using Anki recently so I didn't tried recent versions except for whether it runs.)

  1. I'm using the kde-unstable repository.
  2. Install anki-bin with yay -S anki-bin.
  3. Run anki from the terminal.
  4. See the error.

Did you perform a system upgrade while Anki is already running and didn't rerun it so that you run into this problem?

No

What solution have you tried?

Couldn't think of anything to try other than reporting it here.

Does restarting the app or reboot your system solve it?

No. The problem persists.

Possibly related issue: https://github.com/qutebrowser/qutebrowser/issues/8046

That's quite possible. My system has qt 6.7.0beta1 since I'm using the kde-unstable repository.

EDIT: Additional info: I tried the anki AUR package and I still get exactly the same error.

escape0707 commented on 2024-01-14 07:42 (UTC) (edited on 2024-01-14 07:51 (UTC) by escape0707)

@debnath Could you please share a method to reproduce that error? (I was't constantly using Anki recently so I didn't tried recent versions except for whether it runs.)

Did you perform a system upgrade while Anki is already running and didn't rerun it so that you run into this problem? What solution have you tried? Does restarting the app or reboot your system solve it?

Possibly related issue: https://github.com/qutebrowser/qutebrowser/issues/8046

debnath commented on 2024-01-13 13:44 (UTC)

Getting this error:

Traceback (most recent call last):
  File "/usr/bin/anki", line 17, in <module>
    import aqt
  File "/usr/lib/python3.11/site-packages/aqt/__init__.py", line 52, in <module>
    from aqt import gui_hooks
  File "/usr/lib/python3.11/site-packages/aqt/gui_hooks.py", line 11, in <module>
    from _aqt.hooks import *
  File "/usr/lib/python3.11/site-packages/_aqt/hooks.py", line 18, in <module>
    from aqt.qt import QDialog, QEvent, QMenu, QModelIndex, QWidget, QMimeData
  File "/usr/lib/python3.11/site-packages/aqt/qt/__init__.py", line 20, in <module>
    from .qt6 import *
  File "/usr/lib/python3.11/site-packages/aqt/qt/qt6.py", line 15, in <module>
    from PyQt6.QtGui import *  # type: ignore[misc,assignment]
    ^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: /usr/lib/python3.11/site-packages/PyQt6/QtGui.abi3.so: undefined symbol: _ZN5QFont11tagToStringEj, version Qt_6

prometheus commented on 2023-11-11 16:53 (UTC)

@escape0707

Hi. I have already tried all those steps to no avail when I posted that comment. In the meantime I used "Anki Official Bundle" AUR package. But looks like it disappeared.

But I am happy to report that now this package, anki-bin, is working without issue. Thank you for your work!

escape0707 commented on 2023-11-11 14:22 (UTC)

@fmang Double-check your system package dependency.

$ pactree -r xcb-util-cursor | head -n4
xcb-util-cursor
└─qt6-base
  ├─python-pyqt6
  │ ├─anki-bin