Package Details: anki-git r11208.b7cb0c0d0-1

Git Clone URL: https://aur.archlinux.org/anki-git.git (read-only, click to copy)
Package Base: anki-git
Description: Helps you remember facts (like words/phrases in a foreign language) efficiently
Upstream URL: hhttps://apps.ankiweb.net/
Keywords: anki memorise memory study
Licenses: AGPL3
Conflicts: anki, anki-official-binary-bundle, anki20
Provides: anki
Submitter: degeberg
Maintainer: DarkShadow44
Last Packager: DarkShadow44
Votes: 25
Popularity: 0.000469
First Submitted: 2017-02-12 11:51 (UTC)
Last Updated: 2024-08-29 18:32 (UTC)

Latest Comments

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

DarkShadow44 commented on 2021-08-30 16:28 (UTC) (edited on 2021-08-30 16:28 (UTC) by DarkShadow44)

Thanks! Just a small heads up, I got a strange issue when building, like

Processing ./bazel-bin/qt/aqt/aqt-2.1.48-py3-none-any.whl
ERROR: Cannot install aqt 2.1.47 (from /var/cache/yay/anki-git/src/anki-git/bazel-bin/qt/aqt/aqt-2.1.47-py3-none-any.whl) and aqt 2.1.48 (from /var/cache/yay/anki-git/src/anki-git/bazel-bin/qt/aqt/aqt-2.1.48-py3-none-any.whl) because these package versions have conflicting dependencies.

I solved it by deleting ~/.cache/bazel

Just in case someone has the same problem...

MartinX3 commented on 2021-08-29 23:01 (UTC) (edited on 2021-08-29 23:05 (UTC) by MartinX3)

@DarkShadow44 Thank you I must be blind

I updated the package now, thank you :)

DarkShadow44 commented on 2021-08-29 21:21 (UTC) (edited on 2021-08-29 21:22 (UTC) by DarkShadow44)

Yes, it crashes on startup with this log:

  File "/usr/bin/anki", line 16, in <module>
    import aqt
  File "/usr/lib/python3.9/site-packages/aqt/__init__.py", line 18, in <module>
    from anki.collection import Collection
  File "/usr/lib/python3.9/site-packages/anki/collection.py", line 19, in <module>
    from anki._legacy import DeprecatedNamesMixin, deprecated
  File "/usr/lib/python3.9/site-packages/anki/_legacy.py", line 12, in <module>
    import stringcase

That got introduced in commit 0ddd316388 (2021-06-26). It compiles fine btw, just running won't work.

MartinX3 commented on 2021-08-29 20:05 (UTC) (edited on 2021-08-29 20:06 (UTC) by MartinX3)

Please explain why you flag a git aur package as "out of date", since it uses pkgver() to dynamical calculate its version number.

@DarkShadow44 are you sure? I don't find this change in the source code and last time i was able to compile it without this dependency. (Currently I'm in holidays for 2 weeks with 1mbit internet and can't test it without running in a timeout while fetching the dependencies)

DarkShadow44 commented on 2021-08-28 21:40 (UTC)

Since the latest update(s), this depends on python-stringcase.

MartinX3 commented on 2021-08-24 16:00 (UTC) (edited on 2021-08-24 16:26 (UTC) by MartinX3)

Package is probably broken until this gets fixed: https://github.com/ankitects/anki/issues/1338

Ah, fixed by removing the folder ~/.local/lib/python3.9/ Dunno why it was corrupted at my site.

MartinX3 commented on 2021-08-24 16:00 (UTC)

Perfect. I recommend to remove python2 from your system.

matejdro commented on 2021-08-24 06:46 (UTC)

Thanks. The issue for me was that pip was pointing to python 2.7 pip instead of the new one. python2 -m pip uninstall pip and then reinstalling python-pip package fixed the issue.

MartinX3 commented on 2021-08-22 10:09 (UTC)

@matejdro It builds here without this error. I think a python 2.7 package is hiding on your system and wants to survive. :P Or something you installed with pip systemwide.

But I get a different compile issue https://github.com/ankitects/anki/issues/1338

matejdro commented on 2021-08-22 09:36 (UTC) (edited on 2021-08-22 09:46 (UTC) by matejdro)

I'm getting this when I attempt to build. Any ideas?

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
ERROR: anki-2.1.47-cp38-abi3-manylinux2014_x86_64.whl is not a supported wheel on this platform.

It is weird that there is a warning message about Python 2.7 there because I have Python 3.9.6 installed.