Actions
action #114872
closed[tools] qam plugin throws exception in query for open requests in other groups
Start date:
2022-08-01
Due date:
% Done:
0%
Estimated time:
Description
See: https://bugzilla.suse.com/show_bug.cgi?id=1202015
> ibs qam open -G qam-manager
Traceback (most recent call last):
File "/usr/bin/osc", line 45, in <module>
r = babysitter.run(osccli)
File "/usr/lib/python3.6/site-packages/osc/babysitter.py", line 67, in run
return prg.main(argv)
File "/usr/lib/python3.6/site-packages/osc/cmdln.py", line 349, in main
return self.cmd(args)
File "/usr/lib/python3.6/site-packages/osc/cmdln.py", line 372, in cmd
retval = self.onecmd(argv)
File "/usr/lib/python3.6/site-packages/osc/cmdln.py", line 506, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/python3.6/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.6/site-packages/osc/cmdln.py", line 506, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/python3.6/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 206, in _list_requests
listdata = action()
File "/usr/lib/python3.6/site-packages/oscqam/actions/oscaction.py", line 33, in __call__
return self.action(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/oscqam/actions/listaction.py", line 49, in action
self.reports = self._load_listdata(self.load_requests())
File "/usr/lib/python3.6/site-packages/oscqam/actions/listgroupaction.py", line 13, in load_requests
return {self.remote.requests.open_for_groups(self.groups)}
TypeError: unhashable type: 'list'
> rpm -q mtui
mtui-13.2.1-qam.1.1.noarch
> rpm -qa | grep osc
osc-plugin-qam-0.50.0-qam.1.1.noarch
osc-0.179.0-150100.3.29.1.noarch
Actions