Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1633465 - [abrt] borgbackup: resolve(): __init__.py:774:resolve:pkg_resources.DistributionNotFound: The 'msgpack-python!=0.5.0,!=0.5.1,!=0.5.2,!=0.5.3,!=0.5.4,!=0.5.5,<=0.5.6,>=0.4.6' distribution was not found and is required by borgbackup
Summary: [abrt] borgbackup: resolve(): __init__.py:774:resolve:pkg_resources.Distribut...
Keywords:
Status: CLOSED DUPLICATE of bug 1630992
Alias: None
Product: Fedora
Classification: Fedora
Component: borgbackup
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Benjamin Pereto
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:bd7f611b54c61fed44d1db2abdc...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-27 06:09 UTC by Ben Beasley
Modified: 2018-10-19 10:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-27 06:37:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (2.34 KB, text/plain)
2018-09-27 06:09 UTC, Ben Beasley
no flags Details
File: cgroup (399 bytes, text/plain)
2018-09-27 06:09 UTC, Ben Beasley
no flags Details
File: cpuinfo (971 bytes, text/plain)
2018-09-27 06:09 UTC, Ben Beasley
no flags Details
File: environ (5.40 KB, text/plain)
2018-09-27 06:09 UTC, Ben Beasley
no flags Details
File: mountinfo (4.68 KB, text/plain)
2018-09-27 06:09 UTC, Ben Beasley
no flags Details
File: namespaces (129 bytes, text/plain)
2018-09-27 06:09 UTC, Ben Beasley
no flags Details
File: open_fds (244 bytes, text/plain)
2018-09-27 06:09 UTC, Ben Beasley
no flags Details

Description Ben Beasley 2018-09-27 06:09:09 UTC
Description of problem:
Just type borg at a terminal.

python3-msgpack-0.5.6-5.fc28.x86_64 is installed

Version-Release number of selected component:
borgbackup-1.1.7-1.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 /usr/bin/borg
crash_function: resolve
exception_type: pkg_resources.DistributionNotFound
executable:     /usr/bin/borg
interpreter:    python3-3.6.6-1.fc28.x86_64
kernel:         4.18.9-200.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
__init__.py:774:resolve:pkg_resources.DistributionNotFound: The 'msgpack-python!=0.5.0,!=0.5.1,!=0.5.2,!=0.5.3,!=0.5.4,!=0.5.5,<=0.5.6,>=0.4.6' distribution was not found and is required by borgbackup

Traceback (most recent call last):
  File "/usr/bin/borg", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3095, in <module>
    @_call_aside
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3079, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 888, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 774, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'msgpack-python!=0.5.0,!=0.5.1,!=0.5.2,!=0.5.3,!=0.5.4,!=0.5.5,<=0.5.6,>=0.4.6' distribution was not found and is required by borgbackup

Local variables in innermost frame:
new_requirement: Requirement.parse('msgpack-python!=0.5.0,!=0.5.1,!=0.5.2,!=0.5.3,!=0.5.4,!=0.5.5,<=0.5.6,>=0.4.6')
new_requirements: [Requirement.parse('msgpack-python!=0.5.0,!=0.5.1,!=0.5.2,!=0.5.3,!=0.5.4,!=0.5.5,<=0.5.6,>=0.4.6')]
requirers: {'borgbackup'}
ws: <pkg_resources.WorkingSet object at 0x7f5479230518>
dist: None
req: Requirement.parse('msgpack-python!=0.5.0,!=0.5.1,!=0.5.2,!=0.5.3,!=0.5.4,!=0.5.5,<=0.5.6,>=0.4.6')
required_by: defaultdict(<class 'set'>, {Requirement.parse('msgpack-python!=0.5.0,!=0.5.1,!=0.5.2,!=0.5.3,!=0.5.4,!=0.5.5,<=0.5.6,>=0.4.6'): {'borgbackup'}})
req_extras: {Requirement.parse('msgpack-python!=0.5.0,!=0.5.1,!=0.5.2,!=0.5.3,!=0.5.4,!=0.5.5,<=0.5.6,>=0.4.6'): ()}
to_activate: [borgbackup 1.1.7 (/usr/lib64/python3.6/site-packages)]
best: {'msgpack-python': None}
processed: {Requirement.parse('borgbackup==1.1.7'): True}
extras: None
replace_conflicting: False
installer: None
env: <pkg_resources.Environment object at 0x7f54791f3d30>
requirements: []
self: <pkg_resources.WorkingSet object at 0x7f5479230518>

Comment 1 Ben Beasley 2018-09-27 06:09:14 UTC
Created attachment 1487603 [details]
File: backtrace

Comment 2 Ben Beasley 2018-09-27 06:09:15 UTC
Created attachment 1487604 [details]
File: cgroup

Comment 3 Ben Beasley 2018-09-27 06:09:16 UTC
Created attachment 1487605 [details]
File: cpuinfo

Comment 4 Ben Beasley 2018-09-27 06:09:17 UTC
Created attachment 1487606 [details]
File: environ

Comment 5 Ben Beasley 2018-09-27 06:09:18 UTC
Created attachment 1487607 [details]
File: mountinfo

Comment 6 Ben Beasley 2018-09-27 06:09:19 UTC
Created attachment 1487608 [details]
File: namespaces

Comment 7 Ben Beasley 2018-09-27 06:09:20 UTC
Created attachment 1487609 [details]
File: open_fds

Comment 9 Felix Schwarz 2018-09-27 06:37:02 UTC
Good news: The bug is already known and fixed in Fedora's git. An updated package is on the way to the stable repository ( https://bodhi.fedoraproject.org/updates/FEDORA-2018-e7aa6d923f ).

*** This bug has been marked as a duplicate of bug 1630992 ***

Comment 10 Moritz Kammerer 2018-10-19 10:15:27 UTC
*** Bug 1640976 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.