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 Gujarathi : Please follow the below KB and see if that resolves your issue
if you are still facing an issue then please create a support case
How to create a support case :
if you don't have access to the above link, email the AA Support team "firstname.lastname@example.org" to get access.
Are you still facing an issue while running python script?