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 1743784 - pywbemcli results in ModuleNotFoundError exception
Summary: pywbemcli results in ModuleNotFoundError exception
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pywbem
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gris Ge
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-20 16:37 UTC by Tony Asleson
Modified: 2019-09-22 02:25 UTC (History)
2 users (show)

Fixed In Version: pywbem-0.14.3-5.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-22 02:25:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tony Asleson 2019-08-20 16:37:06 UTC
Description of problem:

The correction for BZ 1724104 renamed wbemcli to pywbemcli which also renamed
wbemcli.py to pywbemcli.py.  This causes the wbem cli to become non-functional.


Version-Release number of selected component (if applicable):

pywbem-0.14.3-2.fc30

How reproducible:

100%


Steps to Reproduce:
Install pywbem-0.14.3-2.fc30, run pywbemcli

Actual results:

$ pywbemcli
Traceback (most recent call last):
  File "/usr/bin/pywbemcli", line 4, in <module>
    import wbemcli
ModuleNotFoundError: No module named 'wbemcli'


Expected results:
$ pywbemcli
usage: pywbemcli [options] server
pywbemcli: error: No WBEM server specified


Additional info:

Need to patch pywbemcli to:


#!/usr/bin/python3

import sys
import pywbemcli

sys.exit(pywbemcli._main())

Comment 1 Fedora Update System 2019-09-13 05:33:06 UTC
FEDORA-2019-0de68db85c has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0de68db85c

Comment 2 Fedora Update System 2019-09-14 03:39:37 UTC
pywbem-0.14.3-5.fc30 has been pushed to the Fedora 30 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-2019-0de68db85c

Comment 3 Fedora Update System 2019-09-22 02:25:21 UTC
pywbem-0.14.3-5.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.


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