Skip to content

bugzilla info -c crashes on "RH Ceph Storage"  #95

@ktdreyer

Description

@ktdreyer

Ran into a crash here with python-bugzilla-cli-2.2.0-3.fc29:

bugzilla info -c "RH Ceph Storage" 
Traceback (most recent call last):
  File "/usr/bin/bugzilla", line 11, in <module>
    load_entry_point('python-bugzilla==2.2.0', 'console_scripts', 'bugzilla')()
  File "/usr/lib/python3.7/site-packages/bugzilla/_cli.py", line 1178, in cli
    main()
  File "/usr/lib/python3.7/site-packages/bugzilla/_cli.py", line 1154, in main
    return _main(unittest_bz_instance)
  File "/usr/lib/python3.7/site-packages/bugzilla/_cli.py", line 1118, in _main
    _do_info(bz, opt)
  File "/usr/lib/python3.7/site-packages/bugzilla/_cli.py", line 628, in _do_info
    for name in sorted(bz.getcomponents(productname)):
  File "/usr/lib/python3.7/site-packages/bugzilla/base.py", line 881, in getcomponents
    product_id = proddict["id"]
KeyError: 'id'

It works fine for "Red Hat Enterprise Linux 7", so I'm not sure what's up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions