Bug 905529

Summary: [abrt] python-bugzilla-0.7.0-3.fc18: bugzilla:730:bug_field:TypeError: sequence item 0: expected string, int found
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: python-bugzillaAssignee: Will Woods <wwoods>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: crobinso, dzickus, jskarvad, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:dca89c15758db8a85df78fb9bced02ecefeb55a1
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-22 21:01:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ none

Description Kamil Páral 2013-01-29 15:34:30 UTC
Description of problem:
$ bugzilla query --product Fedora --version 18 --reporter kparal --boolean_query 'creation_ts-changedafter-2012-11-29T00:00:00 & creation_ts-changedbefore-2013-01-15T23:59:59' --outputformat='%{id};%{reporter};%{status};%{resolution};%{status_whiteboard};%{blocked}'

Version-Release number of selected component:
python-bugzilla-0.7.0-3.fc18

Additional info:
cmdline:        /usr/bin/python /usr/bin/bugzilla query --product Fedora --version 18 --reporter kparal --boolean_query 'creation_ts-changedafter-2012-11-29T00:00:00 & creation_ts-changedbefore-2013-01-15T23:59:59' --outputformat=%{id};%{reporter};%{status};%{resolution};%{status_whiteboard};%{blocked}
executable:     /usr/bin/bugzilla
kernel:         3.7.4-204.fc18.x86_64
uid:            1000

Truncated backtrace:
bugzilla:730:bug_field:TypeError: sequence item 0: expected string, int found

Traceback (most recent call last):
  File "/usr/bin/bugzilla", line 813, in <module>
    main()
  File "/usr/bin/bugzilla", line 736, in main
    print format_field_re.sub(bug_field,opt.outputformat)
  File "/usr/bin/bugzilla", line 730, in bug_field
    val = ','.join(val)
TypeError: sequence item 0: expected string, int found

Local variables in innermost frame:
b: <Bug #881670 on https://bugzilla.redhat.com/xmlrpc.cgi at 0x7f3985faf1d0>
val: [752665]
matchobj: <_sre.SRE_Match object at 0x267b7a0>
special_fields: {'flag': <function <lambda> at 0x26f1140>, 'whiteboard': <function <lambda> at 0x26f1230>}
rest: None
fieldname: 'blocked'

Comment 1 Kamil Páral 2013-01-29 15:34:34 UTC
Created attachment 689883 [details]
File: backtrace

Comment 2 Kamil Páral 2013-01-29 15:34:37 UTC
Created attachment 689884 [details]
File: core_backtrace

Comment 3 Kamil Páral 2013-01-29 15:34:39 UTC
Created attachment 689885 [details]
File: environ

Comment 4 Cole Robinson 2013-02-01 15:42:14 UTC
Thanks for the report, even with all the recent cleanup that was still an issue upstream. Fixed now:

http://git.fedorahosted.org/cgit/python-bugzilla.git/commit/?id=5835e37b79e2f14248670be88c1bd88014d674c7

Comment 5 Fedora Update System 2013-02-16 15:21:37 UTC
python-bugzilla-0.8.0-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/python-bugzilla-0.8.0-1.fc18

Comment 6 Fedora Update System 2013-03-04 22:13:30 UTC
python-bugzilla-0.8.0-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/python-bugzilla-0.8.0-2.fc18

Comment 7 Fedora Update System 2013-03-05 23:25:27 UTC
Package python-bugzilla-0.8.0-2.fc18:
* should fix your issue,
* was pushed to the Fedora 18 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.8.0-2.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3447/python-bugzilla-0.8.0-2.fc18
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-03-22 21:01:19 UTC
python-bugzilla-0.8.0-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.