Package Details: anki-bin 24.06.3-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: 114
Popularity: 2.99
First Submitted: 2021-10-21 08:27 (UTC)
Last Updated: 2024-07-03 12:54 (UTC)

Latest Comments

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

marco.righi commented on 2022-06-08 10:42 (UTC)

anki-bin 2.1.53-1 

Executing anki I got the following error:


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 42, in <module>
    from anki.collection import Collection
  File "/usr/lib/python3.10/site-packages/anki/collection.py", line 63, in <module>
    from anki.sync import SyncAuth, SyncOutput, SyncStatus
  File "/usr/lib/python3.10/site-packages/anki/sync.py", line 14, in <module>
    from .httpclient import HttpClient
  File "/usr/lib/python3.10/site-packages/anki/httpclient.py", line 14, in <module>
    import requests
  File "/home/marco/.local/lib/python3.10/site-packages/requests/__init__.py", line 43, in <module>
    import urllib3
  File "/home/marco/.local/lib/python3.10/site-packages/urllib3/__init__.py", line 8, in <module>
    from .connectionpool import (
  File "/home/marco/.local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 29, in <module>
    from .connection import (
  File "/home/marco/.local/lib/python3.10/site-packages/urllib3/connection.py", line 39, in <module>
    from .util.ssl_ import (
  File "/home/marco/.local/lib/python3.10/site-packages/urllib3/util/__init__.py", line 3, in <module>
    from .connection import is_connection_dropped
  File "/home/marco/.local/lib/python3.10/site-packages/urllib3/util/connection.py", line 3, in <module>
    from .wait import wait_for_read
  File "/home/marco/.local/lib/python3.10/site-packages/urllib3/util/wait.py", line 1, in <module>
    from .selectors import (
  File "/home/marco/.local/lib/python3.10/site-packages/urllib3/util/selectors.py", line 14, in <module>
    from collections import namedtuple, Mapping
ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py)

Solutions?

Thx

coolreader18 commented on 2022-06-06 23:55 (UTC)

Hi! I patched your PKGBUILD and patches a bit to upgrade to 2.1.53, if you'd like to use it feel free: https://gist.github.com/d33990435086f71a3254e84c72a7efd3

escape0707 commented on 2022-06-01 01:59 (UTC)

PKGBUILD is updated to name auxiliary files with their version to avoid giving you checksum failures.

It a minor PKGBUILD definition update, so users who have already installed 2.1.53 don't need to take any action. Those who previously can't install due to checksum failures could try again.

AlexBocken commented on 2022-05-13 16:28 (UTC)

2.1.52 has been released. Consider upgrading although testing has been limited.

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

kuklinistvan commented on 2022-05-03 18:05 (UTC)

"2.1.51 was just released. It contains the latest bug fixes and feature improvements, but some add-ons do not support it yet." https://apps.ankiweb.net/ Skipping this release

escape0707 commented on 2022-04-30 06:56 (UTC) (edited on 2022-04-30 07:03 (UTC) by escape0707)

@Novite I don’t know exactly why your locally installed resolvelib came into play during the pip install process. Did you make any special setup or maybe give a look at this?

https://bbs.archlinux.org/viewtopic.php?id=271721

https://stackoverflow.com/a/66732018

Novite commented on 2022-04-30 06:08 (UTC)

I encounter error while building:

ERROR: Exception: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 189, in _main status = self.run(options, args) File "/usr/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 178, in wrapper return func(self, options, args) File "/usr/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 316, in run requirement_set = resolver.resolve( File "/usr/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 121, in resolve self._result = resolver.resolve( File "/home/weber/.local/lib/python3.10/site-packages/resolvelib/resolvers.py", line 481, in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) File "/home/weber/.local/lib/python3.10/site-packages/resolvelib/resolvers.py", line 348, in resolve self._add_to_criteria(self.state.criteria, r, parent=None) File "/home/weber/.local/lib/python3.10/site-packages/resolvelib/resolvers.py", line 147, in _add_to_criteria matches = self._p.find_matches( TypeError: PipProvider.find_matches() got an unexpected keyword argument 'identifier'

escape0707 commented on 2022-04-26 08:51 (UTC) (edited on 2022-04-26 10:36 (UTC) by escape0707)

@Munzu

  1. What you get is not signature check failure, but source files checksum failure.

  2. By “previously downloaded files”, I mean the source files downloaded during makepkg process. For more info, please read https://man.archlinux.org/man/makepkg.8.en

You should learn about how to build and install AUR packages, then your confusion will go away automatically.

Munzu commented on 2022-04-26 08:36 (UTC)

I'm also getting signature check fails for runanki.py and anki.desktop. There don't seem to be any cached packages of Anki in /var/cache/pacman/pkg for me to remove.