Quantcast
Channel: UiPath Community Forum - Topics tagged error
Viewing all articles
Browse latest Browse all 4384

Error when running Python script on Uipath

$
0
0

@edinmahmut wrote:

Hey guys,

I am trying to set a process automation up in Uipath which at one step calls a Python script. Since the Python script saves a file which is the goal, I do not need any output variable inside Uipath.

I call the Python script by creating a Python Scope in which I run the “Run Python Script” module. Though when running this process, I get the error:
Message: There was an error writing to the pipe: Unregonized error 323 (0xe8)
Exception Type System.ServiceModel.CommunicationException

I found multiple of similar problems in this forum but none of which solved the problem for me. I am using Python 3.6 x64 and the directories are correct. I also tried double backslashes in my directory but this didn’t help either.

I have a small test script that simulates the true script very well. I have it beneath in case this should have any interest.
############################################
def testing():
import os
import pandas as pd

os.chdir(r"C:\Users\UUAZSRJ\Desktop")
file = pd.read_excel("test.xlsx")
A = file.sum(axis = 0)

A.to_csv("testing2.csv")

testing()
############################################

I hope any of you got any tips!

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>