Traceback (most recent call last):


 "env/bin/ansible-playbook", line 109, in <module>

exit_code = cli.run()


 "env/lib/python2.7/site-packages/ansible/cli/playbook.py", line 128, in run

inventory = Inventory(loader=loader, variable_manager=variable_manager, host_list=self.options.inventory)


 "env/lib/python2.7/site-packages/ansible/inventory/__init__.py", line 98, in __init__

self.parse_inventory(host_list)


 "env/lib/python2.7/site-packages/ansible/inventory/__init__.py", line 175, in parse_inventory

for host in self.get_hosts(ignore_limits=True, ignore_restrictions=True):


 "env/lib/python2.7/site-packages/ansible/inventory/__init__.py", line 247, in get_hosts

hosts = self._evaluate_patterns(patterns)


 "env/lib/python2.7/site-packages/ansible/inventory/__init__.py", line 345, in _evaluate_patterns

that = self._match_one_pattern(p)


 "env/lib/python2.7/site-packages/ansible/inventory/__init__.py", line 398, in _match_one_pattern

hosts = self._enumerate_matches(expr)


 "env/lib/python2.7/site-packages/ansible/inventory/__init__.py", line 489, in _enumerate_matches

matching_hosts = self._match_list(group.get_hosts(), 'name', pattern)


 "env/lib/python2.7/site-packages/ansible/inventory/__init__.py", line 220, in _match_list

if pattern.match(getattr(item, item_attr)):
TypeError: expected string or buffer

Traceback (most recent call last):


 "/usr/local/bin/ivre", line 78, in <module>

main()


 "/usr/local/bin/ivre", line 51, in main

tools.get_command(possible_commands[0])()


 "/usr/local/lib/python2.7/dist-packages/ivre/tools/runscansagentdb.py", line 210, in main

display_scan(scan)


 "/usr/local/lib/python2.7/dist-packages/ivre/tools/runscansagentdb.py", line 39, in display_scan

scan['target'] = ivre.db.db.agent.get_scan_target(scan['_id'])


 "/usr/local/lib/python2.7/dist-packages/ivre/db/__init__.py", line 1461, in get_scan_target

return pickle.loads(self._get_scan_target(self, scanid))
TypeError: _get_scan_target() takes exactly 2 arguments (3 given)
