# Unable to sync dynamic inventory python script

**URL:** <https://forum.ansible.com/t/unable-to-sync-dynamic-inventory-python-script/36559>\
**Category:** AWX Project\
**Created:** [April 25, 2022, 1:23pm UTC](https://forum.ansible.com/t/unable-to-sync-dynamic-inventory-python-script/36559 "2022-04-25T13:23:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vibin](https://avatars.discourse-cdn.com/v4/letter/v/2bfe46/32.png) [@Vibin](https://forum.ansible.com/u/Vibin)\
**Post date:** [April 25, 2022, 1:23pm UTC](https://forum.ansible.com/t/unable-to-sync-dynamic-inventory-python-script/36559/1 "2022-04-25T13:23:26Z")

</div>

Hello Team,

I’ve added a python script to pull dynamic inventory in inventory sources but when I try to sync am getting below error message.

[Warning]: \* Failed to parse /runner/project/dyinv.py with script plugin: problem running /runner/project/dyinv.py --list ([Errno 13] Permission denied: ‘/runner/project/dyinv.py’)

I see this is a known bug in 19.4.0 and 19.5.0 but am seeing this error on 19.2.0 and 20.0.1. Is this a bug on these versions as well ??

If not, is there any solution or workaround for this?

How do I give executable permission to the python script which is uploaded from the inventory source ?

Any help would be appreciated.

Regards,  
Vibin

---

<div class="post-metadata">

**Author:** ![Seth\_Foster](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@Seth\_Foster](https://forum.ansible.com/u/Seth_Foster)\
**Post date:** [April 27, 2022, 7:47pm UTC](https://forum.ansible.com/t/unable-to-sync-dynamic-inventory-python-script/36559/2 "2022-04-27T19:47:39Z")

</div>

Hi,

are you creating this project manually, or is it being pulled from a scm-based project?

Also, do you happen to the have links to the known issues in 19.4.0 and 19.5.0?

Thank you!

Seth

---

<div class="post-metadata">

**Author:** ![Seth\_Foster](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@Seth\_Foster](https://forum.ansible.com/u/Seth_Foster)\
**Post date:** [April 27, 2022, 7:51pm UTC](https://forum.ansible.com/t/unable-to-sync-dynamic-inventory-python-script/36559/3 "2022-04-27T19:51:40Z")

</div>

I see this issue [https://github.com/ansible/awx-operator/issues/796](https://github.com/ansible/awx-operator/issues/796)

It’s still being tracked / investigated by the team

Seth
