# Too long inventory file location causing ansible error.

**URL:** <https://forum.ansible.com/t/too-long-inventory-file-location-causing-ansible-error/22611>\
**Category:** Ansible Project\
**Created:** [September 22, 2016, 2:46am UTC](https://forum.ansible.com/t/too-long-inventory-file-location-causing-ansible-error/22611 "2016-09-22T02:46:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jerome\_Lulu](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@Jerome\_Lulu](https://forum.ansible.com/u/Jerome_Lulu)\
**Post date:** [September 22, 2016, 2:46am UTC](https://forum.ansible.com/t/too-long-inventory-file-location-causing-ansible-error/22611/1 "2016-09-22T02:46:11Z")

</div>

if the file path of the inventory file is too long, I am getting this error. I am using ansible 2.1.1.0. Is this a bug on these release?

ERROR! Unexpected Exception: ‘AnsibleLoader’ object has no attribute ‘get\_single\_data’  
to see the full traceback, use -vvv

ansible (2.1.1.0)  
cffi (1.8.3)  
cryptography (1.5)  
enum34 (1.1.6)  
idna (2.1)  
ipaddress (1.0.17)  
Jinja2 (2.8)  
MarkupSafe (0.23)  
paramiko (2.0.2)  
pip (8.1.2)  
pyasn1 (0.1.9)  
pycparser (2.14)  
pycrypto (2.6.1)  
PyYAML (3.12)  
setuptools (27.2.0)  
six (1.10.0)  
wheel (0.29.0)
