Project

General

Profile

action #115544

Updated by jbaier_cz over 2 years ago

### 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' 
 ```

Back