Bug 1633465

Summary: [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
Product: [Fedora] Fedora Reporter: Ben Beasley <code>
Component: borgbackupAssignee: Persona non grata <nobody+366555>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: fschwarz, nobody+366555, spamthemoe
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/de43fd26a74ba493bcb507b46c0aad65c00a28ec
Whiteboard: abrt_hash:bd7f611b54c61fed44d1db2abdc1ba23cbf6efa2;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-27 06:37:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

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 Halbritter 2018-10-19 10:15:27 UTC
*** Bug 1640976 has been marked as a duplicate of this bug. ***