Hide Forgot
Traceback (most recent call last): File "src/bkr/client/main.py", line 59, in ? main() File "src/bkr/client/main.py", line 55, in main return parser.run() File "/usr/lib/python2.4/site-packages/kobo/cli.py", line 282, in run cmd.run(*cmd_args, **cmd_kwargs) File "/home/dcallagh/work/beaker/Client/src/bkr/client/commands/cmd_task_list.py", line 76, in run print xmltask.toprettyxml() File "/usr/lib64/python2.4/site-packages/_xmlplus/dom/minidom.py", line 61, in toprettyxml self.writexml(writer, "", indent, newl) File "/usr/lib64/python2.4/site-packages/_xmlplus/dom/minidom.py", line 816, in writexml _write_data(writer, attrs[a_name].value) File "/usr/lib64/python2.4/site-packages/_xmlplus/dom/minidom.py", line 304, in _write_data data = data.replace("&", "&").replace("<", "<") AttributeError: 'dict' object has no attribute 'replace' Output without --xml has also changed (from a string task name to a dict). This would be due to changing the return type of the tasks.filter XML-RPC method.
[root@rhel5 noarch]# bkr task-list --xml <task name="/distribution/inventory"> <params/> </task> <task name="/distribution/install"> <params/> </task> <task name="/distribution/reservesys"> <params/> </task> <task name="/distribution/beaker/dogfood"> <params/> </task> <task name="/distribution/beaker/setup"> <params/> </task>