[Bug 685842] New: Python 2.7 breaks python-bugzilla
https://bugzilla.novell.com/show_bug.cgi?id=685842 https://bugzilla.novell.com/show_bug.cgi?id=685842#c0 Summary: Python 2.7 breaks python-bugzilla Classification: openSUSE Product: openSUSE 11.5 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Other AssignedTo: jmatejek@novell.com ReportedBy: mvyskocil@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- import bugzilla bnc = bugzilla.Bugzilla(url='https://bugzilla.novell.com/xmlrpc.cgi', user='mvyskocil', password='XXXXXX') File "/usr/lib64/python2.7/xmlrpclib.py", line 1570, in __request verbose=self.__verbose File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 932, in request errcode, errmsg, headers = h.getreply() AttributeError: HTTPSConnection instance has no attribute 'getreply' Seems like known and fixed issue * https://bugzilla.redhat.com/show_bug.cgi?id=621298 * https://fedorahosted.org/python-bugzilla/browser/bugzilla/base.py?rev=120e41... but not in the last released 0.6.1 - fix is one month newer. Please fix it for Factory a11.4 (I'd do the fix on my own, but BuildService is not working), thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685842 https://bugzilla.novell.com/show_bug.cgi?id=685842#c1 --- Comment #1 from Michal Vyskocil <mvyskocil@novell.com> 2011-04-08 07:45:55 UTC --- BTW: when using latest git snapshot, I found an issue with a query command Command $ bugzilla query --bug_status=NEW,ASSIGNED --assigned_to=mvyskocil@novell.com does not return anything. Looking inside a code there's something like bnc = bugzilla.Bugzilla(...) query = {'bug_status': ['NEW', 'ASSIGNED', 'NEEDINFO', 'ON_DEV', 'MODIFIED', 'POST', 'REOPENED'], 'emailtype1': 'substring', 'emailassigned_to1': 1, 'email1': 'mvyskocil@novell.com'} bnc.query(query) *** Fault: <Fault 53: 'emailassigned_to1 is not a valid parameter for the Bugzilla::Bug::match\nfunction.'> I've never find a documentation for match, there's only search function [1] and if I use arguments of this one, I got an result query = {'bug_status': ['NEW', 'ASSIGNED', 'NEEDINFO', 'ON_DEV', 'MODIFIED', 'POST', 'REOPENED'], 'assigned_to': 'mvyskocil@novell.com'} bnc.query(query) [<Bug #546000 on https://bugzilla.novell.com/xmlrpc.cgi at 0x7f99ecf285d0> ... And it seems you can enter more a list in 'assigned_to', so you can query for more than one assignee at the same time, but there are no other options like substring or regular expression match. But for purposes of bugzilla command line tool, it seems to be enough. [1] [http://www.bugzilla.org/docs/3.6/en/html/api/Bugzilla/WebService/Bug.html] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685842 https://bugzilla.novell.com/show_bug.cgi?id=685842#c2 --- Comment #2 from Michal Vyskocil <mvyskocil@novell.com> 2011-04-08 08:06:30 UTC --- I've forgot add --bztype=NovellBugzilla - it seems that querying is not implemented in our nvlbugzilla.py bugzilla --bztype NovellBugzilla query --bug_status=NEW,ASSIGNED --assigned_to=mvyskocil@novell.com Traceback (most recent call last): File "/usr/bin/bugzilla", line 688, in <module> main() File "/usr/bin/bugzilla", line 501, in main buglist = bz.query(q) File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 525, in query r = self._query(query) File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 496, in _query raise NotImplementedError NotImplementedError -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685842 https://bugzilla.novell.com/show_bug.cgi?id=685842#c Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flag| |SHIP_STOPPER- -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685842 https://bugzilla.novell.com/show_bug.cgi?id=685842#c3 --- Comment #3 from Jan Matejek <jmatejek@suse.com> 2012-02-07 18:05:40 UTC --- python-bugzilla seems to work just fine now -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685842 https://bugzilla.novell.com/show_bug.cgi?id=685842#c4 Jan Matejek <jmatejek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #4 from Jan Matejek <jmatejek@suse.com> 2012-04-17 14:11:41 UTC --- this seems to be fixed already -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685842 https://bugzilla.novell.com/show_bug.cgi?id=685842#c5 --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-07-01 10:00:18 CEST --- This is an autogenerated message for OBS integration: This bug (685842) was mentioned in https://build.opensuse.org/request/show/181562 Evergreen:11.2 / python-bugzilla -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685842 https://bugzilla.novell.com/show_bug.cgi?id=685842#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-07-11 08:00:08 CEST --- This is an autogenerated message for OBS integration: This bug (685842) was mentioned in https://build.opensuse.org/request/show/182786 Evergreen:11.2 / python-bugzilla -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685842 https://bugzilla.novell.com/show_bug.cgi?id=685842#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-07-11 06:00:08 UTC --- This is an autogenerated message for OBS integration: This bug (685842) was mentioned in https://build.opensuse.org/request/show/182786 Evergreen:11.2 / python-bugzilla -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com