# UiPath.Python.Host Has Stop Work

**URL:** <https://forum.uipath.com/t/uipath-python-host-has-stop-work/5280729>\
**Category:** Studio\
**Tags:** question, python, activities\
**Created:** [September 18, 2025, 2:10am UTC](https://forum.uipath.com/t/uipath-python-host-has-stop-work/5280729 "2025-09-18T02:10:10Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex.huang](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/alex.huang/32/512875_2.png) [@alex.huang](https://forum.uipath.com/u/alex.huang)\
**Post date:** [September 18, 2025, 2:10am UTC](https://forum.uipath.com/t/uipath-python-host-has-stop-work/5280729/1 "2025-09-18T02:10:10Z")

</div>

I have used Python scope and within which Load Script, Invoke method and Get Object activities are used to run a python code.  
Each time this python scope is run, the code always stops at the same node without any error reports or new data updates.  
For example,each time the process is executed, the expected effect is to generate 13 images. However, it stops working after generating 12 images each time. There are no error reports and no new images are generated. However, I have no problem running python code in pycharm

UiPath Python Package : 1.10.0  
Python Version: 3.8

 ![企业微信截图_17581609748704](https://global.discourse-cdn.com/uipath/original/4X/c/f/8/cf8d2aa5929169ed42ad9af161e6ab68c97c1924.png)  
 ![企业微信截图_17581610131645](https://global.discourse-cdn.com/uipath/original/4X/6/8/0/6805514754de8ee5418007b8b079e5a9ae1c317f.png)  
 ![企业微信截图_17581610438715](https://global.discourse-cdn.com/uipath/original/4X/2/e/8/2e881b57c17c130f3e990bf885c39b1254624fad.png)

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [September 18, 2025, 4:48am UTC](https://forum.uipath.com/t/uipath-python-host-has-stop-work/5280729/2 "2025-09-18T04:48:27Z")

</div>

@alex.huang

Welcome to the community

when you say it does not report error without issue it will move to next step or does it get stuck?

also checking the event viewer logs when this happens helps in identifying the issue

cheers

---

<div class="post-metadata">

**Author:** ![alex.huang](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/alex.huang/32/512875_2.png) [@alex.huang](https://forum.uipath.com/u/alex.huang)\
**Post date:** [September 18, 2025, 6:29am UTC](https://forum.uipath.com/t/uipath-python-host-has-stop-work/5280729/3 "2025-09-18T06:29:31Z")

</div>

Hi  
It is not stuck when move to next step.  
When it stuck, UiPath console is nothing to output; the UiPath.Python.Host status alway runing; I check it in PC TASK MANAGER，The process Disk Usage Rate is 0%；

---

<div class="post-metadata">

**Author:** ![alex.huang](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/alex.huang/32/512875_2.png) [@alex.huang](https://forum.uipath.com/u/alex.huang)\
**Post date:** [September 18, 2025, 6:32am UTC](https://forum.uipath.com/t/uipath-python-host-has-stop-work/5280729/4 "2025-09-18T06:32:12Z")

</div>

Even when I set a timeout for python scope, no error was reported after exceeding the timeout.I even wish the console could display something，but nothing happened XD；

---

<div class="post-metadata">

**Author:** ![alex.huang](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/alex.huang/32/512875_2.png) [@alex.huang](https://forum.uipath.com/u/alex.huang)\
**Post date:** [September 18, 2025, 6:39am UTC](https://forum.uipath.com/t/uipath-python-host-has-stop-work/5280729/5 "2025-09-18T06:39:09Z")

</div>

i check and reinstall .NET 8.0, .NET DESKTOP RUNTIME，UiPath Python Package version，but it not work 🥲

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [September 18, 2025, 7:05am UTC](https://forum.uipath.com/t/uipath-python-host-has-stop-work/5280729/6 "2025-09-18T07:05:41Z")

</div>

@alex.huang

did it get any errors in event viewer logs..can you check that please

do you mean it moves to next or it does not?

cheers

---

<div class="post-metadata">

**Author:** ![alex.huang](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/alex.huang/32/512875_2.png) [@alex.huang](https://forum.uipath.com/u/alex.huang)\
**Post date:** [September 18, 2025, 7:42am UTC](https://forum.uipath.com/t/uipath-python-host-has-stop-work/5280729/7 "2025-09-18T07:42:49Z")

</div>

no,it does not  
nothing err in logs

 ![1](https://global.discourse-cdn.com/uipath/original/4X/c/4/9/c491c4ef199ca212da394a32a499136d37db1cab.png)

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [September 18, 2025, 8:04am UTC](https://forum.uipath.com/t/uipath-python-host-has-stop-work/5280729/8 "2025-09-18T08:04:32Z")

</div>

@alex.huang

so its stuck in the code

so Please open event viewer check logs there

 ![Screenshot 2025-09-18 at 1.33.58 PM](https://global.discourse-cdn.com/uipath/original/4X/7/c/7/7c7da291a4a82ec38230e3e6b4810ac288ec06d4.jpeg)

cheers

cheers

---

<div class="post-metadata">

**Author:** ![alex.huang](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/alex.huang/32/512875_2.png) [@alex.huang](https://forum.uipath.com/u/alex.huang)\
**Post date:** [September 18, 2025, 8:27am UTC](https://forum.uipath.com/t/uipath-python-host-has-stop-work/5280729/9 "2025-09-18T08:27:18Z")

</div>

Hi  
Nothing to update when its stuck；  
when i stop it，throw 2 err

 ![企业微信截图_17581838526655](https://global.discourse-cdn.com/uipath/original/4X/f/a/9/fa9bb0ef1115d5ba070c7f9cca8d554f686012f3.png)  
 ![企业微信截图_17581838986791](https://global.discourse-cdn.com/uipath/original/4X/8/1/c/81c25974e7a129130258036b3c93047938e565aa.png)  
 ![企业微信截图_1758183875967](https://global.discourse-cdn.com/uipath/original/4X/0/d/e/0dea548bad5a32514009e6529a5aa9c1dc24a6c7.png)

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [September 18, 2025, 8:29am UTC](https://forum.uipath.com/t/uipath-python-host-has-stop-work/5280729/10 "2025-09-18T08:29:43Z")

</div>

@alex.huang

As per error your python script is either returning something which is not being returned properly

or your python code is failing..pip broken error comes on in those situations

to know better..try to use a try catch in your python code and log the exception you get there

cheers

---

<div class="post-metadata">

**Author:** ![alex.huang](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/alex.huang/32/512875_2.png) [@alex.huang](https://forum.uipath.com/u/alex.huang)\
**Post date:** [September 18, 2025, 8:46am UTC](https://forum.uipath.com/t/uipath-python-host-has-stop-work/5280729/11 "2025-09-18T08:46:08Z")

</div>

Thank you for your help  
I try it 🥲 hope it work

---

<div class="post-metadata">

**Author:** ![alex.huang](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/alex.huang/32/512875_2.png) [@alex.huang](https://forum.uipath.com/u/alex.huang)\
**Post date:** [September 19, 2025, 1:38am UTC](https://forum.uipath.com/t/uipath-python-host-has-stop-work/5280729/12 "2025-09-19T01:38:42Z")

</div>

It does not work; XD  
I used try catch in all the positions where I might get stuck in my python code,but nothing happened,awlays stuck; 🙃

---

<div class="post-metadata">

**Author:** ![alex.huang](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/alex.huang/32/512875_2.png) [@alex.huang](https://forum.uipath.com/u/alex.huang)\
**Post date:** [September 19, 2025, 1:39am UTC](https://forum.uipath.com/t/uipath-python-host-has-stop-work/5280729/13 "2025-09-19T01:39:27Z")

</div>

the problem does not lie in the code,maybe?

---

<div class="post-metadata">

**Author:** ![alex.huang](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/alex.huang/32/512875_2.png) [@alex.huang](https://forum.uipath.com/u/alex.huang)\
**Post date:** [September 19, 2025, 3:14am UTC](https://forum.uipath.com/t/uipath-python-host-has-stop-work/5280729/14 "2025-09-19T03:14:41Z")

</div>

I change the way the python code run, use cmd to run now 🥲

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [September 19, 2025, 4:30am UTC](https://forum.uipath.com/t/uipath-python-host-has-stop-work/5280729/15 "2025-09-19T04:30:11Z")

</div>

@alex.huang

Is it running when using cmd without directly incoking from UiPath?

If so the current package version of python may be an issue..try to change that version

Also do you have any logs that you maintain in python to understand where exactly it is stuck?

Also may I know if there is any output value that you are sending from python?

If so that might be creating the issue as well..just to check remove the output if any and run

Cheers
