Python activities code

hello everyone,
i’ve a problem with the load python script, because probably, having to call it many times during the process, sometimes it goes in timeout (i think for cache problems, having to call the script every time).

Is there any possibility to see the activity code?

1 Like

Hey @andreus91

Not possible. If you can explain the exact error we can try to troubleshoot.

Thanks
#nK

1 Like

Hello @andreus91 ,

There is no provision to see the Activity codes. What i understood is you are calling the python script multiple times and sometimes you are getting the timeout. Correct if the understanding is wrong.

Maybe you can try both “Load Python script and Run Python script” Activities.

1 Like

correct, it looks like something related to the cache, for this reason I needed to see how the uipath load script is managed by uipath.

Is not a problem related to python code as it works and has been tested many times even outside of uipath.

Other ideas?

The error message that comes out is the following: parameter value null: stream

By killing the process uipath.python.host (bridge) from task manager the solution restarts without problems

If it’s working after killing the particular process, the can you kill it as prerequisite using kill process activity and trigger the python.

1 Like

Consider that it’s the process that handles communication between uipath and python (uipath.python.host), so it’s probably not the best solution.

But after calling the python methods this process should auto close ryt?? Because for each python call it should create a new process