UiPath / Community.Activities

Repository of Windows Workflow Foundation Activities for UiPath Community
https://www.uipath.com/community
234 stars 139 forks source link

Problems automating Uipath run #22

Open gsrebro opened 6 years ago

gsrebro commented 6 years ago

Hi, Iwas using this Activity perfectly but when Uipath updated to last version, the automation I built stopped working. The package version I'm using is 1.0.2.1 and the error is the copied below. Can you help me with this please? Thanks!

Gabriel

"C:\Users\Bot PC\AppData\Local\UiPath\app-18.2.2\UiRobot .exe" /file:"C:\Robot 1 - V1\Robot 1.xaml" Robot 1 System.Xaml.XamlObjectWriterException: Cannot create unknown type '{clr- namespace:GoogleSpreadsheet.Activities;assembly=GoogleSpreadsheet.Activities}Goo gleSheetApplicationScope'. at System.Xaml.XamlObjectWriter.WriteStartObject(XamlType xamlType) at System.Xaml.XamlWriter.WriteNode(XamlReader reader) at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlW riter, Boolean closeWriter) at System.Activities.XamlIntegration.FuncFactory1.Evaluate() at System.Activities.DynamicActivity.OnInternalCacheMetadata(Boolean createEm ptyBindings) at System.Activities.Activity.InternalCacheMetadata(Boolean createEmptyBindin gs, IList1& validationErrors) at System.Activities.ActivityUtilities.ProcessActivity(ChildActivity childAct ivity, ChildActivity& nextActivity, Stack1& activitiesRemaining, ActivityCallSt ack parentChain, IList1& validationErrors, ProcessActivityTreeOptions options, ProcessActivityCallback callback) at System.Activities.ActivityUtilities.ProcessActivityTreeCore(ChildActivity currentActivity, ActivityCallStack parentChain, ProcessActivityTreeOptions optio ns, ProcessActivityCallback callback, IList1& validationErrors) at System.Activities.ActivityUtilities.CacheRootMetadata(Activity activity, L ocationReferenceEnvironment hostEnvironment, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList1& validationErrors) at System.Activities.Hosting.WorkflowInstance.ValidateWorkflow(WorkflowInstan ceExtensionManager extensionManager) at System.Activities.Hosting.WorkflowInstance.RegisterExtensionManager(Workfl owInstanceExtensionManager extensionManager) at System.Activities.WorkflowApplication.EnsureInitialized() at System.Activities.WorkflowApplication.Enqueue(InstanceOperation operation, Boolean push) at System.Activities.WorkflowApplication.SimpleOperationAsyncResult.Run(TimeS pan timeout) at System.Activities.WorkflowApplication.BeginRun(AsyncCallback callback, Obj ect state)

qbrandon commented 6 years ago
  1. it looks like the GoogleSpreadsheet package is not deployed
  2. this may be due to the fact that we do not support executing jobs through the command line

Please publish your package locally and try running it from either Studio or the Robot tray / process list.

gsrebro commented 6 years ago

When I execute it from Studio it works and the package in installed from studio menu. I there a different way to install it in order to test if this works? Thanks!

anevrekar commented 6 years ago

I am facing the same issue using UiPathTeam.GoogleSpreadsheet.Activities package version 1.0.2.1. While this works when running the workflow from Studio, it does not work when the workflow is triggered from the Orchestrator at https://demo.uipath.com/. Studio and Robot version is 2018.2.3 Enterprise edition. Following is the errormessage in a prompt when running from Orchestrator “Cannot create unknown type’{clr-namespace:GoogleSpreadsheet.Activities;assembly=GoogleSpreadsheet.Activities}'GoogleSheetApplicationScope”.

lucaslima001 commented 2 years ago

Same here... Cannot create unknown type '{clr-namespace:UiPath.Excel.Activities.Business;assembly=UiPath.Excel.Activities}SequenceX'.

But focuses in excel. While using at studio, it works fines.. trying use at orchestra and this error appear