Anki add-on updates are crashing via Flatpak

Hi,

I’m not sure whether this is a problem specifically with Anki or with the set of add-ons I’m using. I have Anki 25.09.05 installed on Fedora Workstation 43. For some time now, the system has been reporting that there is an update available for the “Anki MCP Server” add-on. Attempting to update this add-on results in the error shown below. It seems the problem is the absence of the rpds.rpds module in the Flatpak environment supplied with Anki. Should I report this issue as a bug in the official GitHub repository for the Anki project, or for the Anki MCP Server add-on?

Anki 26.05 (e64c6b1a) (ao)
Python 3.13.13 Qt 6.10.3 PyQt 6.10.2
Platform: Linux-7.0.12-101.fc43.x86_64-x86_64-with-glibc2.42

Traceback (most recent call last):
  File "/app/lib/python3.13/site-packages/aqt/taskman.py", line 152, in raise_exception
    raise exception
  File "/app/lib/python3.13/site-packages/aqt/taskman.py", line 148, in _on_closures_pending
    closure()
    ~~~~~~~^^
  File "/app/lib/python3.13/site-packages/aqt/taskman.py", line 88, in <lambda>
    lambda future: self.run_on_main(lambda: on_done(future))
                                            ~~~~~~~^^^^^^^^
  File "/app/lib/python3.13/site-packages/aqt/addons.py", line 1279, in _download_done
    future.result()
    ~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/concurrent/futures/_base.py", line 449, in result
    return self.__get_result()
           ~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/usr/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/app/lib/python3.13/site-packages/aqt/addons.py", line 1256, in <lambda>
    lambda: self._download_all(force_enable), self._download_done
            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/app/lib/python3.13/site-packages/aqt/addons.py", line 1272, in _download_all
    download_and_install_addon(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self.mgr, self.client, id, force_enable=force_enable
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/app/lib/python3.13/site-packages/aqt/addons.py", line 1217, in download_and_install_addon
    result2 = mgr.install(
        io.BytesIO(result.data), manifest=manifest, force_enable=force_enable
    )
  File "/app/lib/python3.13/site-packages/aqt/addons.py", line 461, in install
    file_manifest = self.readManifestFile(zfile)
  File "/app/lib/python3.13/site-packages/aqt/addons.py", line 431, in readManifestFile
    import jsonschema
  File "/home/piotrek/.var/app/net.ankiweb.Anki/data/Anki2/addons21/124672614/vendor/shared/jsonschema/__init__.py", line 13, in <module>
    from jsonschema._format import FormatChecker
  File "/home/piotrek/.var/app/net.ankiweb.Anki/data/Anki2/addons21/124672614/vendor/shared/jsonschema/_format.py", line 11, in <module>
    from jsonschema.exceptions import FormatError
  File "/home/piotrek/.var/app/net.ankiweb.Anki/data/Anki2/addons21/124672614/vendor/shared/jsonschema/exceptions.py", line 15, in <module>
    from referencing.exceptions import Unresolvable as _Unresolvable
  File "/home/piotrek/.var/app/net.ankiweb.Anki/data/Anki2/addons21/124672614/vendor/shared/referencing/__init__.py", line 5, in <module>
    from referencing._core import Anchor, Registry, Resource, Specification
  File "/home/piotrek/.var/app/net.ankiweb.Anki/data/Anki2/addons21/124672614/vendor/shared/referencing/_core.py", line 9, in <module>
    from rpds import HashTrieMap, HashTrieSet, List
  File "/home/piotrek/.var/app/net.ankiweb.Anki/data/Anki2/addons21/124672614/vendor/shared/rpds/__init__.py", line 1, in <module>
    from .rpds import *
ModuleNotFoundError: No module named 'rpds.rpds'

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Anki MCP Server ['124672614', 2026-06-18T15:08, 'None', '']
AnkiConnect ['2055492159', 2025-11-09T20:40, 'None', '']
Minimize to tray ['85158043', 2025-11-16T20:38, 'None', mod]

===IDs of active AnkiWeb add-ons===
124672614 2055492159 85158043

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])


Best regards,
Piotr Minkina

Is it

or

?

Looks like an add-on fix was released: rpds ModuleNotFoundError on Windows / Linux-aarch64 / macOS-Intel — vendored bundle ships wrong-platform binaries (exposed by Anki 26.05) · Issue #54 · ankimcp/anki-mcp-server-addon · GitHub

Note that the Flatpak build is not official. If you can’t reproduce the issue with the official build linked at https://apps.ankiweb.net you’ll need to report this to the Flatpak maintainers.

You’re right, I have Anki ⁨26.05 (e64c6b1a)⁩. I’m sorry for the mistake.

Unfortunately, this fix doesn’t solve the problem for me, but thanks for the tip. I’ve added my name to the issue report with the maintainer of this add-on, and if necessary, I’ll report the problem to the maintainers of the Flatpak package afterwards.