can somebody tell me what is the problem why i am unable to commit my project to github?
Thanks
can somebody tell me what is the problem why i am unable to commit my project to github?
Thanks
Can you please expand details and show…its a generic exception above
also check the logs if you have any info there
cheers
Error: Autofac.Core.DependencyResolutionException: An exception was thrown while activating UiPath.Studio.Plugin.Git.Desktop.ViewModels.RemotesManagerViewModel.
—> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor ‘Void .ctor(UiPath.Studio.App.Desktop.MVVM.Commands.ICommandFactory, UiPath.Studio.Plugin.Git.Desktop.Services.Interfaces.IChangeCredentialsUiService, UiPath.Studio.Plugin.Git.Services.Interfaces.ILocalRepositoriesService)’ on type ‘RemotesManagerViewModel’.
—> System.IO.FileNotFoundException: Could not find file ‘C:\Users\Umair\OneDrive\Documents\UiPath.repositories’.
File name: ‘C:\Users\Umair\OneDrive\Documents\UiPath.repositories’
at System.IO.FileSystem.CreateDirectory(String fullPath, Byte securityDescriptor)
at System.IO.Directory.CreateDirectory(String path)
at System.IO.Abstractions.DirectoryWrapper.CreateDirectory(String path)
at UiPath.Studio.Plugin.Git.Services.LocalRepositoriesService.GetDefaultLocalRepositoriesPath()
at UiPath.Studio.Plugin.Git.Services.LocalRepositoriesService.GetLocalRepositoriesPath()
at UiPath.Studio.Plugin.Git.Services.LocalRepositoriesService.ReadGitConfigOptions()
at UiPath.Studio.Plugin.Git.Services.LocalRepositoriesService.GetConfiguredRepositories(SourceUrlType urlType)
at UiPath.Studio.Plugin.Git.Desktop.ViewModels.RemotesManagerViewModel…ctor(ICommandFactory commandFactory, IChangeCredentialsUiService changeCredentialsUiService, ILocalRepositoriesService localRepositoriesService)
at lambda_method785(Closure , Object )
at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate()
— End of inner exception stack trace —
at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate()
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) at Autofac.Core.Activators.Reflection.ReflectionActivator.<ConfigurePipeline>b__11_0(ResolveRequestContext ctxt, Action
1 next)
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action1 next) --- End of inner exception stack trace --- at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action
1 next)
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action
1 next)
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
at lambda_method2323(Closure )
at UiPath.Studio.Plugin.Git.Desktop.Services.ManageRemotesService.ManageRemoteAsync(IGitSession session)
at UiPath.Studio.Plugin.Git.Desktop.Services.EnsureTrackingReferenceWizard.EnsureTrackingReference(IGitSession session)
at UiPath.Studio.Plugin.Git.Desktop.Services.PushUiService.PushAsync(IGitSession session)
at UiPath.Studio.Plugin.Git.Desktop.Services.PushUiService.PushCommandExecuteAsync()
at UiPath.Studio.App.Desktop.MVVM.Commands.TaskCommand`3.Execute(TExecuteParameter parameter, Boolean ignoreCanExecuteCheck)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2146233088
these are the details
is you project on shared folder or one drive folder?
is the git repo also synced onto same?
can you try creating local git repo on a local folder and then copy the project into it and then publish
cheers
it is almost happening with all the projects
From error we can see that thsi repo file is not being access C:\Users\Umair\OneDrive\Documents\UiPath.repositories
Try checking if this file is present or locked
Cheers