Package Details: anki-bin 2.1.54-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-git anki-official-binary-bundle anki-release-source anki20
Licenses: AGPL3
Conflicts: anki
Provides: anki
Submitter: Grafcube
Maintainer: Grafcube (escape0707)
Last Packager: Grafcube
Votes: 20
Popularity: 4.24
First Submitted: 2021-10-21 08:27 (UTC)
Last Updated: 2022-06-24 07:50 (UTC)

Pinned Comments

escape0707 commented on 2022-06-08 11:16 (UTC) (edited on 2022-06-08 11:46 (UTC) by escape0707)

@marco.righi Your locally pip installed packages (request) is interfering with pacman managed python packages. Uninstall your user level packages and try again, I guess. Do report back even if it solves your problem.

Latest Comments

marco.righi commented on 2022-06-08 18:28 (UTC)

@escape0707 RESOLVED! Thx very much

escape0707 commented on 2022-06-08 11:16 (UTC) (edited on 2022-06-08 11:46 (UTC) by escape0707)

@marco.righi Your locally pip installed packages (request) is interfering with pacman managed python packages. Uninstall your user level packages and try again, I guess. Do report back even if it solves your problem.

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

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.

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.

escape0707 commented on 2022-04-10 07:03 (UTC) (edited on 2022-06-08 11:19 (UTC) by escape0707)

@yoshi314 Please remove previously downloaded files and try again. They got updated comparing to previous versions.

yoshi314 commented on 2022-04-10 07:01 (UTC)

i am observing file signature issues.

runanki.py and anki.desktop fail checks.

escape0707 commented on 2022-04-09 10:20 (UTC) (edited on 2022-04-09 10:20 (UTC) by escape0707)

I think it's time to use PyQt6 for this upgrade. Let me do some check before publishing a new version.

yoshi314 commented on 2022-04-09 08:19 (UTC)

2.1.50 is out.