#1976 koji-gc: object of type 'NoneType' has no len()
Closed: Duplicate 4 years ago by mikem. Opened 4 years ago by mikem.

Observed from koji-gc:

Traceback (most recent call last):
  File "/usr/sbin/koji-gc", line 917, in <module>
    rv = main(args)
  File "/usr/sbin/koji-gc", line 422, in main
    globals()['handle_' + x]()
  File "/usr/sbin/koji-gc", line 793, in handle_prune
    if not check_tag(tagname):
  File "/usr/sbin/koji-gc", line 227, in check_tag
    if fnmatch.fnmatch(name, options.tag_filter):
  File "/usr/lib64/python2.6/fnmatch.py", line 43, in fnmatch
    return fnmatchcase(name, pat)
  File "/usr/lib64/python2.6/fnmatch.py", line 75, in fnmatchcase
    res = translate(pat)
  File "/usr/lib64/python2.6/fnmatch.py", line 87, in translate
    i, n = 0, len(pat)
TypeError: object of type 'NoneType' has no len()

This may be due to a configuration error, but even if so the tool should handle that better.


Oh, nevermind, duplicate of #1725 which is already fixed.

Metadata Update from @mikem:
- Custom field Size adjusted to None

4 years ago

Metadata Update from @mikem:
- Issue close_status updated to: Duplicate
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata