Hello everyone,
I come here to comment an issue I have experienced with UiPath Studio (2023.4.1 Community Edition) and its integration with SVN.
The issue in question is when I want to Check In (Commit) after editing the Main.xaml file.
After saving the Main.xaml file in the local repository, closing it, clicking on ‘Check In…’ and writing a Commit Message, UiPath Studio throws the following error:
I checked with TortoiseSVN and there is a lock with UiPath Studio, but I don’t have that file open with UiPath Studio.
I remark that I never got to perform any ‘Check In’. I have followed the following steps:
- Create a local process on my computer with UiPath Studio.
- Add the project to the SVN repository with ‘Team/Add to SVN’.
- Close the project and UiPath Studio.
- Open UiPath Studio and the project in SVN.
- Open the Main.xaml file, clicking on ‘Check out latest and edit’.
- Generate changes in the process.
- Click on Save and Close.
- Click on ‘Finish Editing’. After this. I automatically get the Check in Changes popup.
- I write a ‘Commit Message’ and click on ‘Check In’.
- I get the message shown in the first image of the post.
Did I do something wrong?
Has anyone experienced this?
Thanks and best regards,
M.R.L
P.S. The full error message is the following:
23.4.1+Branch.master.Sha.43c76fe6d960fdc239be3af93d0fd47b8ca81224
File ‘C:\Users\XXXXX\XXXXX\Documents\UiPath\XXXXX\Main.xaml’ is locked in another working copy
Error: SharpSvn.SvnClientException: File ‘C:\Users\XXXXX\XXXXX\Documents\UiPath\XXXXX\Main.xaml’ is locked in another working copy
—> SharpSvn.SvnFileSystemLockException: Lock token is in request, but no user name
— End of inner exception stack trace —
at UiPath.Studio.Plugin.Svn.SvnSourceControl.<>c__DisplayClass53_0.b__1(ISvnClient client)
at UiPath.Studio.Plugin.Svn.Session.SvnSession.<>c__DisplayClass14_0.g__InternalAction|1()
at UiPath.Studio.Plugin.Svn.Session.SvnSession.<>c__DisplayClass14_0.b__2(ISvnClient _)
at UiPath.Studio.Plugin.Svn.Session.SvnSession.ThreadSafeExecute[TResult](Func2 action) at UiPath.Studio.Plugin.Svn.Session.SvnSession.<>c__DisplayClass15_0
1.b__0(CancellationToken _)
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.ExecutionContext.RunInternal(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.Svn.Session.SvnSession.ExecuteAsync[TResult](Func
2 action, Boolean runSynchronously)
at UiPath.Studio.Plugin.Svn.Session.SvnSession.ExecuteAndMonitorAffectedItemsAsync(Func2 action, Boolean runSynchronously) at UiPath.Studio.Plugin.Svn.SvnSourceControl.CheckInAsync(IEnumerable
1 changedItems, String commitMessage)
at UiPath.Studio.SourceControl.Shared.Desktop.Services.BaseCheckInUiService2.ExecuteCheckIn(ICheckInArgs commitArgs, IChange[] sanitizedChanges) at UiPath.Studio.SourceControl.Shared.Desktop.Services.BaseCheckInUiService
2.CheckInSelectedChanges(IChange allChanges, ICheckInArgs checkInArgs)
at UiPath.Studio.SourceControl.Shared.Desktop.Services.BaseCheckInUiService2.CheckInAsync(ICheckInCommandArgs args) at UiPath.Studio.SourceControl.Shared.Desktop.Services.CentralRepositoryCheckInUiService
1.CheckInAsync(ICheckInCommandArgs args)
at UiPath.Studio.SourceControl.Shared.Desktop.Services.BaseCheckInUiService2.<get_CheckInCommand>b__15_0(ICheckInCommandArgs param) 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