Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Dec 2021 15:19:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 260292] games/anki: Fails with no importlib_resources
Message-ID:  <bug-260292-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260292

            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", l=
ine
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260292-7788>