Bug 1387442 - run time failure due to failing to find the bugzilla module
Summary: run time failure due to failing to find the bugzilla module
Keywords:
Status: CLOSED DUPLICATE of bug 1391284
Alias: None
Product: Fedora
Classification: Fedora
Component: python-bugzilla
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-20 22:05 UTC by Mary Jenner
Modified: 2016-11-11 13:27 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-11-11 13:27:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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