Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Apr 2022 08:54:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 263413] pdfarranger - missing python dependency
Message-ID:  <bug-263413-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 263413
           Summary: pdfarranger - missing python dependency
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd@ny-central.org

FreeBSD 13-p11, all latest packages.

Starting pdfarranger leads to:

Traceback (most recent call last):
  File "/usr/local/bin/pdfarranger", line 33, in <module>
    sys.exit(load_entry_point('pdfarranger=3D=3D1.8.2', 'console_scripts',
'pdfarranger')())
  File "/usr/local/bin/pdfarranger", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/local/lib/python3.8/importlib/metadata.py", line 77, in load
    module =3D import_module(match.group('module'))
  File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_remo=
ved
  File "/usr/local/lib/python3.8/site-packages/pdfarranger/pdfarranger.py",
line 30, in <module>
    import pikepdf
  File "/usr/local/lib/python3.8/site-packages/pikepdf/__init__.py", line 1=
9,
in <module>
    from ._version import __version__
  File "/usr/local/lib/python3.8/site-packages/pikepdf/_version.py", line 7=
, in
<module>
    from pkg_resources import DistributionNotFound
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", =
line
3243, in <module>
    def _initialize_master_working_set():
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", =
line
3226, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", =
line
3255, in _initialize_master_working_set
    working_set =3D WorkingSet._build_master()
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", =
line
568, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", =
line
886, in require
    needed =3D self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", =
line
772, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'packaging>=3D20' distribution was =
not
found and is required by pikepdf

After installing py38-packaging, pdfarranger works. I assume, the port is
missing a dependency reference.

Please let me know, if you need any further details.

--=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-263413-7788>