Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): bugzilla --version 1.2.2 python --version Python 2.7.5 OS: CentOS Linux release 7.2.1511 (Core) I installed gitzilla, pybugz and python-bugzilla 1.2.2. Per the link, https://pypi.python.org/pypi/python-bugzilla/1.2.2, it claims python-bugzilla has a module named bugzilla. ‘bugzilla’ python module for talking to a [Bugzilla](https://www.bugzilla.org/) instance over XMLRPC /usr/bin/bugzilla command line tool for performing actions from the command line: create or edit bugs, various queries, etc. However, I got "ImportError: No module named bugzilla" when I git push. Below are error messages. remote: Traceback (most recent call last): remote: File "/home/git/local/VREF/update", line 9, in <module> remote: load_entry_point('gitzilla==2.0', 'console_scripts', 'gitzilla-update')() remote: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point remote: return get_distribution(dist).load_entry_point(group, name) remote: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point remote: return ep.load() remote: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load remote: entry = __import__(self.module_name, globals(),globals(), ['__name__']) remote: File "build/bdist.linux-x86_64/egg/gitzilla/hookscripts.py", line 12, in <module> remote: File "build/bdist.linux-x86_64/egg/gitzilla/hooks.py", line 9, in <module> remote: File "build/bdist.linux-x86_64/egg/gitzilla/utils.py", line 10, in <module> remote: ImportError: No module named bugzilla It seems like module named bugzilla does not exist.
I installed pybugz and elementtree-1.2.6. But, I still got, "ImportError: No module named bugzilla" too. It tries to "import bugz.bugzilla" in the file utils.py. So, where is "bugz.bugzilla"?
I think gitzilla is out of date. Check rpm -ql of pybugz, it doesn't have a bugz.bugzilla module on f25. Either way this seems independent of python-bugzilla, which provides the top level 'import bugzilla'. Anything referencing 'bugz' is probably pybugz doing
*** Bug 1387442 has been marked as a duplicate of this bug. ***