Skip to main content
Solved

Failed in Python execution


Forum|alt.badge.img+1

I am trying call python script from A360 community edition. I am using Python package to call python exteral script.

When I am execution bot it is thowing error "Failed in Python executopm"

 

I tried same script on command prompt and it is giving me expected output.

 

I cheked "Bot_Launcher.log" file and found exception is generating.

 

Caused by: java.io.IOException: The pipe is being closed

at java.io.FileOutputStream.writeBytes(Native Method) ~[?:?]

at java.io.FileOutputStream.write(Unknown Source) ~[?:?]

at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[?:?]

at java.io.BufferedOutputStream.flush(Unknown Source) ~[?:?]

at sun.nio.cs.StreamEncoder.implFlush(Unknown Source) ~[?:?]

at sun.nio.cs.StreamEncoder.flush(Unknown Source) ~[?:?]

at java.io.OutputStreamWriter.flush(Unknown Source) ~[?:?]

at java.io.BufferedWriter.flush(Unknown Source) ~[?:?]

at com.automationanywhere.synchronous.messenger.StandardInputOutputMessenger.send(StandardInputOutputMessenger.java:72) ~[bot-launcher.jar:?]

at com.automationanywhere.externalfunction.ExternalFunctionImpl.callFunction(ExternalFunctionImpl.java:63) ~[bot-launcher.jar:?]

at com.automationanywhere.externalfunction.ExternalEnvironmentImpl.callFunction(ExternalEnvironmentImpl.java:95) ~[bot-launcher.jar:?]

at com.automationanywhere.python.commands.ExecuteFunction.execute(ExecuteFunction.java:86) ~[bot-command-python-2.12.0-20220509-062148.jar:?]

... 11 more

 

If any one has solution please do needful.

 

Thanks in Advance.

Parimal

Best answer by Automation Anywhere Team

@Parimal Gujarathi​ : Please follow the below KB and see if that resolves your issue

 

https://apeople.automationanywhere.com/s/article/Python-script-fails-to-save-file

 

if you are still facing an issue then please create a support case

 

How to create a support case :

https://apeople.automationanywhere.com/s/article/How-to-create-a-support-case-in-service-cloud

 

if you don't have access to the above link, email the AA Support team "apeopleopsteam@automationanywhere.com" to get access.

View original
Did this topic help answer your question?

3 replies

Forum|alt.badge.img+12

@Parimal Gujarathi​ : Please follow the below KB and see if that resolves your issue

 

https://apeople.automationanywhere.com/s/article/Python-script-fails-to-save-file

 

if you are still facing an issue then please create a support case

 

How to create a support case :

https://apeople.automationanywhere.com/s/article/How-to-create-a-support-case-in-service-cloud

 

if you don't have access to the above link, email the AA Support team "apeopleopsteam@automationanywhere.com" to get access.


Forum|alt.badge.img+7
  • Automation Anywhere Team
  • 44 replies
  • February 13, 2023

Hi Parimal,

Are you still facing an issue while running python script?

 


Forum|alt.badge.img+1
Parimal 2224 wrote:

 

Hi, 

I am facing same error “Failed in python execution.” Did you able to find any solution?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings