Bug 1127309
| Summary: | rdopkg version 0.18 fails to find rdoupdate.bsources.koji_ | ||
|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Ryan Brown <rybrown> |
| Component: | rdopkg | Assignee: | Jakub Ruzicka <jruzicka> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | bnemec, mrunge |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-06-29 18:43:25 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Looks like just a typo. I worked around it by symlinking /usr/lib/python2.7/site-packages/rdoupdate/bsources/_koji.py to /usr/lib/python2.7/site-packages/rdoupdate/bsources/koji_.py I have no idea how this happend, but there are two python-rdoupdate-0.11 builds in the wild, one with bad module name. I updated python-rdoupdate to 0.12 to fix this problem, just `yum update python-rdoupdate`. Sorry! |
Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Install rdopkg-0.18-1.fc20.noarch 2. Run "rdopkg --version" Actual results: Traceback (most recent call last): File "/usr/bin/rdopkg", line 9, in <module> load_entry_point('rdopkg==0.18', 'console_scripts', 'rdopkg')() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 357, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2394, in load_entry_point return ep.load() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2108, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/lib/python2.7/site-packages/rdopkg/shell.py", line 10, in <module> import core File "/usr/lib/python2.7/site-packages/rdopkg/core.py", line 7, in <module> import actions File "/usr/lib/python2.7/site-packages/rdopkg/actions.py", line 4, in <module> import rdoupdate.core File "/usr/lib/python2.7/site-packages/rdoupdate/core.py", line 12, in <module> import plug File "/usr/lib/python2.7/site-packages/rdoupdate/plug.py", line 35, in <module> import_fetchers() File "/usr/lib/python2.7/site-packages/rdoupdate/plug.py", line 32, in import_fetchers import_pyfiles(bsrc_dir) File "/usr/lib/python2.7/site-packages/rdoupdate/plug.py", line 23, in import_pyfiles m = import_file(pyfile) File "/usr/lib/python2.7/site-packages/rdoupdate/plug.py", line 14, in import_file return imp.load_module(name, file, filename, data) File "/usr/lib/python2.7/site-packages/rdoupdate/bsources/brew.py", line 1, in <module> from rdoupdate.bsources.koji_ import KojiSource ImportError: No module named koji_ Expected results: Output of version Additional info: