Learn more about these different git repos.
Other Git URLs
Getting a TypeError when trying to resubmit tasks
[dustymabe@composer ~][STG]$ rpm -q koji koji-1.13.0-2.fc25.noarch [dustymabe@composer ~][STG]$ sudo stg-koji --debug resubmit 90112554 2017-08-16 19:03:11,905 [DEBUG] koji: Opening new requests session 2017-08-16 19:03:11,907 [DEBUG] koji: Opening new requests session 2017-08-16 19:03:11,962 [DEBUG] koji: Opening new requests session successfully connected to hub Resubmitting the following task: Traceback (most recent call last): File "/bin/koji", line 285, in <module> rv = locals()[command].__call__(options, session, args) File "/usr/lib/python2.7/site-packages/koji_cli/commands.py", line 791, in handle_resubmit _printTaskInfo(session, taskID, 0, goptions.topdir, False, True) File "/usr/lib/python2.7/site-packages/koji_cli/commands.py", line 4320, in _printTaskInfo indent = " "*2*level TypeError: can't multiply sequence by non-int of type 'str'
After I worked around that issue by modifying the line to be indent = " " I then get this:
indent = " "
stg-koji --debug resubmit 90112554 2017-08-16 19:04:21,575 [DEBUG] koji: Opening new requests session 2017-08-16 19:04:21,576 [DEBUG] koji: Opening new requests session 2017-08-16 19:04:21,641 [DEBUG] koji: Opening new requests session successfully connected to hub Resubmitting the following task: Task: 90112554 Type: runroot Request Parameters: Owner: bodhi State: failed Created: Wed Aug 16 17:30:00 2017 Started: Wed Aug 16 17:30:03 2017 Finished: Wed Aug 16 17:39:00 2017 Host: buildvm-01.stg.phx2.fedoraproject.org Buildroots: /var/lib/mock/f26-build-8875482-9000006/ Log Files: /mnt/koji/work/tasks/2554/90112554/hw_info.log /mnt/koji/work/tasks/2554/90112554/build.log /mnt/koji/work/tasks/2554/90112554/root.log /mnt/koji/work/tasks/2554/90112554/state.log /mnt/koji/work/tasks/2554/90112554/mock_output.log /mnt/koji/work/tasks/2554/90112554/do_mounts.log Resubmitted task 90112554 as new task 90112579 Traceback (most recent call last): File "/bin/koji", line 285, in <module> rv = locals()[command].__call__(options, session, args) File "/usr/lib/python2.7/site-packages/koji_cli/commands.py", line 800, in handle_resubmit poll_interval=options.poll_interval) AttributeError: Values instance has no attribute 'poll_interval'
so maybe a 2nd bug.
note that I was using the python 2 version of koji because of an issue where it was telling me to install python-krbV. Patrick gave me a workaround of changing python3 to python2 in /usr/bin/koji file.
/usr/bin/koji
the 2nd trace from above (AttributeError: Values instance has no attribute 'poll_interval') we think is fixed by this pull request https://pagure.io/koji/pull-request/514
AttributeError: Values instance has no attribute 'poll_interval'
the 1st trace is still outstanding.
actually they are both fixed by https://pagure.io/koji/pull-request/514. just tested. closing this as fixed by #514.
Metadata Update from @dustymabe: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Metadata Update from @julian8628: - Issue set to the milestone: 1.14
Login to comment on this ticket.