Versions:
UiPath Community Edition Enterprise License 2023.4.0
UiPath.Python.Activities 1.8.1
So I have tried to set The python scope to point to the following Python Versions:
3.9.13
3.8.0
3.7.6
Each one gives the same pipeline error
I have even pointed the library property to the dll file each time and put the .py file in the working folder (Where the UiPath project is that I am using) and pointed the working folder property to that folder too
And yes I have added them to the system environment variables path each time I tried a different version
cmd --version shows 3.8.7
the invoke method is just giving a string path variable to the function via a parameter and should just return the masterkey.key file cryptography key. Running the python script works and all functions as normal
These are the activity properties for the python scope:
pPythonDllPath
pPythonEnvironmentPath
pWorkingFolder
These are the variables data:
Full error code:
20:07:30.0922 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [85] Invoke Python Method: One or more errors occurred.
20:07:58.6852 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [105] Invoke Python Method: Pipe is broken.
20:07:58.7151 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [105] System.IO.IOException: Pipe is broken. at System.IO.Pipes.PipeStream.CheckWriteOperations()
at System.IO.Pipes.PipeStream.Flush()
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.IO.StreamWriter.set_AutoFlush(Boolean value)
at UiPath.Python.Service.PythonProxy.RequestAsync(PythonRequest request, CancellationToken ct)
at UiPath.Python.Service.PythonProxy.Shutdown()
at UiPath.Python.Impl.OutOfProcessEngine.Release()
at UiPath.Python.Activities.PythonScope.Cleanup()
at UiPath.Python.Activities.PythonScope.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
Any assistance is greatly appreciated!
Thank you