Bug 997002
Summary: | long_desc not included in query | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Steve Tyler <stephent98> |
Component: | python-bugzilla | Assignee: | Will Woods <wwoods> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | bugs.michael, crobinso, dzickus, jskarvad, stephent98, wwoods |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-bugzilla-1.0.0-2.fc19 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-04-09 00:56:07 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: | |
Embargoed: |
Description
Steve Tyler
2013-08-14 13:09:10 UTC
Thanks for the report, fixed upstream: https://git.fedorahosted.org/cgit/python-bugzilla.git/commit/?id=905f43840a39e9891ce077abbac91e293e5eec21 Thanks. I'm trying to test it, but I get the following error. Do I need to configure anything else? $ PYTHONPATH=$(pwd)/bugzilla ./bin/bugzilla query -c anaconda -t NEW,ASSIGNED --long_desc="no such string $(uuidgen)" Server error: <Fault 53: 'long_desc is not a valid parameter for the Bugzilla::Bug::match function.'> The directory contains bin/ and bugzilla/ as extracted from the tar file. python-bugzilla-905f43840a39e9891ce077abbac91e293e5eec21.tar.bz2 downloaded from: https://git.fedorahosted.org/cgit/python-bugzilla.git/commit/?id=905f43840a39e9891ce077abbac91e293e5eec21 Pylint reports several errors. This one is a definite positive: E:691,56:_convert_to_outputformat: Undefined variable 'opt' $ pylint -E bugzilla No config file found, using default configuration ************* Module bugzilla E: 84,47:setup_parser: Module 'bugzilla' has no '__version__' member E: 93,50:setup_parser: Module 'bugzilla' has no 'classlist' member E:436,16:generate_man_page: Module 'bugzilla' has no '__version__' member E:691,56:_convert_to_outputformat: Undefined variable 'opt' E:1025,18:main: Module 'bugzilla' has no 'Bugzilla' member E:1026,30:main: Module 'bugzilla' has no 'classlist' member E:1030,55:main: Module 'bugzilla' has no 'classlist' member (In reply to Steve Tyler from comment #3) > Pylint reports several errors. This one is a definite positive: > E:691,56:_convert_to_outputformat: Undefined variable 'opt' ... Bug 997575 - [pylint] E:685,56:_convert_to_outputformat: Undefined variable 'opt' Running from git is a bit annoying, you have to do PYTHONPATH=. bin/bugzilla ... Thanks. That works as expected: $ PYTHONPATH=. ./bin/bugzilla query -c anaconda -t NEW,ASSIGNED --long_desc="no such string $(uuidgen)" | wc -l 0 $ PYTHONPATH=. ./bin/bugzilla query -c anaconda -t NEW,ASSIGNED | wc -l 698 $ PYTHONPATH=. ./bin/bugzilla --debug query -c anaconda -t NEW,ASSIGNED --long_desc="no such string $(uuidgen)" ... [10:37:17] DEBUG (base:982) Calling Bug.search with: {'longdesc_type': 'allwordssubstr', 'query_format': 'advanced', 'bug_status': ['NEW', 'ASSIGNED'], 'component': ['anaconda'], 'longdesc': 'no such string 146ea272-2071-4f1b-bac9-c9fc7a2c2486', 'include_fields': ['assigned_to', 'id', 'status', 'summary']} ... It's "long_desc" on the command-line and "longdesc" in the query? Ugh! python-bugzilla-1.0.0-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/python-bugzilla-1.0.0-1.fc19 Package python-bugzilla-1.0.0-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-bugzilla-1.0.0-1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-4391/python-bugzilla-1.0.0-1.fc19 then log in and leave karma (feedback). python-bugzilla-1.0.0-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/python-bugzilla-1.0.0-2.fc19 python-bugzilla-1.0.0-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |