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 1473961

Summary: [abrt] khard: resolve(): __init__.py:857:resolve:pkg_resources.DistributionNotFound: The 'vobject==0.9.2' distribution was not found and is required by khard
Product: [Fedora] Fedora Reporter: George Nikandrov <gnikandrov+fedora>
Component: khardAssignee: Sebastian Dyroff <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: fedora, fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/00e9c5b95c077fcbfb59f6205321958a6563b824
Whiteboard: abrt_hash:d5449e58ea7d54be81261ff458e82aedd45ac0ba;
Fixed In Version: khard-0.11.4-1.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-25 23:07:59 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 George Nikandrov 2017-07-22 19:12:53 UTC
Description of problem:
Fedora 26, problem occurs during the first run.
Happens in fresh installation of F26 too.

Version-Release number of selected component:
khard-0.11.3-3.fc26

Additional info:
reporter:       libreport-2.9.1
cmdline:        /usr/bin/python3 /usr/bin/khard
crash_function: resolve
exception_type: pkg_resources.ContextualVersionConflict
executable:     /usr/bin/khard
kernel:         4.11.11-300.fc26.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
__init__.py:857:resolve:pkg_resources.DistributionNotFound: The 'vobject==0.9.2' distribution was not found and is required by khard

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 657, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 971, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 862, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (vobject 0.9.4.1 (/usr/lib/python3.6/site-packages), Requirement.parse('vobject==0.9.2'), {'khard'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/khard", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3038, in <module>
    @_call_aside
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3022, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3051, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 659, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 672, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 857, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'vobject==0.9.2' distribution was not found and is required by khard

Local variables in innermost frame:
new_requirement: Requirement.parse('atomicwrites')
new_requirements: [Requirement.parse('vobject==0.9.2'), Requirement.parse('pyyaml'), Requirement.parse('configobj'), Requirement.parse('atomicwrites')]
requirers: {'khard'}
ws: <pkg_resources.WorkingSet object at 0x7f7e51ed49b0>
dist: None
req: Requirement.parse('vobject==0.9.2')
required_by: defaultdict(<class 'set'>, {Requirement.parse('vobject==0.9.2'): {'khard'}, Requirement.parse('pyyaml'): {'khard'}, Requirement.parse('configobj'): {'khard'}, Requirement.parse('atomicwrites'): {'khard'}})
req_extras: {Requirement.parse('vobject==0.9.2'): (), Requirement.parse('pyyaml'): (), Requirement.parse('configobj'): (), Requirement.parse('atomicwrites'): ()}
to_activate: [khard 0.11.3 (/usr/lib/python3.6/site-packages)]
best: {'khard': khard 0.11.3 (/usr/lib/python3.6/site-packages), 'vobject': None}
processed: {Requirement.parse('khard==0.11.3'): True}
extras: None
replace_conflicting: False
installer: None
env: <pkg_resources.Environment object at 0x7f7e51ed4828>
requirements: [Requirement.parse('pyyaml'), Requirement.parse('configobj'), Requirement.parse('atomicwrites')]
self: <pkg_resources.WorkingSet object at 0x7f7e51ed49b0>

Comment 1 George Nikandrov 2017-07-22 19:13:00 UTC
Created attachment 1302897 [details]
File: backtrace

Comment 2 George Nikandrov 2017-07-22 19:13:02 UTC
Created attachment 1302898 [details]
File: cgroup

Comment 3 George Nikandrov 2017-07-22 19:13:03 UTC
Created attachment 1302899 [details]
File: cpuinfo

Comment 4 George Nikandrov 2017-07-22 19:13:05 UTC
Created attachment 1302900 [details]
File: environ

Comment 5 George Nikandrov 2017-07-22 19:13:06 UTC
Created attachment 1302901 [details]
File: mountinfo

Comment 6 George Nikandrov 2017-07-22 19:13:08 UTC
Created attachment 1302902 [details]
File: namespaces

Comment 7 George Nikandrov 2017-07-22 19:13:09 UTC
Created attachment 1302903 [details]
File: open_fds

Comment 8 Sebastian Dyroff 2017-07-25 20:19:47 UTC
I think it might be fixed by a new upstream version. I am preparing an update

Comment 9 Fedora Update System 2017-07-25 20:30:12 UTC
khard-0.11.4-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-e61f4d96b9

Comment 10 Fedora Update System 2017-07-27 02:52:24 UTC
khard-0.11.4-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-e61f4d96b9

Comment 11 Fedora Update System 2017-10-25 23:07:59 UTC
khard-0.11.4-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.