Bug 1387442

Summary: run time failure due to failing to find the bugzilla module
Product: [Fedora] Fedora Reporter: Mary Jenner <maryjenner8>
Component: python-bugzillaAssignee: Cole Robinson <crobinso>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bazanluis20, crobinso, dzickus, itamar, jskarvad
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-11 13:27:41 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:

Description Mary Jenner 2016-10-20 22:05:47 UTC
Description of problem:


python-bugzilla uses python3 for the /usr/bin/bugzilla interpreter however the bugzilla module packaged is python2 only so when running bugzilla there is a run time failure due to failing to find the bugzilla module.

This bug was fixed in bug ID 1081594 with the release python-bugzilla-1.0.0-2.fc21. However, it comes back with the latest release python-bugzilla-1.2.2. I got error, "ImportError: No module named bugzilla". Below is the full error message.


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

Comment 1 Cole Robinson 2016-11-11 13:27:41 UTC

*** This bug has been marked as a duplicate of bug 1391284 ***