Hi All,
can someone help me on below issue.
i have created one .py file.
py file:
def login(driverplusURLplususernamepluspassword)
{
‘’‘’}
def find user(
so now i want to call my above .py file into uipath:
I have taken one assign activity name as Input=d:/documents/driver/chromedriver.exe+““+google.com+””+user101+“*”+hello
o/p: i am getting like d:/documents/driver/chromedriver.exegoogle.comuser101*hello
2)taken python scope
Properies: gave python installed folder (note:my python version is 3.9 (64 bit))
Target:x64,version 3.9
inside python scope(taken Load python script activity :Gave the path of .py file(d:\documents\python.py) and output:Result_Out(python object).
Now i wanted to write this python object(Result_Out) in message box but not getting the object output. Suggest me here.
3)taken Invoke python activity:
Input parameters:{Input}—is it correct way of synatx
Instance:Result_Out
Name: “login”
Output:Invoke obj(variable type:python object)
4)Taken Get python Object activity:
python object:Invoke obj
tyeof argument:string
Result:expected output
msage box:expected output
but the way i have written above is not working throwing 2 errors
1.Pipe is broken
2. detail:
RemoteException wrapping System.AggregateException: One or more errors occurred. —> RemoteException wrapping System.InvalidOperationException: Error invoking Python method —> RemoteException wrapping System.InvalidOperationException: Python instantiation exceptionPython Invoker program exception:ImportError : !!!No module named cryptography!!!
at UiPath.Shared.Service.PythonResponse.ThrowExceptionIfNeeded() at UiPath.Python.Service.PythonProxy.InvokeMethod(Guid instance, String method, IEnumerable 1 args) at UiPath.Python.Impl.OutOfProcessEngine.<>c__DisplayClass14_0.<InvokeMethod>b__0() at System.Threading.Tasks.Task
1.InnerInvoke() at System.Threading.Tasks.Task.Execute()— End of stack trace from previous location where exception was thrown — at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.Python.Activities.InvokeMethod.d__16.MoveNext()