[Bug 389289] Re: Cannot query freedesktop.org's bugzilla
Bryce Harrington
bryce at bryceharrington.org
Tue Feb 9 08:21:51 UTC 2010
** Description changed:
- Binary package hint: python-bzutils
+ [Problem]
+ bzutils-get is able to parse csv text, but was only doing this for type 'text/plain', and would fail if used against bugzillas configured to use the (correct) type 'text/csv'.
- bryce at chideok:~/src/python-bzutils/python-bzutils-0.2/src$ ./bzutils-get
- https://bugs.freedesktop.org 21190
+ [Impact]
+ Makes tool useless for a variety of well known bugzilla instances.
+
+ [Addressed]
+ Fix uploaded to Lucid directly, and the same patch has been sponsored for karmic-proposed.
+
+ [Patch]
+ http://launchpadlibrarian.net/35132404/bzutils.debdiff
+
+ [Reproduction]
+ bryce at chideok:~/src/python-bzutils/python-bzutils-0.2/src$ ./bzutils-get https://bugs.freedesktop.org 21190
Usage: bzutils-get <url> <bugnumber>
<url>: The base url of the bugzilla server.
<query>: Number/ID of the bug
Traceback (most recent call last):
- File "./bzutils-get", line 37, in <module>
- print bz.get(sys.argv[2])
- File "/home/bryce/src/python-bzutils/python-bzutils-0.2/src/bzutils/bugzilla.py", line 43, in get
- return self.cgi.query_bchart(charts=charts)[0]
- File "/home/bryce/src/python-bzutils/python-bzutils-0.2/src/bzutils/cgi.py", line 367, in query_bchart
- return self.parse(f)
- File "/home/bryce/src/python-bzutils/python-bzutils-0.2/src/bzutils/cgi.py", line 127, in parse
- raise BugListParseError, "Couldn't parse bug list: unknown format"
+ File "./bzutils-get", line 37, in <module>
+ print bz.get(sys.argv[2])
+ File "/home/bryce/src/python-bzutils/python-bzutils-0.2/src/bzutils/bugzilla.py", line 43, in get
+ return self.cgi.query_bchart(charts=charts)[0]
+ File "/home/bryce/src/python-bzutils/python-bzutils-0.2/src/bzutils/cgi.py", line 367, in query_bchart
+ return self.parse(f)
+ File "/home/bryce/src/python-bzutils/python-bzutils-0.2/src/bzutils/cgi.py", line 127, in parse
+ raise BugListParseError, "Couldn't parse bug list: unknown format"
bzutils.exceptions.BugListParseError: Couldn't parse bug list: unknown format
+
+ [Regression Potential]
+ Probably none. This tool also has a very narrow userbase so the potential impact on users is similarly quite small.
--
Cannot query freedesktop.org's bugzilla
https://bugs.launchpad.net/bugs/389289
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list