Package Details: anki-bin 23.12.1-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: Grafcube (escape0707)
Last Packager: escape0707
Votes: 99
Popularity: 4.31
First Submitted: 2021-10-21 08:27 (UTC)
Last Updated: 2023-12-29 12:49 (UTC)

Latest Comments

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

debnath commented on 2024-01-16 07:05 (UTC) (edited on 2024-01-16 07:28 (UTC) by debnath)

@escape0707

Could you please share a method to reproduce that error? (I was't constantly using Anki recently so I didn't tried recent versions except for whether it runs.)

  1. I'm using the kde-unstable repository.
  2. Install anki-bin with yay -S anki-bin.
  3. Run anki from the terminal.
  4. See the error.

Did you perform a system upgrade while Anki is already running and didn't rerun it so that you run into this problem?

No

What solution have you tried?

Couldn't think of anything to try other than reporting it here.

Does restarting the app or reboot your system solve it?

No. The problem persists.

Possibly related issue: https://github.com/qutebrowser/qutebrowser/issues/8046

That's quite possible. My system has qt 6.7.0beta1 since I'm using the kde-unstable repository.

EDIT: Additional info: I tried the anki AUR package and I still get exactly the same error.

escape0707 commented on 2024-01-14 07:42 (UTC) (edited on 2024-01-14 07:51 (UTC) by escape0707)

@debnath Could you please share a method to reproduce that error? (I was't constantly using Anki recently so I didn't tried recent versions except for whether it runs.)

Did you perform a system upgrade while Anki is already running and didn't rerun it so that you run into this problem? What solution have you tried? Does restarting the app or reboot your system solve it?

Possibly related issue: https://github.com/qutebrowser/qutebrowser/issues/8046

debnath commented on 2024-01-13 13:44 (UTC)

Getting this error:

Traceback (most recent call last):
  File "/usr/bin/anki", line 17, in <module>
    import aqt
  File "/usr/lib/python3.11/site-packages/aqt/__init__.py", line 52, in <module>
    from aqt import gui_hooks
  File "/usr/lib/python3.11/site-packages/aqt/gui_hooks.py", line 11, in <module>
    from _aqt.hooks import *
  File "/usr/lib/python3.11/site-packages/_aqt/hooks.py", line 18, in <module>
    from aqt.qt import QDialog, QEvent, QMenu, QModelIndex, QWidget, QMimeData
  File "/usr/lib/python3.11/site-packages/aqt/qt/__init__.py", line 20, in <module>
    from .qt6 import *
  File "/usr/lib/python3.11/site-packages/aqt/qt/qt6.py", line 15, in <module>
    from PyQt6.QtGui import *  # type: ignore[misc,assignment]
    ^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: /usr/lib/python3.11/site-packages/PyQt6/QtGui.abi3.so: undefined symbol: _ZN5QFont11tagToStringEj, version Qt_6

prometheus commented on 2023-11-11 16:53 (UTC)

@escape0707

Hi. I have already tried all those steps to no avail when I posted that comment. In the meantime I used "Anki Official Bundle" AUR package. But looks like it disappeared.

But I am happy to report that now this package, anki-bin, is working without issue. Thank you for your work!

escape0707 commented on 2023-11-11 14:22 (UTC)

@fmang Double-check your system package dependency.

$ pactree -r xcb-util-cursor | head -n4
xcb-util-cursor
└─qt6-base
  ├─python-pyqt6
  │ ├─anki-bin

fmang commented on 2023-11-02 10:08 (UTC)

When attempting to run anki, the application refused to start because of the following error:

Qt debug: "/usr/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so" cannot load: Cannot load library /usr/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so: (libxcb-cursor.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)

This got solved by installing xcb-util-cursor.

escape0707 commented on 2023-09-25 00:24 (UTC)

@prometheus I've never encountered your problem.

But due to some Googling, I'd suggest you fully upgrade your system, then try to rebuild and reinstall this package to see if this solves your issue.

Please do report back the result.

escape0707 commented on 2023-09-25 00:20 (UTC) (edited on 2023-11-01 02:29 (UTC) by escape0707)

@AsukaMinato Thank you for adding these amazing features to Anki!

Normally, a -bin package shouldn't follow the upstream beta channel, but since you joined the development of Anki and contributed significant features to the latest beta release, could you please tell me if it's suitable to follow the beta tag this time? Like, is it stable enough to let everyone upgrade to 23.10 right now?

prometheus commented on 2023-09-23 07:44 (UTC)

Doesn't start:

❯ anki
/usr/lib/python3.11/site-packages/google/protobuf/internal/api_implementation.py:110: UserWarning: Selected implementation cpp is not available.
  warnings.warn(
Traceback (most recent call last):
  File "/usr/bin/anki", line 17, in <module>
    import aqt
  File "/usr/lib/python3.11/site-packages/aqt/__init__.py", line 40, in <module>
    import anki.lang
  File "/usr/lib/python3.11/site-packages/anki/lang.py", line 12, in <module>
    import anki._backend
  File "/usr/lib/python3.11/site-packages/anki/_backend.py", line 14, in <module>
    from anki import _rsbridge, backend_pb2, i18n_pb2
  File "/usr/lib/python3.11/site-packages/anki/backend_pb2.py", line 5, in <module>
    from google.protobuf.internal import builder as _builder
  File "/usr/lib/python3.11/site-packages/google/protobuf/internal/builder.py", line 41, in <module>
    from google.protobuf.internal import python_message
  File "/usr/lib/python3.11/site-packages/google/protobuf/internal/python_message.py", line 61, in <module>
    from google.protobuf.internal import decoder
  File "/usr/lib/python3.11/site-packages/google/protobuf/internal/decoder.py", line 87, in <module>
    from google.protobuf.internal import encoder
  File "/usr/lib/python3.11/site-packages/google/protobuf/internal/encoder.py", line 71, in <module>
    from google.protobuf.internal import wire_format
  File "/usr/lib/python3.11/site-packages/google/protobuf/internal/wire_format.py", line 36, in <module>
    from google.protobuf import descriptor
  File "/usr/lib/python3.11/site-packages/google/protobuf/descriptor.py", line 51, in <module>
    from google.protobuf.pyext import _message
ImportError: /usr/lib/python3.11/site-packages/google/protobuf/pyext/_message.cpython-311-x86_64-linux-gnu.so: undefined symbol: _ZN4absl12lts_2023080212log_internal10LogMessage19CopyToEncodedBufferILNS2_10StringTypeE0EEEvSt17basic_string_viewIcSt11char_traitsIcEE

kuklinistvan commented on 2023-06-25 18:41 (UTC)

@Ignotum thank you for your kind words! Yeah, the original build process can be resource intensive.