Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 771336 - app-text/pdfarranger-1.7.0 requires dev-python/python-dateutil
Summary: app-text/pdfarranger-1.7.0 requires dev-python/python-dateutil
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-18 19:04 UTC by Nathan Zachary (RETIRED)
Modified: 2021-02-25 12:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Zachary (RETIRED) gentoo-dev 2021-02-18 19:04:07 UTC
After updating to pdfarranger-1.7.0, it failed to run with the following error message:

>>>>>
$ pdfarranger 
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.7/pdfarranger", line 10, in <module>
    from importlib.metadata import distribution
ModuleNotFoundError: No module named 'importlib.metadata'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.7/pdfarranger", line 13, in <module>
    from importlib_metadata import distribution
ModuleNotFoundError: No module named 'importlib_metadata'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.7/pdfarranger", line 15, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3242, in <module>
    @_call_aside
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 568, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 886, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 772, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'python-dateutil>=2.4.0' distribution was not found and is required by pdfarranger
>>>>>

Simply enough, emerging dev-python/python-dateutil fixed the problem.

Cheers,
Nathan Zachary
Comment 1 Larry the Git Cow gentoo-dev 2021-02-25 12:17:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d57567b6245b55a7d14a0ad565e3ff872d8ea59f

commit d57567b6245b55a7d14a0ad565e3ff872d8ea59f
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2021-02-25 12:16:16 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2021-02-25 12:16:56 +0000

    app-text/pdfarranger: depend on dev-python/python-dateutil
    
    Closes: https://bugs.gentoo.org/771336
    Package-Manager: Portage-3.0.15, Repoman-3.0.2
    Signed-off-by: Andrey Grozin <grozin@gentoo.org>

 app-text/pdfarranger/pdfarranger-1.7.0.ebuild | 1 +
 1 file changed, 1 insertion(+)