Actions
action #115544
closed[tools][osc-qam] osc qam my or osc qam list ends with KeyError: 'ReviewRequestID'
Start date:
2022-08-19
Due date:
% Done:
0%
Estimated time:
Description
Steps to replicate¶
$ isc qam list -G qam-sle
Traceback (most recent call last):
File "/usr/bin/osc", line 45, in <module>
r = babysitter.run(osccli)
File "/usr/lib/python3.10/site-packages/osc/babysitter.py", line 67, in run
return prg.main(argv)
File "/usr/lib/python3.10/site-packages/osc/cmdln.py", line 349, in main
return self.cmd(args)
File "/usr/lib/python3.10/site-packages/osc/cmdln.py", line 372, in cmd
retval = self.onecmd(argv)
File "/usr/lib/python3.10/site-packages/osc/cmdln.py", line 506, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/python3.10/site-packages/osc/cmdln.py", line 1237, in _dispatch_cmd
return handler(argv[0], opts, *args)
File "/usr/lib/osc-plugins/qam.py", line 652, in do_qam
ret = interp.onecmd(sys.argv[index + 1 :])
File "/usr/lib/python3.10/site-packages/osc/cmdln.py", line 506, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/python3.10/site-packages/osc/cmdln.py", line 1237, in _dispatch_cmd
return handler(argv[0], opts, *args)
File "/usr/lib/osc-plugins/qam.py", line 269, in do_list
self._list_requests(action, opts.tabular, keys)
File "/usr/lib/osc-plugins/qam.py", line 209, in _list_requests
print(formatter.output(keys, listdata))
File "/usr/lib/python3.10/site-packages/oscqam/formatters.py", line 138, in output
value = formatter(report.value(key))
File "/usr/lib/python3.10/site-packages/oscqam/actions/report.py", line 49, in value
value = entries[str(field)]
KeyError: 'ReviewRequestID'
Actions