Cannot query freedesktop.org's bugzilla
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-bzutils (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Karmic |
Won't Fix
|
High
|
Unassigned |
Bug Description
[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'.
[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://
[Reproduction]
bryce@chideok:
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/
return self.cgi.
File "/home/
return self.parse(f)
File "/home/
raise BugListParseError, "Couldn't parse bug list: unknown format"
bzutils.
[Regression Potential]
Probably none. This tool also has a very narrow userbase so the potential impact on users is similarly quite small.
Changed in python-bzutils (Ubuntu Karmic): | |
status: | New → Confirmed |
description: | updated |
I get the same thing even running against a locally installed bugzilla from Karmic ubuntu:
bryce@chideok: ~/src/python- bzutils/ python- bzutils- 0.2/src$ ./bzutils-get http:// localhost/ cgi-bin/ bugzilla3/ 1
Usage: bzutils-get <url> <bugnumber>
<url>: The base url of the bugzilla server.
<query>: Number/ID of the bug
Traceback (most recent call last): bryce/src/ python- bzutils/ python- bzutils- 0.2/src/ bzutils/ bugzilla. py", line 43, in get query_bchart( charts= charts) [0] bryce/src/ python- bzutils/ python- bzutils- 0.2/src/ bzutils/ cgi.py" , line 367, in query_bchart bryce/src/ python- bzutils/ python- bzutils- 0.2/src/ bzutils/ cgi.py" , line 127, in parse exceptions. BugListParseErr or: Couldn't parse bug list: unknown format
File "./bzutils-get", line 37, in <module>
print bz.get(sys.argv[2])
File "/home/
return self.cgi.
File "/home/
return self.parse(f)
File "/home/
raise BugListParseError, "Couldn't parse bug list: unknown format"
bzutils.