Bug 982701

Summary: [abrt] ovirt-engine-cli-3.2.0.12-1.fc17: pkg_resources.py:588:resolve:DistributionNotFound: pexpect-u>=2.3
Product: [Fedora] Fedora Reporter: Soeren Grunewald <soeren.grunewald>
Component: ovirt-engine-cliAssignee: Ofer Schreiber <oschreib>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: iheim, jas, jdy, juan.hernandez, mpastern, oschreib
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:0f4b95a862be50ca086de69985481866517586b3
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-01 06:24:32 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: core_backtrace
none
File: environ none

Description Soeren Grunewald 2013-07-09 15:34:26 UTC
Description of problem:
Just typed:
$  ovirt-shell --help

Version-Release number of selected component:
ovirt-engine-cli-3.2.0.12-1.fc17

Additional info:
cmdline:        /usr/bin/python /usr/bin/ovirt-shell --help
dso_list:       python-setuptools-0.6.27-2.fc17.noarch
executable:     /usr/bin/ovirt-shell
kernel:         3.9.7-100.fc17.x86_64
runlevel:       N 5
uid:            1000
ureports_counter: 1

Truncated backtrace:
pkg_resources.py:588:resolve:DistributionNotFound: pexpect-u>=2.3

Traceback (most recent call last):
  File "/usr/bin/ovirt-shell", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2735, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 690, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 588, in resolve
    raise DistributionNotFound(req)
DistributionNotFound: pexpect-u>=2.3

Local variables in innermost frame:
dist: None
to_activate: [ovirt-shell 3.2.0.12-SNAPSHOT (/usr/lib/python2.7/site-packages), kitchen 1.1.1 (/usr/lib/python2.7/site-packages), ply 3.4 (/usr/lib/python2.7/site-packages)]
req: Requirement.parse('pexpect-u>=2.3')
requirements: [Requirement.parse('ovirt-engine-sdk>=3.2.0.11-SNAPSHOT')]
processed: {Requirement.parse('ply>=3.3'): True, Requirement.parse('kitchen>=1'): True, Requirement.parse('ovirt-shell==3.2.0.12-SNAPSHOT'): True}
env: <pkg_resources.Environment object at 0x2586fd0>
installer: None
self: <pkg_resources.WorkingSet object at 0x2577f50>
best: {'pexpect-u': None}
replacement: True

Comment 1 Soeren Grunewald 2013-07-09 15:34:32 UTC
Created attachment 771098 [details]
File: backtrace

Comment 2 Soeren Grunewald 2013-07-09 15:34:37 UTC
Created attachment 771099 [details]
File: core_backtrace

Comment 3 Soeren Grunewald 2013-07-09 15:34:40 UTC
Created attachment 771100 [details]
File: environ

Comment 4 jas 2013-07-12 19:52:52 UTC
Just to note that the same error occurs under RHEL6 with the 3.2 ovirt-engine-cli RPM..

# ovirt-shell --help
Traceback (most recent call last):
  File "/usr/bin/ovirt-shell", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pexpect-u>=2.3

Comment 5 jas 2013-07-12 19:58:26 UTC
In addition, while not the "answer", this resolved the error for me:

easy_install  http://pypi.python.org/packages/3.2/p/pexpect-u/pexpect_u-2.5.1-py3.2.egg

Comment 6 Fedora End Of Life 2013-08-01 06:24:37 UTC
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.