[Bug 260292] games/anki: Fails with no importlib_resources
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Dec 2021 15:19:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260292 Bug ID: 260292 Summary: games/anki: Fails with no importlib_resources Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kai@FreeBSD.org Reporter: ports@nicandneal.net Flags: maintainer-feedback?(kai@FreeBSD.org) Assignee: kai@FreeBSD.org As of 2021-12-09 Anki fails to run with the following stack trace: File "/usr/local/bin/anki", line 7, in <module> import aqt File "/usr/local/share/anki/aqt/__init__.py", line 54, in <module> from aqt.main import AnkiQt # isort:skip File "/usr/local/share/anki/aqt/main.py", line 48, in <module> from aqt.addons import DownloadLogEntry, check_and_prompt_for_updates, show_log_to_user File "/usr/local/share/anki/aqt/addons.py", line 18, in <module> import jsonschema File "/usr/local/lib/python3.8/site-packages/jsonschema/__init__.py", line 12, in <module> from jsonschema._format import ( File "/usr/local/lib/python3.8/site-packages/jsonschema/_format.py", line 7, in <module> from jsonschema.exceptions import FormatError File "/usr/local/lib/python3.8/site-packages/jsonschema/exceptions.py", line 11, in <module> from jsonschema import _utils File "/usr/local/lib/python3.8/site-packages/jsonschema/_utils.py", line 12, in <module> import importlib_resources as resources ModuleNotFoundError: No module named 'importlib_resources' Installing py38-importlib-resources seems to fix the problem. -- You are receiving this mail because: You are the assignee for the bug.