Path too long error

I dont know why i’m getting this error even if i’m not using this files.
Before posting this question i tried all solution given in earlier posts.

  1. Tried to move these files on shorter path location then again this error comes with other file
  2. Remove the 260 Character Path Limit by Editing the Registry

still same error getting. @Anil_G @Sudharsan_Ka

23.4.0-beta.12490+Branch.release-v23.4.0.Sha.c86da2d54b9221b8683ae2ce7cdd35412f807fd3

path too long: ‘C:/Users/Uipathuser/AppData/Local/Microsoft/Office/16.0/Wef/{98BF1DE5-2510-4919-B139-72A78765DE7E}/AkdbHrg8zpN9Dbs4k6biHA==/c0c1e791-0a94-45a3-9d57-8681ad6940d7_ADAL/RQBYAEMAYQB0AGEAbABvAGcAVwBpAG4AMwAyAF8ARQB4AGMAZQBsAF8ARQB4AEUAbgB0AGkAdABsAGUAbQBlAG4AdABEAGUAdABhAGkAbABzAA==’

Error: LibGit2Sharp.LibGit2SharpException: path too long: ‘C:/Users/Uipathuser/AppData/Local/Microsoft/Office/16.0/Wef/{98BF1DE5-2510-4919-B139-72A78765DE7E}/AkdbHrg8zpN9Dbs4k6biHA==/c0c1e791-0a94-45a3-9d57-8681ad6940d7_ADAL/RQBYAEMAYQB0AGEAbABvAGcAVwBpAG4AMwAyAF8ARQB4AGMAZQBsAF8ARQB4AEUAbgB0AGkAdABsAGUAbQBlAG4AdABEAGUAdABhAGkAbABzAA==’
at LibGit2Sharp.Core.Ensure.HandleError(Int32 result)
at LibGit2Sharp.Core.Proxy.git_status_list_new(RepositoryHandle repo, GitStatusOptions options)
at LibGit2Sharp.RepositoryStatus…ctor(Repository repo, StatusOptions options)
at LibGit2Sharp.Repository.RetrieveStatus(StatusOptions options)
at UiPath.Studio.Plugin.Git.Services.RepositoryStatusService.RetrieveStatus(String repositoryPath, StatusOptions options, Action2 sandboxedAction) at UiPath.Studio.Plugin.Git.Services.ItemStatusService.GetItemStatusCore(String workingDirectory, String path, IGetStatusOptions options) at UiPath.Studio.Plugin.Git.Services.GitSession.ExecuteInternal[TResult](Func2 action, Func1 repoFactory) at System.Threading.Tasks.Task1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
— End of stack trace from previous location —
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
— End of stack trace from previous location —
at UiPath.Studio.Plugin.Git.Services.GitSession.SafeExecuteAsync[TResult](Func1 action) at UiPath.Studio.Plugin.Git.Services.GitSession.ExecuteAsync[TResult](Func1 action)
at UiPath.Studio.Plugin.Git.Services.ItemStatusService.GetItemStatusAsync(IGitSession session, String path, IGetStatusOptions options)
at UiPath.Studio.Plugin.Git.GitSourceControl.GetItemStatusAsync(String path, Boolean refreshCache)
at UiPath.Studio.SourceControl.Shared.Services.UI.BaseSourceControlUi1.RefreshBadgesAsync() at UiPath.Studio.Shell.SourceControl.SourceControlService.RefreshBadgesCore(IReadOnlyCollection1 paths, OperationType operationType)
at UiPath.Studio.Shell.SourceControl.SourceControlService.<>c__DisplayClass33_0.<<DocumentService_DocumentModified>b__0>d.MoveNext()
— End of stack trace from previous location —
at UiPath.Studio.Shared.MVVM.Services.DispatcherService.<>c__DisplayClass19_0.<b__0>d.MoveNext()
— End of stack trace from previous location —
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

Hi @pravin_bindage

Try this

hope this might help you :slightly_smiling_face:

Hi @pravin_bindage

Check this out

Hi, I am still getting the error “LibGit2Sharp.LibGit2SharpException: path too long:” . I have made some changes related to the local filesystem


and I have also attempted this change as well-
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem->LongPathsEnabled, value data=1
but not able to resolve this issue. Kindly help me with this.
Regards,
Prashant