Bug 823599 - python-bugzilla query unusable
Summary: python-bugzilla query unusable
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-bugzilla
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Will Woods
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 823510 829517 (view as bug list)
Depends On:
Blocks: BZ42
TreeView+ depends on / blocked
 
Reported: 2012-05-21 15:48 UTC by Dean Jansa
Modified: 2013-01-10 06:47 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-17 22:21:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dean Jansa 2012-05-21 15:48:18 UTC
Description of problem:

python 'bugzilla' query no longer works post upgrade.
I noted a message from Michal Novotny regarding a patched python-bugzilla:

"Also, there are some changes that broke the the XML-RPC and
python-bugzilla therefore. I'm having having a patched version but not
100% tested yet since there were still some issues and I personally need
the python-bugzilla for patch maintenance scripts however my version of
repository (i.e. including my patch) is available at:

http://git.engineering.redhat.com/?p=users/minovotn/python-bugzilla.git"

I pulled the fix and still can not run any existing script which uses query.


I get the following error:


Traceback (most recent call last):
  File "/usr/bin/bugzilla", line 805, in <module>
    main()
  File "/usr/bin/bugzilla", line 576, in main
    buglist = bz.query(q)
  File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 530, in query
    r = self._query(query)
  File "/usr/lib/python2.7/site-packages/bugzilla/bugzilla4.py", line 154, in _query
    query['include_fields'] = query['column_list']
KeyError: 'column_list'

Comment 1 Dean Jansa 2012-05-21 15:51:57 UTC
Prior to using the patched version this was the error I was getting:


Server error: <Fault 53: 'value1-0-0 is not a valid parameter for the Bugzilla::Bug::match function.'>

Server error: <Fault 53: 'type4-0-0 is not a valid parameter for the Bugzilla::Bug::match function.'>

Comment 2 Cole Robinson 2012-06-06 23:16:08 UTC
*** Bug 823510 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2012-06-06 23:18:33 UTC
python-bugzilla-0.7.0-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/python-bugzilla-0.7.0-1.fc17

Comment 4 Cole Robinson 2012-06-07 13:35:24 UTC
*** Bug 829517 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2012-06-07 23:03:31 UTC
Package python-bugzilla-0.7.0-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-bugzilla-0.7.0-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-9054/python-bugzilla-0.7.0-1.fc17
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2012-06-17 22:21:15 UTC
python-bugzilla-0.7.0-1.fc17 has been pushed to the Fedora 17 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.