# No such file : KeepAlive.py

**URL:** <https://ask.bioexcel.eu/t/no-such-file-keepalive-py/3289>\
**Category:** HADDOCK\
**Created:** [October 10, 2021, 8:49am UTC](https://ask.bioexcel.eu/t/no-such-file-keepalive-py/3289 "2021-10-10T08:49:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Warren](https://avatars.discourse-cdn.com/v4/letter/w/97f17d/32.png) [@Warren](https://ask.bioexcel.eu/u/Warren)\
**Post date:** [October 10, 2021, 8:49am UTC](https://ask.bioexcel.eu/t/no-such-file-keepalive-py/3289/1 "2021-10-10T08:49:21Z")

</div>

hello , all , I have docked the ACE2 and RBD , I have finished the examples completely , but when I have docking the ACE2 and RBD , there are some troubles with me.  
this is run.param:  
HADDOCK\_DIR=…/…/  
N\_COMP=2  
PDB\_FILE1=./anas\_platyrhynchos\_B.pdb  
PDB\_FILE2=./anas\_platyrhynchos\_E.pdb  
PROJECT\_DIR=./  
PROT\_SEGID\_1=B  
PROT\_SEGID\_2=E  
RUN\_NUMBER=1

and the error:  
IOError: [Errno 2] No such file or directory: ‘…/…/Haddock/CNS/KeepAlive.py’

and I have conformed that the file have been exist ,

any suggestions ?

---

<div class="post-metadata">

**Author:** ![Warren](https://avatars.discourse-cdn.com/v4/letter/w/97f17d/32.png) [@Warren](https://ask.bioexcel.eu/u/Warren)\
**Post date:** [October 10, 2021, 10:38am UTC](https://ask.bioexcel.eu/t/no-such-file-keepalive-py/3289/2 "2021-10-10T10:38:36Z")

</div>

I have deal with it , if you face the same difficulty ,you can talk with me

---

<div class="post-metadata">

**Author:** ![amjjbonvin](https://dub1.discourse-cdn.com/flex013/user_avatar/ask.bioexcel.eu/amjjbonvin/32/23_2.png) [@amjjbonvin](https://ask.bioexcel.eu/u/amjjbonvin)\
**Post date:** [October 10, 2021, 11:02am UTC](https://ask.bioexcel.eu/t/no-such-file-keepalive-py/3289/3 "2021-10-10T11:02:37Z")

</div>

You need to define the proper location of Haddock in the HADDOCK\_DIR variable in you run.param file

---

<div class="post-metadata">

**Author:** ![Warren](https://avatars.discourse-cdn.com/v4/letter/w/97f17d/32.png) [@Warren](https://ask.bioexcel.eu/u/Warren)\
**Post date:** [October 10, 2021, 11:52pm UTC](https://ask.bioexcel.eu/t/no-such-file-keepalive-py/3289/4 "2021-10-10T23:52:05Z")

</div>

thank you very much prof！I found out and solved the problem yesterday. It is now running properly.

---

<div class="post-metadata">

**Author:** ![rpgv2000](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@rpgv2000](https://ask.bioexcel.eu/u/rpgv2000)\
**Post date:** [May 3, 2024, 11:13am UTC](https://ask.bioexcel.eu/t/no-such-file-keepalive-py/3289/5 "2024-05-03T11:13:37Z")

</div>

Hello there, I’m currently having the same problem:  
‘’’  
IOError: [Errno 2] No such file or directory: ‘~/software/haddock2.4-2024-03/Haddock/CNS/KeepAlive.py’  
‘’’  
However, when I navigate to the path: ‘~/software/haddock2.4-2024-03/Haddock/CNS/’ the KeepAlive.py file is indeed there.  
Any idea on what could cause this error, and how to solve it?
