Since most recent update .local/HotReload access is failing

Hello friends!

I received an update to my Studio Community Edition this week, and ever since the update, I have been having the same problem.

I can load a project and run it once, but each subsequent time I try to run the process, I get this error:

Access to the project’s subfolder .local\HotReload is denied.

Once I run in to this error, Studio is frozen and I can’t do anything until I terminate the Studio process in Task Manager.

The folder in question is present and empty, so I am able to work around the issue by deleting the folder, which is then recreated the next time I try to run the process.

I find it odd that the path begins with \\?\C:\Users\ and I wonder if that might be the root cause of this problem.

Here are the logs:

23.12.0-beta.15287+Branch.release-v23.12.0.Sha.6f78cf34182e239b45fdde518f0d7807b8290d82

Access to the path ‘\\?\C:\Users\REDACTED BY OP\.local\HotReload’ is denied.

Error: System.IO.IOException: Access to the path ‘\\?\C:\Users\REDACTED BY OP\.local\HotReload’ is denied.
at System.IO.FileSystem.RemoveDirectoryInternal(String fullPath, Boolean topLevel, Boolean allowDirectoryNotEmpty)
at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel)
at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
at System.IO.Abstractions.DirectoryWrapper.Delete(String path, Boolean recursive)
at UiPath.Studio.Plugin.Workflow.Debugger.HotReload.Services.RuntimeFilesChangesRepository.Initialize(IProject project)
at UiPath.Studio.Plugin.Workflow.Execution.Services.WorkflowExecutor.UpdateExecutionStateAsync(ExecutionState state)
at UiPath.Studio.Plugin.Workflow.Execution.Services.WorkflowExecutor.StartExecutionAsync(ExecutionConfig config)
at UiPath.Studio.Plugin.Workflow.Execution.Services.WorkflowExecutor.StartExecution(ExecutionConfig config)
at UiPath.Studio.Shell.Execution.Services.ExecutionManagerBaseService.TryStartExecution(ExecutionConfig executionConfig, Boolean validate)
at UiPath.Studio.Shell.Execution.Services.ExecutionManagerService.<>c__DisplayClass26_0.<g__StartExecutionAsync|1>d.MoveNext()
— End of stack trace from previous location —
at UiPath.Studio.Shell.Execution.Services.ExecutionManagerService.ProcessExecutionCommand(ExecutionCommand command, Object item, ExecutionParameters executionParameters)
at UiPath.Studio.Shell.Execution.ViewModels.DebugViewModel.ExecuteDebugAsync(IPersistableItem item, ExecutionParameters executionParameters)
at UiPath.Studio.Shell.ViewModels.DebugTabViewModel.ExecuteDebugFile()
at UiPath.Studio.App.Desktop.MVVM.Commands.TaskCommand3.Execute(TExecuteParameter parameter, Boolean ignoreCanExecuteCheck) at UiPath.Studio.Contracts.IAsyncCommandExtensions.ExecuteAsync(IAsyncCommand1 command)
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 -2146232800

Thanks for reporting this. Will look into how to replicate this and come up with a fix.

Can you please share a few details?

  • are you using Source Control?
  • if yes, what configuration?
  • is your project located in a shared drive or on a folder controlled by apps like GDrive or O365?
1 Like

I am having exactly the same issue since yesterday.

  • are you using Source Control? No
  • if yes, what configuration?
  • is your project located in a shared drive or on a folder controlled by apps like GDrive or O365? It is located on a shared drive.

My logs:

Error: System.IO.IOException: Access to the path ‘\?\Y:\redacted_by_me\.local\HotReload’ is denied.
at System.IO.FileSystem.RemoveDirectoryInternal(String fullPath, Boolean topLevel, Boolean allowDirectoryNotEmpty)
at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel)
at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
at System.IO.Directory.Delete(String path, Boolean recursive)
at System.IO.Abstractions.DirectoryWrapper.Delete(String path, Boolean recursive)
at UiPath.Studio.Plugin.Workflow.Debugger.HotReload.Services.RuntimeFilesChangesRepository.Initialize(IProject project)
at UiPath.Studio.Plugin.Workflow.Execution.Services.WorkflowExecutor.UpdateExecutionStateAsync(ExecutionState state)
at UiPath.Studio.Plugin.Workflow.Execution.Services.WorkflowExecutor.StartExecutionAsync(ExecutionConfig config)
at UiPath.Studio.Plugin.Workflow.Execution.Services.WorkflowExecutor.StartExecution(ExecutionConfig config)
at UiPath.Studio.Shell.Execution.Services.ExecutionManagerBaseService.TryStartExecution(ExecutionConfig executionConfig, Boolean validate)
at UiPath.Studio.Shell.Execution.Services.ExecutionManagerService.<>c__DisplayClass26_0.<g__StartExecutionAsync|1>d.MoveNext()
— End of stack trace from previous location —
at UiPath.Studio.Shell.Execution.Services.ExecutionManagerService.ProcessExecutionCommand(ExecutionCommand command, Object item, ExecutionParameters executionParameters)
at UiPath.Studio.Shell.Execution.ViewModels.DebugViewModel.ExecuteDebugAsync(IPersistableItem item, ExecutionParameters executionParameters)
at UiPath.Studio.Shell.ViewModels.DebugTabViewModel.ExecuteDebugFile()
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 -2146232800

same issue since Friday /Dec 22

My file is in a located in a shared drive or on a folder controlled by apps like GDrive, but the same issue happens if I download a copy.

I’m not even sure it was updated yet. Now it is though. Didn’t help

I am also getting the issue after update.

I’m having the same problem. File is on Google Drive. I’m also having a problem that UiPath simply doesn’t debug the file: I’m clicking on debug but it just doesn’t do anything…

  • are you using Source Control?
    No
  • if yes, what configuration?
    N/a
  • is your project located in a shared drive or on a folder controlled by apps like GDrive or O365?
    Yes, it’s on a GDrive folder that is mirrored to my hard drive.

I can confirm that moving the project out of a GDrive folder prevents the issue.

I moved the project to a different folder on my hard drive and the problem went away. When I moved it back to GDrive, the problem came back.

Until there’s a permanent solution there are 2 workarounds:

  1. Delete .local/HotReload before each debug session.
  2. Move the project to your local hard drive before working with it. Make your changes, and then copy it back to GDrive.
1 Like

I had the issue with a file off google drive

Hi Daniel, the way you worded that it could be that the file originated on Google Drive or it didn’t.

Will you please be more specific? English is such an imprecise language!

I was able to replicate the problem with OneDrive too.

It did, but even making a copy in downloads caused the same issue.

I downloaded the file in a folder in the project folder that normally works but it gives the same error: running the project on an older version(on another PC W10) works fine…

OK, community studio version 23.4.2 works fine… error is gone.

It’s the latest community studio version problem for sure…
Tip install older version :wink:

OK, community studio version 23.4.2 works fine… error is gone.

It’s the latest community studio version problem for sure…
Tip install older version

I don’t have enterprises, so I’m stuck with the older one.

After the error was gone with the older version it appeared next morning… I’ll give up…

I have the same problem. Did you manage to solve it in any way?