When I try to use the download action in the bodhi directive, I get the following traceback:
[libtaskotron:logger.py:34] 2014-05-14 11:03:09 CRITICAL Traceback (most recent call last): File "runtask.py", line 4, in <module> runner.main() File "/home/tflink/code/taskotron/libtaskotron/libtaskotron/runner.py", line 192, in main task_runner.run() File "/home/tflink/code/taskotron/libtaskotron/libtaskotron/runner.py", line 31, in run self.do_actions() File "/home/tflink/code/taskotron/libtaskotron/libtaskotron/runner.py", line 105, in do_actions self.do_single_action(action) File "/home/tflink/code/taskotron/libtaskotron/libtaskotron/runner.py", line 94, in do_single_action self.envdata) File "/home/tflink/code/taskotron/libtaskotron/libtaskotron/directives/bodhi_directive.py", line 91, in process output_data['downloaded_rpms'] = self.action_download(update, arches, workdir) File "/home/tflink/code/taskotron/libtaskotron/libtaskotron/directives/bodhi_directive.py", line 45, in action_download res = self.bodhi_api.query_update(update) AttributeError: 'module' object has no attribute 'query_update'
This is due to improper code usage (I suspect that the bodhi module wasn't updated when bodhi_utils was changed to be a class instead of just functions).
This should be a simple matter of updating the code to create a bodhi_utils object instead of trying to use the module directly.
This ticket had assigned some Differential requests: D99
Closed by commit rLTRNeb3ece62ce18.
Login to comment on this ticket.