Question

I am trying to run a python script. It runs on my computer, the bot runner, but nothing happens when I try to run it in Automation Anywhere. It produces no errors but does not function as if I ran it on my machine. Why is this happening?

  • 11 July 2022
  • 4 replies
  • 297 views

I am trying to run a python script. It runs on my computer, the bot runner, but nothing happens when I try to run it in Automation Anywhere. It produces no errors but does not function as if I ran it on my machine. Why is this happening?

4 replies

Userlevel 6
Badge +9

Hi @James Humphrey​ ,

 

Refer to below article.

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

Hope this helps!

Badge +5

Hey. I have tried the workarounds to your link. It is still not working. I am trying to merge two PDFs. If I run it from command prompt, it produces the merged PDF. But if I run the script in automation anywhere as manual input, it does not produce any output. Please help.

Userlevel 1
Badge +4

Hi James,

If you are still facing an issue running the python script, please let me know can help you out.

Userlevel 5
Badge +10

@James 9493 

Use  the python open→ Execute Script option instead of execute function method

Reply