#1405 CLI command koji list-tag-inheritance --stop=tag-52zov tag-mjckr returns none
Closed: Fixed 4 months ago by mikem. Opened 4 months ago by rmandadi.

Steps to reproduce:

 koji list-tag-inheritance --stop=tag-52zov tag-mjckr

Current Output:

koji: Fault: <Fault 1: "<class \'RuntimeError\'>: dictionary changed size during iteration">\ntag-mjckr (21)\n')

Expected Output:

Show parents/children up to this tag

Was your hub running python3 here?

Metadata Update from @mikem:
- Issue assigned to mikem

4 months ago

Metadata Update from @mikem:
- Issue tagged with: bug, easyfix

4 months ago

The hub traceback looks like:

Traceback (most recent call last):
  File "/home/mike/Devel/koji/koji/hub/kojixmlrpc.py", line 236, in _wrap_handler
    response = handler(environ)
  File "/home/mike/Devel/koji/koji/hub/kojixmlrpc.py", line 279, in handle_rpc
    return self._dispatch(method, params)
  File "/home/mike/Devel/koji/koji/hub/kojixmlrpc.py", line 316, in _dispatch
    ret = koji.util.call_with_argcheck(func, params, opts)
  File "/home/mike/Devel/koji/koji/koji/util.py", line 263, in call_with_argcheck
    return func(*args, **kwargs)
  File "/home/mike/Devel/koji/koji/hub/kojihub.py", line 10120, in getFullInheritance
    for key in mapping.keys():
RuntimeError: dictionary changed size during iteration

Was your hub running python3 here?
I am working on koji-biweekly, and showing error as above.

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.18

4 months ago

Login to comment on this ticket.

Related Pull Requests
  • #1408 Closed 4 months ago
  • #1406 Merged 4 months ago