I’m able to use computer vision in Studio and run the process. But when I try to publish the project to orchestrator and let one of my robots conduct the job, they will fail instantly. I realized the package was missing, so I added the .nupkg manually to the Orchestrator library. This did not resolve the issue.
After that, I tried to add the nuget beta feed to the nuget.config on each robot but it did not resolve the issue either.
What could I do to get this to work beside in Studio?
Could you try clearing the nuget cache on the robots? The problem is most likely related to getting the package on the robots. @ovi is there a link to how to do that?
@celfa, is there a specific error message the robots generate?
I tried to update to the new alpha version and got the following error message form Orchestrator:
* Cannot create unknown type '{http://schemas.uipath.com/workflow/activities}OpenApplication'.
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Xaml.XamlObjectWriterException: Cannot create unknown type '{http://schemas.uipath.com/workflow/activities}OpenApplication'.
at System.Xaml.XamlObjectWriter.WriteStartObject(XamlType xamlType)
at System.Xaml.XamlWriter.WriteNode(XamlReader reader)
at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)
at System.Activities.XamlIntegration.FuncFactory`1.Evaluate()
at System.Activities.DynamicActivity.OnInternalCacheMetadata(Boolean createEmptyBindings)
at System.Activities.Activity.InternalCacheMetadata(Boolean createEmptyBindings, IList`1& validationErrors)
at System.Activities.ActivityUtilities.ProcessActivity(ChildActivity childActivity, ChildActivity& nextActivity, Stack`1& activitiesRemaining, ActivityCallStack parentChain, IList`1& validationErrors, ProcessActivityTreeOptions options, ProcessActivityCallback callback)
at System.Activities.ActivityUtilities.ProcessActivityTreeCore(ChildActivity currentActivity, ActivityCallStack parentChain, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList`1& validationErrors)
at System.Activities.ActivityUtilities.CacheRootMetadata(Activity activity, LocationReferenceEnvironment hostEnvironment, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList`1& validationErrors)
at System.Activities.Hosting.WorkflowInstance.ValidateWorkflow(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.Hosting.WorkflowInstance.RegisterExtensionManager(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.WorkflowApplication.EnsureInitialized()
at System.Activities.WorkflowApplication.Enqueue(InstanceOperation operation, Boolean push)
at System.Activities.WorkflowApplication.SimpleOperationAsyncResult.Run(TimeSpan timeout)
at System.Activities.WorkflowApplication.BeginRun(AsyncCallback callback, Object state)
at UiPath.Executor.RobotRunner.RunWorkflow() in D:\a\1\s\Robot\UiPath.Executor\RobotRunner.cs:line 301
No, alpha versions should be avoided, unless specifically instructed.
You should try clearing the cache on affected machines/robots and install latest beta:
Delete .nuget folder from your local profile.
It is located under C:\Users{UserName}.nuget\packages\
you should delete/clean these folders: uipath.computervision.activities uipath.uiautomation.activities uipath.vision