#2325 koji-gc traceback in trash action
Closed: Fixed by tkopecek. Opened by kevin.

Full output at: https://lists.fedoraproject.org/archives/list/releng-cron@lists.fedoraproject.org/message/VTBQU5PYFEXGP64KX7SNGP2CEHZLGMUJ/

...
[108877/109082] Adding build to trash list:
cros-guest-tools-1.0-0.33.20200524gitc91e2b4.el8
Traceback (most recent call last):
  File "/usr/sbin/koji-gc", line 1026, in <module>
    rv = main(args)
  File "/usr/sbin/koji-gc", line 463, in main
    globals()['handle_' + x]()
  File "/usr/sbin/koji-gc", line 550, in handle_trash
    last = max(history)[1]
TypeError: '>' not supported between instances of 'dict' and 'dict'

Version 1.21.1 on fedora 32.


Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue set to the milestone: 1.22
- Issue tagged with: bug

Ouch, py3 refuses to compare dicts. We need to update the code a bit.

Metadata Update from @tkopecek:
- Issue tagged with: testing-ready

PR #2327

Metadata Update from @jcupova:
- Issue tagged with: testing-done

Commit f8d20f6c fixes this issue

Commit 7c0acaaa fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/2325

Please continue any further discussion there.

Metadata
Related Pull Requests