Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148150 - pybugz: KDE bugzilla produces KeyError on 'assignee'
Summary: pybugz: KDE bugzilla produces KeyError on 'assignee'
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL: http://bugs.kde.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-18 21:20 UTC by Donnie Berkholz (RETIRED)
Modified: 2006-09-19 14:54 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 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-18 21:20:51 UTC
I added a line of debugging to see what the value of "row" was. As you can see, it's got some sort of HTML tag stuck in there. I don't have a patch to fix this.

$ bugz -b http://bugs.kde.org search -a gentoo.org
 * Using http://bugs.kde.org 
 * Searching for bugs with the following options:
 *    assigned_to          = gentoo.org
row = {'bugid': '<!DOCTYPE html '}
Traceback (most recent call last):
  File "/usr/bin/bugz", line 4, in ?
    bugz.main()
  File "/usr/lib/python2.4/site-packages/bugz.py", line 1646, in main
    getattr(bugz, cmd)(*args, **cmd_kwds)
  File "/usr/lib/python2.4/site-packages/bugz.py", line 1185, in search
    assignee = row['assignee'].split('@')[0]
KeyError: 'assignee'
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2006-09-19 14:54:25 UTC
actually, this is because KDE's bugzilla doesn't support outputting in CSV and I'm not prepared to screen scrape HTML just yet.