Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357317 - www-client/pybugz: searching for unknown keyword causes traceback
Summary: www-client/pybugz: searching for unknown keyword causes traceback
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-04 09:12 UTC by SpanKY
Modified: 2011-03-20 15:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2011-03-04 09:12:49 UTC
using current git (2e3d7d0d51f2308319c24affd46041402118ac40):
$ bugz --skip-auth search -k asdf
 * Using https://bugs.gentoo.org/ 
 * Searching for bugs with the following options:
 *    keywords             = asdf
 * Unknown field: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
Traceback (most recent call last):
  File "/usr/bin/bugz-2.6", line 44, in <module>
    main()
  File "/usr/bin/bugz-2.6", line 19, in main
    args.func(bugz, **cmd_kwds)
  File "/usr/lib64/python2.6/site-packages/bugz/cli.py", line 187, in search
    result = Bugz.search(self, search_term, **kwds)
  File "/usr/lib64/python2.6/site-packages/bugz/bugzilla.py", line 395, in search
    return self.extractResults(resp)
  File "/usr/lib64/python2.6/site-packages/bugz/bugzilla.py", line 293, in extractResults
    if "Missing Search" in row[0]:
IndexError: list index out of range
Comment 1 William Hubbs gentoo-dev 2011-03-20 15:35:34 UTC
I am unable to reproduce this using current git
( b5f8928902408194f9442a858db8c1c304421b5e), and a new release is coming
soon.