# RuntimeError: maximum recursion depth exceeded while calling a Python object

**URL:** <https://forum.ansible.com/t/runtimeerror-maximum-recursion-depth-exceeded-while-calling-a-python-object/25078>\
**Category:** Ansible Project\
**Created:** [July 25, 2017, 12:17pm UTC](https://forum.ansible.com/t/runtimeerror-maximum-recursion-depth-exceeded-while-calling-a-python-object/25078 "2017-07-25T12:17:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vijay\_Kamane](https://avatars.discourse-cdn.com/v4/letter/v/b782af/32.png) [@Vijay\_Kamane](https://forum.ansible.com/u/Vijay_Kamane)\
**Post date:** [July 25, 2017, 12:17pm UTC](https://forum.ansible.com/t/runtimeerror-maximum-recursion-depth-exceeded-while-calling-a-python-object/25078/1 "2017-07-25T12:17:23Z")

</div>

Hello,

I am using ansible-playbook 1.9.4 and the following command error with the below message:

#ansible-playbook -Kk -i hostfile myfile.yml

RuntimeError: maximum recursion depth exceeded while calling a Python object

Any help would be highly appreciated.

Regards,  
VK

---

<div class="post-metadata">

**Author:** ![tkuratom](https://avatars.discourse-cdn.com/v4/letter/t/b19c9b/32.png) [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Post date:** [August 1, 2017, 3:10pm UTC](https://forum.ansible.com/t/runtimeerror-maximum-recursion-depth-exceeded-while-calling-a-python-object/25078/2 "2017-08-01T15:10:07Z")

</div>

Hi, I’m sorry but ansible-1.9.4 is no longer being worked on. So I’m probably not able to fix any bugs that you might have there. Are you able to update to the latest release (2.3.1 at the moment) and try again there? If you’re getting a maximum recursion error there, opening a bug report on [https://github.com/ansible/ansible](https://github.com/ansible/ansible) with a reproducer (at minimum, a portion of the playbook which is triggering the problem) will help to diagnose and fix the issue.

Thanks!

-Toshio
