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.55
First Submitted: 2021-10-21 08:27 (UTC)
Last Updated: 2024-04-28 08:22 (UTC)

Latest Comments

1 2 3 4 5 6 .. 11 Next › Last »

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.

escape0707 commented on 2024-04-09 00:11 (UTC)

@adelin-b Version number is fine at my side. Can you try to clone the AUR repo again and rebuild?

escape0707 commented on 2024-04-06 03:31 (UTC) (edited on 2024-04-06 03:37 (UTC) by escape0707)

@Grafcube First, I want to thank you for submitting the first version of this PKGBUILD, as I'm no where near familiar with packaging and AUR at that time.

It's seems that if you simply disown this package, the leftover co-maintainer (me) will become the new owner.

I do not use Anki as often as when I first wrote this PKGBUILD before, as I've already passed the proficiency exam of the language I was learning with it, and started studying abroad then. So I didn't actually test every new versions besides whether it runs.

Nevertheless, it's important to continue studying through one's life, and many others might still benefit from this helpful learning tool. If anyone wish to co-maintain this package, which is usually only updating pkgver and checking upstream changes to requirements.{anki,aqt}.in, feel free to leave a comment here or contact my email!

Finally, I wish you all a great success in your study and personal career!

Grafcube commented on 2024-04-05 12:55 (UTC)

@escape0707 unfortunately I don't know enough to properly manage this package myself and you seemed to have it covered so I just left it to you. I didn't realize co-maintainers couldn't manage ownership. If you want me to, I can disown the package, which should make you the sole maintainer and give you permission to manage co-maintainers.

escape0707 commented on 2024-04-05 09:06 (UTC)

@Niwook I completely understand your kindness. And you don't need to thank me so extravagantly. Personally I've been a bit busy lately. It would be best if someone else is willing to maintain it together. However, although I initially wrote this script, I'm not its current owner. Another user submitted it on my behalf at that time. So I'm afraid I can't add anyone to co-maintainer list.

Niwook commented on 2024-04-05 07:51 (UTC)

@escape0707 Many thanks for everything. I hope your passion returns. The maintenance of this package is very important for many people, more than you think. I am in debt with you and eternally grateful.