Package Details: anki-bin 25.02-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: MIT, Apache-2.0, BSD-3-Clause, CC-BY-4.0, 0BSD, GPL-3.0-or-later, AGPL-3.0-or-later
Conflicts: anki
Provides: anki
Submitter: Grafcube
Maintainer: escape0707 (Flammkuchen)
Last Packager: Flammkuchen
Votes: 130
Popularity: 7.55
First Submitted: 2021-10-21 08:27 (UTC)
Last Updated: 2025-02-13 01:33 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 13 Next › Last »

escape0707 commented on 2024-07-10 12:22 (UTC)

@derivativeoflog7 I can not confirm the behavior you described... Could you please provide more details to help me reproduce it?

derivativeoflog7 commented on 2024-07-10 11:01 (UTC)

CTRL+Enter to submit a new card doesn't work with this package... it works on the flatpak

escape0707 commented on 2024-06-28 02:58 (UTC) (edited on 2024-06-28 02:58 (UTC) by escape0707)

@bbb651 This package does depend on python-pyqt6-webengine, which will introduce all the dependencies you've described. You should check why pacman doesn't install all the dependencies for you.

bbb651 commented on 2024-06-28 00:30 (UTC)

I think qt6-webengine should be added as a required dependency, which transitively depends on ffmpeg which contains libavcodec.so.61 which is required for anki to start:

❯ anki
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
Traceback (most recent call last):
  File "/usr/bin/anki", line 17, in <module>
    import aqt
  File "/usr/lib/python3.12/site-packages/aqt/__init__.py", line 61, in <module>
    from aqt import gui_hooks
  File "/usr/lib/python3.12/site-packages/aqt/gui_hooks.py", line 11, in <module>
    from _aqt.hooks import *
  File "/usr/lib/python3.12/site-packages/_aqt/hooks.py", line 18, in <module>
    from aqt.qt import QDialog, QEvent, QMenu, QModelIndex, QWidget, QMimeData
  File "/usr/lib/python3.12/site-packages/aqt/qt/__init__.py", line 20, in <module>
    from .qt6 import *
  File "/usr/lib/python3.12/site-packages/aqt/qt/qt6.py", line 19, in <module>
    from PyQt6.QtWebEngineCore import *
ImportError: libavcodec.so.61: cannot open shared object file: No such file or directory

kageyama commented on 2024-04-28 07:43 (UTC)

@Spixmaster Thank you it worked, the problem was that i was not able to use pacman, because the error which i peviously mentioned was appearing for installing/upgrading packages. It turned out that, i have a package-informant ( python ) which has hook, and this hook was failing, that's why i was not able to install/upgrade any packages. I rebuild the informant package and now everything works.

Spixmaster commented on 2024-04-28 07:17 (UTC)

@kageyama It is probably a python module that is not in the correct path. Change directory to /usr/lib/python3.11/site-packages/ and do pacman -Qqo *. You need to rebuild everything that is listed there. The goal is to not have a directory /usr/lib/python3.11/ anymore.

kageyama commented on 2024-04-28 03:58 (UTC)

@xuiqzy, I am having the same problem. What do you mean by rebuild? How to do that?

I tried reinstalling anki-bin using yay and chose option to CleanBuild, but installation fails ->

Traceback (most recent call last):
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 397, in from_name
    return next(cls.discover(name=name))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/informant", line 33, in <module>
    sys.exit(load_entry_point('informant==0.5.0', 'console_scripts', 'informant')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/informant", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
                       ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 862, in distribution
    return Distribution.from_name(distribution_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 399, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for informant
error: command failed to execute correctly
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.
 -> error installing: [/home/phoenix/.cache/yay/anki-bin/anki-bin-24.04.1-1-x86_64.pkg.tar] - exit status 1

xuiqzy commented on 2024-04-27 16:34 (UTC)

Couldn't start Anki anymore, when starting from command line, got error:

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

Rebuilding and reinstalling anki-bin fixed the problem.