action #117790
Updated by jbaier_cz about 2 years ago
This issue seems to be data related, the functionality was added in https://github.com/openSUSE/osc-plugin-qam/pull/10.
```
chubykalo@localhost:~> rpm -q osc-plugin-qam
osc-plugin-qam-0.51.0-qam.3.1.noarch
```
```
chubykalo@localhost:~> ibs qam my
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 363, in do_my
self.do_assigned(subcmd, opts)
File "/usr/lib/osc-plugins/qam.py", line 327, in do_assigned
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 50, in action
self.group_sort_reports()
File "/usr/lib/python3.6/site-packages/oscqam/actions/listaction.py", line 39, in group_sort_reports
lambda l: l.request.incident_priority,
File "/usr/lib/python3.6/site-packages/oscqam/utils.py", line 30, in multi_level_sort
xss = sorted(xs, key=extractor)
File "/usr/lib/python3.6/site-packages/oscqam/actions/listaction.py", line 39, in <lambda>
lambda l: l.request.incident_priority,
File "/usr/lib/python3.6/site-packages/oscqam/models/request.py", line 51, in incident_priority
self._priority = self.remote.priorities.for_request(self)
File "/usr/lib/python3.6/site-packages/oscqam/remotes/priorityremote.py", line 54, in for_request
return self._priority(request)
File "/usr/lib/python3.6/site-packages/oscqam/remotes/priorityremote.py", line 33, in _priority
return Priority(value.text)
File "/usr/lib/python3.6/site-packages/oscqam/domains.py", line 30, in __init__
self.priority = int(prio)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
```
Please also see the related conversation: https://suse.slack.com/archives/C02CUAYSFDL/p1665391706095299