Missing activities - UiPath Studio 2018.4.1

studio
error

#1

I have downloaded the community version 18.4.1
I m missing a lot of activities for example messgebox.
Looking at the dependency
Looking at Project dependencies, the following packages are shown with “Package Installation Failure”

UiPath.UIAutomation.Actvities
UiPath.System.Actvities
UiPath.Excel.Actvities
UiPath.Mail.ActvitiesUipath V18.4 - package installtion failure.pdf (399.5 KB)
UiPath-2.pdf (133.4 KB)


#2

Hi @dura3k

Please rename the folder:
%userprofile%\.nuget\packages
to
%userprofile%\.nuget\packagesBackup

and restart Studio to allow it to re-download all packages.


#3

Hello,
I renamed the packages folder and restarted Studio. still the same issue
when trying to update UiPath.UIAutomation.Activities to 18.4.2, I get the blow message

18.4.1+Branch.master.Sha.bc66386dd8e2160b6d35f31d5ce934a5aa4cf4bd

Object reference not set to an instance of an object.

Error: System.NullReferenceException: Object reference not set to an instance of an object.
at UiPath.Studio.Shell.Packaging.PackageOperationUpdate.<>c__DisplayClass7_0.b__0(ProjectPackage req)
at UiPath.Studio.Shared.MVVM.CollectionExtensions.ForEach[TItem](IEnumerable1 collection, Action1 action)
at UiPath.Studio.Shell.Packaging.PackageOperationUpdate.GetResult(IEnumerable1 requestedPackages, IEnumerable1 installedPackages)
at UiPath.Studio.Shell.Packaging.PackageOperationWithReload.<>c__DisplayClass5_0.<b__0>d.MoveNext()
— 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.Studio.Shared.MVVM.Services.DispatcherService.<>c__DisplayClass13_0.<b__0>d.MoveNext()
— 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.Studio.Shared.MVVM.Services.DispatcherService.d__13.MoveNext()
— 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.Studio.Shell.Packaging.PackageOperationWithReload.d__5.MoveNext()
— 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 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at UiPath.Studio.Shell.Packaging.PackageOperationUpdate.d__3.MoveNext()
— 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.Studio.Shell.Packaging.PackageService.<>c__DisplayClass30_0.<b__0>d.MoveNext()
— 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.Studio.Shared.Utilities.WindowCommandsExtensions.d__3`1.MoveNext()
— 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.PackageExplorer.UI.ViewModels.PackageExplorerViewModel.d__134.MoveNext(), HResult -2147467261


#4

Could you maybe look into the Windows Event Viewer to try and find the issue?

Please also check your security software logs. Is it possible that the files are blocked by something during the installation?

Another idea is to close Studio and clear the cache folder:
%userprofile%\AppData\Local\UiPath\.cache\


#5

Hello,
I just looked at the logfile, I noticed there 2 errors

11:56:19.1782 => [INFO] [UiPath.Studio.exe] [1] The settings file ‘C:\Users\xxx\AppData\Local\UiPath\UiStudio.v2.settings’ could not be found.

12:01:29.0768 => [ERROR] [UiPath.Studio.exe] [30] System.UnauthorizedAccessException: Access to the path ‘C:\Users\xxx.nuget\packages\caliburn.micro\3.0.1’ is denied.


#6

Hi @dura3k

At the risk of sounding obvious, you will need to figure out what is blocking the access to the files.
This can be user user’s policy or potentially some antivirus/security software.